Commit Graph

8409 Commits

Author SHA1 Message Date
Viktor Szakats
367c44a3df 2008-06-20 15:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
     ! Removed PutChar override. This was added along the 
       palette support, but I'm afraid we'll need to find 
       an alternative solution, as this change caused an 
       huge amount flickering on every screen update, 
       essentially nilling all screen change buffering 
       efforts.
     ; TOFIX: Solve realtime palette change in an 
              alternative way.
2008-06-20 13:09:19 +00:00
Viktor Szakats
b2b7c6570a 2008-06-20 14:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
     + Marked changes merged with RC1.

   * include/hbgtinfo.ch
     ! Comment typo.
       [TOMERGE RC1]

   * contrib/hbtpathy/tplinux.c
   * contrib/hbtpathy/telepath.prg
     ! Moved some commented "inline" stuff to C level.
       [TOMERGE RC1]
2008-06-20 12:53:51 +00:00
Viktor Szakats
778048f358 2008-06-20 14:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/hscript/bld_b32.bat
     ! Fixed to have hbzlib.lib
       [RC1]

   * contrib/hbtip/common.mak
     ! Added missing sendmail.prg
       [RC1]

   * contrib/hbtip/tests/base64.prg
   * contrib/hbtip/tests/dbtohtml.prg
   * contrib/hbtip/tests/httpadv.prg
   * contrib/hbtip/tests/tipmail.prg
   * contrib/hbtip/tests/tipmmail.prg
   * contrib/hbtip/tests/tiptest.prg
     ! All tip tests fixed and tested to compile/link
       with Harbour.
     * Changed to not require hbw32.lib.
       [RC1]

   + contrib/hbtip/tests/test.dbf
     + Added for tests.
       [RC1]

   * source/rtl/gtclip.c
     ! hb_gt_w32_setClipboard() fix to CF_UNICODETEXT 
       EOS char setting.
       [RC1]

   * source/rtl/gtwvt/gtwvt.c
     + Now showing the application's executable name 
       in the window title on startup, instead of "Harbour WVT".
     * Window class name handling and control flow cleaned.
       [RC1]

   * tests/rto_get.prg
   * source/rtl/tget.prg
     ! Fixed TGet():assign() to pad character values 
       to the original length with the original content. 
       This also clears some existing differences in rto_get.prg.
     + Added regression test specifically for this.
       [RC1]

   * source/rtl/gtclip.c
     ! Added three LPWSTR casts to pacify warnings.

   * source/rtl/gtclip.c
     ! Fixed get/set clipboard when UNICODE is #defined.
       (WinCE mostly).
     ! Fixed get/set clipboard when format is CF_UNICODETEXT.
       (untested, please someone review me)
     ! Fixed get clipboard when CF_TEXT/CF_OEMTEXT format 
       is used, so that an additionaly zero byte won't be 
       appended anymore to the returned string.
       [RC1]

   * source/rtl/gtwvt/gtwvt.c
     * "HARBOUR_WVT" -> "Harbour WVT". This text is visible, 
       so it's better to make it "desktop friendlier"".
       [RC1]

   * contrib/hbmzip/hbmzip.ch
   * contrib/hbmzip/hbmzip.c
     + Added error codes to hbmzip.ch
     + Interface code changed to use manifest constants 
       instead of literals in a few places.
       [RC1]
2008-06-20 12:51:31 +00:00
Viktor Szakats
17e5e2df1c 2008-06-20 09:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmisc/spd.c
     ! Fix for OS/2 warning.

   * contrib/examples/pe/editorhi.prg
   * contrib/examples/hscript/hscript.prg
     * Cleanups.

   * contrib/examples/hscript/bld_b32.bat
     ! Fixed to have hbzlib.lib
       [TOMERGE RC1]
2008-06-20 08:03:49 +00:00
Viktor Szakats
1de1cfa507 2008-06-19 18:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/guestbk/guestbk.prg
   * contrib/examples/guestbk/inifiles.prg
   * contrib/examples/guestbk/testcgi.prg
   * contrib/examples/hscript/hscript.prg
   * contrib/examples/pe/editorhi.prg
   * contrib/gtwvg/tests/demowvg.prg
   * contrib/hbbtree/tests/test.prg
   * contrib/hbbtree/tests/ttest.prg
   * contrib/hbclipsm/tests/testgaug.prg
   * contrib/hbct/getinfo.prg
   * contrib/hbct/getinput.prg
   * contrib/hbct/getsecrt.prg
   * contrib/hbct/keytime.prg
   * contrib/hbct/numconv.prg
   * contrib/hbfbird/tfirebird.prg
   * contrib/hbgd/gd.prg
   * contrib/hbgd/gdbar.prg
   * contrib/hbgd/gdbarcod.prg
   * contrib/hbgd/gdimage.prg
   * contrib/hbgd/tests/animgif.prg
   * contrib/hbgd/tests/gdtest.prg
   * contrib/hbgd/tests/test_out.prg
   * contrib/hbgf/gtk/button.prg
   * contrib/hbgf/gtk/form.prg
   * contrib/hbgf/gtk/menuitem.prg
   * contrib/hbgf/gtk/winctrl.prg
   * contrib/hbgf/os2pm/button.prg
   * contrib/hbgf/os2pm/edit.prg
   * contrib/hbgf/os2pm/tform.prg
   * contrib/hbgf/os2pm/tmenu.prg
   * contrib/hbgf/os2pm/tmenuitm.prg
   * contrib/hbgf/tests/formtext.prg
   * contrib/hbgf/tests/testctrl.prg
   * contrib/hbgf/tests/testform.prg
   * contrib/hbgf/win32/button.prg
   * contrib/hbgf/win32/edit.prg
   * contrib/hbgf/win32/form.prg
   * contrib/hbgf/win32/menu.prg
   * contrib/hbgf/win32/menuitem.prg
   * contrib/hbhpdf/tests/harupdf.prg
   * contrib/hbmsql/tests/dbf2msql.prg
   * contrib/hbmsql/tmsql.prg
   * contrib/hbmysql/dbf2mysql.prg
   * contrib/hbmysql/tmysql.prg
   * contrib/hbmysql/tsqlbrw.prg
   * contrib/hbmzip/tests/myzip.prg
   * contrib/hbnf/aredit.prg
   * contrib/hbnf/calendar.prg
   * contrib/hbnf/clrsel.prg
   * contrib/hbnf/pending.prg
   * contrib/hbnf/sqzn.prg
   * contrib/hbnf/tbwhile.prg
   * contrib/hbnf/tests/test.prg
   * contrib/hbodbc/todbc.prg
   * contrib/hbpgsql/tests/dbf2pg.prg
   * contrib/hbpgsql/tpostgre.prg
   * contrib/hbsqlit2/tests/hbsqlite.prg
   * contrib/hbsqlit3/tests/sqlite3_test.prg
   * contrib/hbtpathy/telepath.prg
   * contrib/hbvpdf/hbvpdf.prg
   * contrib/hbvpdf/hbvpdft.prg
   * contrib/hbvpdf/tests/pdf_demo.prg
   * contrib/hbvpdf/tests/tstpdf.prg
   * contrib/hbw32/w32_tole.prg
   * contrib/hbw32/w32_tprn.prg
   * contrib/hbw32ddr/tests/testdx.prg
   * contrib/rddado/adordd.prg
   * contrib/rddado/tests/access2.prg
   * source/debug/debugger.prg
   * source/rdd/hbsix/sxini.prg
   * utils/hbdot/hbdot.prg
   * utils/hbextern/hbextern.prg
     * Cleanup.
       <>    -> != or !( == ) for strings
       if()  -> iif() (for inline, where noticed)
       ' = ' -> := or == for comparisons, or left as '=' in the few 
          rare cases where this was (probably) intended (sxini.prg).
       Excluded: most tests, hbnf, util/hbdoc, util/hbmake, hbwhat32, gtwvg, 
          hbvpdf has some difficult to judge '=' operators, so I left them.
     ! Fixed some _SET_EXACT dependencies in a few places.
     ; TODO: If possible, add a compile switch to catch these, as 
             it's not very easy using 'grep'.
2008-06-19 16:33:10 +00:00
Viktor Szakats
da1bea3d74 2008-06-19 11:23 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
     ! Avoid using the "Windows" word in public message.
2008-06-19 09:24:54 +00:00
Viktor Szakats
5e9ffda2b2 2008-06-19 11:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbtip/cgi.prg
   * contrib/hbtip/encoder.prg
   * contrib/hbtip/ftpcln.prg
   * contrib/hbtip/httpcln.prg
   * contrib/hbtip/mail.prg
   * contrib/hbtip/popcln.prg
   * contrib/hbtip/sendmail.prg
   * contrib/hbtip/sessid.prg
   * contrib/hbtip/smtpcln.prg
   * contrib/hbtip/thtml.prg
   * contrib/hbtip/url.prg
     * Some formatting, cleanups, <> -> !=

   * contrib/hbtip/sendmail.prg
     + hb_SendMail(): Added <cReplyTo> parameter.

   * contrib/hbtip/thtml.prg
     ! Removed five remaining _SET_EXACT dependent 
       string comparisons. Exact comparisons were 
       used for all these cases, with a NOTE added.
2008-06-19 09:13:02 +00:00
Viktor Szakats
9470c0cd02 2008-06-19 02:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbtip/common.mak
     ! Added missing sendmail.prg
       [TOMERGE RC1]

   * contrib/hbtip/sendmail.prg
     * Formatting.
2008-06-19 00:27:47 +00:00
Viktor Szakats
2349c4e895 2008-06-19 01:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbw32/tests/testdll.prg
   * source/rtl/colorind.c
   * contrib/hbodbc/odbc.c
     * Minor cleanups.

   * contrib/hbtip/tests/base64.prg
   * contrib/hbtip/tests/dbtohtml.prg
   * contrib/hbtip/tests/httpadv.prg
   * contrib/hbtip/tests/tipmail.prg
   * contrib/hbtip/tests/tipmmail.prg
   * contrib/hbtip/tests/tiptest.prg
     ! All tip tests fixed and tested to compile/link
       with Harbour.
     * Changed to not require hbw32.lib.
       [TOMERGE RC1]

   + contrib/hbtip/tests/test.dbf
     + Added for tests.
       [TOMERGE RC1]
2008-06-19 00:02:50 +00:00
Viktor Szakats
c6bbd0eacb 2008-06-18 11:39 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtclip.c
     ! hb_gt_w32_setClipboard() fix to CF_UNICODETEXT 
       EOS char setting.
       [TOMERGE RC1]

   * source/rtl/gtwvt/gtwvt.c
     + Internal error string cleanup.
2008-06-18 09:41:03 +00:00
Viktor Szakats
09901b9505 2008-06-18 10:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
     + Now showing the application's executable name 
       in the window title on startup, instead of "Harbour WVT".
     * Window class name handling and control flow cleaned.
       [TOMERGE RC1]
2008-06-18 08:10:49 +00:00
Viktor Szakats
d55c772ac7 2008-06-17 23:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/tget.prg
     % Minor opt.

   * contrib/hbwhat32/_winkbrd.c
   * contrib/hbwhat32/_wintext.c
   * contrib/hbwhat32/_windc.c
   * contrib/hbwhat32/_winsys.c
   * contrib/hbwhat32/_windir.c
   * contrib/hbwhat32/_winmsg.c
   * contrib/hbwhat32/_winmisc.c
   * contrib/hbwhat32/_winfont.c
   * contrib/hbwhat32/_winreg.c
     ! Potential warning fixes.
2008-06-17 21:35:42 +00:00
Viktor Szakats
dadeaeb416 2008-06-17 23:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* tests/rto_get.prg
   * source/rtl/tget.prg
     ! Fixed TGet():assign() to pad character values 
       to the original length with the original content. 
       This also clears some existing differences in rto_get.prg.
     + Added regression test specifically for this.
       [TOMERGE RC1]
2008-06-17 21:02:43 +00:00
Viktor Szakats
d41eb7ffb2 2008-06-17 21:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtclip.c
     ! Added three LPWSTR casts to pacify warnings.
       [TOMERGE RC1]
2008-06-17 19:48:39 +00:00
Viktor Szakats
1d0e0dee30 2008-06-17 18:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtclip.c
     ! Fixed get/set clipboard when UNICODE is #defined.
       (WinCE mostly).
     ! Fixed get/set clipboard when format is CF_UNICODETEXT.
       (untested, please someone review me)
     ! Fixed get clipboard when CF_TEXT/CF_OEMTEXT format 
       is used, so that an additionaly zero byte won't be 
       appended anymore to the returned string.
       [TOMERGE RC1 if correct]

   * source/rtl/gtwvt/gtwvt.c
     * "HARBOUR_WVT" -> "Harbour WVT". This text is visible, 
       so it's better to make it "desktop friendlier"".
       [TOMERGE RC1]
2008-06-17 16:54:05 +00:00
Viktor Szakats
ebc5ce782c 2008-06-17 13:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmzip/hbmzip.ch
   * contrib/hbmzip/hbmzip.c
     + Added error codes to hbmzip.ch
     + Interface code changed to use manifest constants 
       instead of literals in a few places.
       [TOMERGE RC1]
2008-06-17 11:29:34 +00:00
Viktor Szakats
abd783e5c5 2008-06-17 09:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmisc/spd.c
     + SQL_SPRINTF() enhancements from Javier.
       (internal modifiers for date and numeric types 
       are now accepted).

   * contrib/hbw32/w32_ole.c
   * contrib/hbole/ole2.c
     * Formatting.
2008-06-17 07:45:22 +00:00
Viktor Szakats
9b6f7aa3e3 2008-06-16 18:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddads/doc/en/adsfuncs.txt
   * contrib/rddads/doc/en/readme.txt
     + Updated.
       [RC1]

   * contrib/hbtip/tests/httpadv.prg
   * contrib/hbtip/tests/dnldftp.prg
   * contrib/hbtip/tests/upld_ftp.prg
   * contrib/hbtip/tests/tipmail.prg
   * contrib/hbtip/tests/loadhtml.prg
   * contrib/hbtip/tests/ftpadv.prg
     * Changed to compile in Harbour.
       [RC1]

   + contrib/hbtip/tests
   + contrib/hbtip/tests/bld_b32.bat
   + contrib/hbtip/tests/bld_vc.bat
   + contrib/hbtip/tests/base64.prg
   + contrib/hbtip/tests/dbToHtml.prg
   + contrib/hbtip/tests/dnldftp.prg
   + contrib/hbtip/tests/ftpadv.prg
   + contrib/hbtip/tests/httpadv.prg
   + contrib/hbtip/tests/loadhtml.prg
   + contrib/hbtip/tests/tipmail.prg
   + contrib/hbtip/tests/tipmime.prg
   + contrib/hbtip/tests/tipmmail.prg
   + contrib/hbtip/tests/tiptest.prg
   + contrib/hbtip/tests/tiptime.prg
   + contrib/hbtip/tests/uploadftp.prg
     + Added TIP library tests from xhb repository.
       [RC1]

   * contrib/hbct/fcopy.prg
     ! Fixed crash in FILECOPY() (reported by Mario H. Sabado)
       [RC1]
2008-06-16 16:24:23 +00:00
Viktor Szakats
6821e18dad 2008-06-16 18:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbole/ole2.c
     * More cleanups.

   * contrib/rddads/doc/en/adsfuncs.txt
   * contrib/rddads/doc/en/readme.txt
     + Updated.
       [TOMERGE RC1]
2008-06-16 16:22:50 +00:00
Viktor Szakats
dc94ed0ede 2008-06-16 14:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbole/ole2.c
     * And some more.
2008-06-16 12:12:24 +00:00
Viktor Szakats
bb5f701b1b 2008-06-16 13:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbole/ole2.c
     * Further cleanup.
2008-06-16 11:57:52 +00:00
Viktor Szakats
1bb5fadeaf 2008-06-16 11:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/set.ch
     ! Fix to previous commit.
2008-06-16 09:05:52 +00:00
Viktor Szakats
fcceb5e609 2008-06-16 10:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/set.c
     ! Fix to previous commit.

   * contrib/hbole/oleauto.prg
   * contrib/hbole/ole2.c
     * Some cleanups.
2008-06-16 08:16:53 +00:00
Viktor Szakats
9f76180566 2008-06-16 01:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/set.ch
   * include/hbset.h
   * source/rtl/set.c
   * source/vm/fm.c
   * source/vm/extrap.c
     + Added: Set( _SET_HBOUTLOG[, <cFileName>] ) -> <cOldFileName>
       Default value: "hb_out.log"
       This replaces hb_fm.log and hb_ex.log, and makes it possible 
       for the applications to control the filename where these 
       internal Harbour outputs are written to.

   * source/rtl/gtwvt/gtwvt.c
     % Minor redundancy removed.
2008-06-15 23:48:53 +00:00
Pritpal Bedi
f522bc4ac2 2008-06-15 15:16 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/gtwvg/gtwvg.c
   * contrib/gtwvg/wvtutils.c
   * contrib/gtwvg/wvtcore.c
   * contrib/gtwvg/wvtpaint.prg
   * contrib/gtwvg/gtwvg.h
   + contrib/gtwvg/hbgtwvg.ch
     ! Syntactically and parameters wise GTWVG matches GTWVT.
     ! More functions ported to Hb_GtInfo().
     ! wvtcore.c and wvtutils.c are now based on function call 
          instead of static variables.
     + Separate hbgtwvg.ch included containg GTI_ constants 
          proprietory to GTWVG only.
     ! Organizing, formatting and code clean ups.
   ; TODO: Separate HB_GTWVT structure in 3 units 
       1) Core GT member.
       2) WVG specif member -  per GT.
       3) GDI members
     
     Work-in-progress. Please deffer updates in GTWVG.
2008-06-15 22:28:36 +00:00
Viktor Szakats
d8654833af 2008-06-15 23:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/vm/memvars.c
     * Minor format.

   * contrib/hbmzip/hbmzip.c
     * Minor cleanups.

   * contrib/hbtip/tests/httpadv.prg
   * contrib/hbtip/tests/dnldftp.prg
   * contrib/hbtip/tests/upld_ftp.prg
   * contrib/hbtip/tests/tipmail.prg
   * contrib/hbtip/tests/loadhtml.prg
   * contrib/hbtip/tests/ftpadv.prg
     * Changed to compile in Harbour.
2008-06-15 21:11:36 +00:00
Pritpal Bedi
6c256e12d8 2008-06-15 11:34 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/gtwvg/gtwvg.c
   * contrib/gtwvg/gtwvg.h
   * contrib/gtwvg/wvtutils.c
   * contrib/gtwvg/wvtcore.c
   * contrib/gtwvg/wvtpaint.prg
   * contrib/gtwvg/wvtclass.prg
     + Implemented all features recently added in gtwvt.

   * contrib/gtwvg/tests/demowvg.prg
     * Just refreshed to match the date/time stamps with gtwvg.lib

     ; This is first attempt in this series of optimizations in gtwvg
       to synchronize it with gtwvt builing a basis for inheretance
       from gtwvt. 
    
       Now all EXPORTed funtions in gtwvg.c are stripped and isolated
       in wvtpaint.prg as prg code taking use of Hb_GtInfo() architecture.

       gtwvg.c contains only static functions and as such GT layer is made
       self contained. For this to happen I had to define few more GTI_* 
       constants which goes in gtwvg.h and local to wvtpaint.prg. One or two 
       of them validly become candidate fot gtwvt/hbgtinfo.ch also.

       TODO: To clean wvtutils.c by plugging the functionality in HB_GTINFO
             structure. Please do not update any of these files.
2008-06-14 19:03:07 +00:00
Viktor Szakats
0989f45ccf filename correction 2008-06-14 10:06:50 +00:00
Viktor Szakats
fae80eecc4 minor 2008-06-14 10:06:22 +00:00
Viktor Szakats
78431c2940 2008-06-14 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ contrib/hbtip/tests
   + contrib/hbtip/tests/bld_b32.bat
   + contrib/hbtip/tests/bld_vc.bat
   + contrib/hbtip/tests/base64.prg
   + contrib/hbtip/tests/dbToHtml.prg
   + contrib/hbtip/tests/dnldftp.prg
   + contrib/hbtip/tests/ftpadv.prg
   + contrib/hbtip/tests/httpadv.prg
   + contrib/hbtip/tests/loadhtml.prg
   + contrib/hbtip/tests/tipmail.prg
   + contrib/hbtip/tests/tipmime.prg
   + contrib/hbtip/tests/tipmmail.prg
   + contrib/hbtip/tests/tiptest.prg
   + contrib/hbtip/tests/tiptime.prg
   + contrib/hbtip/tests/uploadftp.prg
     + Added TIP library tests from xhb repository.
       [TOMERGE RC1]
2008-06-14 10:04:53 +00:00
Viktor Szakats
02e6dda735 2008-06-14 09:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbw32/w32_ole.c
     * Fix to previous commit.
2008-06-14 07:37:39 +00:00
Viktor Szakats
274682d374 2008-06-14 09:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rdd/dbcmd.c
     ! LUPDATE() buffer overread fixed. (hb_retds(""))
       [RC1]
2008-06-14 07:22:54 +00:00
Viktor Szakats
1939d48c7e [RC1] mark added 2008-06-14 07:22:30 +00:00
Viktor Szakats
11aa4eb482 2008-06-14 09:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbbmcdx/bmdbfcdx1.c
   * contrib/hbct/ctnet.c
   * contrib/hbct/pos2.c
   * contrib/hbgf/gtk/creabutt.c
   * contrib/hbgf/gtk/creawin.c
   * contrib/hbgt/bitflags.c
   * contrib/hbmisc/stringsx.c
   * contrib/hbtip/encmthd.c
   * contrib/hbtip/utils.c
   * contrib/hbw32/w32_ole.c
   * contrib/hbwhat32/_wincdlg.c
   * contrib/hbwhat32/_winclpb.c
   * contrib/hbwhat32/_wintree.c
   * contrib/rddads/ads1.c
   * contrib/xhb/xstrdel.c
   * source/rdd/dbcmd.c
   * source/rdd/dbf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rdd/delim1.c
   * source/rdd/hbsix/sxsem.c
   * source/rdd/sdf1.c
   * source/rdd/workarea.c
   * source/rtl/alert.prg
   * source/rtl/errorsys.prg
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtgui/gtgui.c
   * source/rtl/gtsln/gtsln.c
   * source/rtl/gtwin/gtwin.c
   * source/rtl/gtxwc/gtxwc.c
   * source/rtl/hbgtcore.c
   * source/rtl/hbregex.c
   * source/vm/cmdarg.c
   * source/vm/dynsym.c
     ! LUPDATE() buffer overread fixed. (hb_retds(""))
     % hb_itemPutC*()/hb_retc*()/hb_errInternal() "" parameter -> NULL
       NOTE: gtwvg not changed.
     * Few minor cleanups.
     * Some formatting in ads1.c.
       (verified to result in no actual codeflow change)
     ; TODO: hb_retc( NULL ) -> hb_retc_null()
2008-06-14 07:19:56 +00:00
Viktor Szakats
f06fef5968 2008-06-13 20:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.h
   * source/rtl/gtwvt/gtwvt.c
     ! Sorted out SELECTCOPY menu text and Unicode.
2008-06-13 18:02:31 +00:00
Viktor Szakats
5c7d551837 typos 2008-06-13 17:35:22 +00:00
Viktor Szakats
e708033e0e 2008-06-13 19:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.h
   * source/rtl/gtwvt/gtwvt.c
   * tests/wvtext.prg
     + Added hb_gtInfo( HB_GTI_SELECTCOPY, <cMenuText> )
       to set the menu text ("Mark and Copy" on startup).
       cMenuText mustn't be zero length. Setting the menu text 
       also enables select&copy automatically. The call 
       will return the previously set menu text. To get 
       the menu text without setting a new one, use: 
       hb_gtInfo( HB_GTI_SELECTCOPY, "" )
       This is good if someone wants to adapt the menu 
       text to the OS's or app's language.

   * doc/en/hb_apiit.txt
   * include/hbapi.h
   * include/hbapiitm.h
   * source/rtl/gtwin/gtwin.c
   * source/rtl/hbgtcore.c
   * source/rtl/gtgui/gtgui.c
   * source/rtl/gtwvt/gtwvt.c
   * source/vm/macro.c
   * source/vm/debug.c
   * source/vm/itemapi.c
   * source/vm/hvm.c
   * source/vm/arrays.c
   * source/vm/extend.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rdd/sdf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/delim1.c
   * source/rdd/dbf1.c
   * source/rdd/dbffpt/dbffpt1.c
   * contrib/hbw32/w32_ole.c
   * contrib/gtwvg/gtwvg.c
   * contrib/rddads/ads1.c
   * contrib/hbmisc/spd.c
   * contrib/hbbmcdx/bmdbfcdx1.c
   * contrib/examples/rdddbt/dbfdbt1.c
     * I did a mistake in 1999 by giving the name hb_itemPutCPtr() 
       to the function which would have to be correctly named 
       hb_itemPutCLPtr() (notice the 'L' for 'length').
       So, now this was renamed to hb_itemPutCLPtr(), and stub was 
       added with the old name, and Harbour code was changed to use 
       the new one. I've also added hb_itemPutCPtr2() as a version 
       not requiring len parameter, the proper name would be hb_itemPutCPtr() 
       for this, but we cannot use without breakin compatiblity.

       IMPORTANT: I'd strongly suggest all 3rd parties to update 
       their code to use the call hb_itemPutCLPtr() instead of 
       hb_itemPutCLPtr().

       The final goal would be to have hb_itemPutCPtr() with two 
       parameters instead of the hakish looking hb_itemPutCPtr2().

       I'd welcome any opinions how to reach this goal. I didn't want to 
       break compatiblity with 3rd parties this time, but IMO we may do 
       it in 1.1, or even before 1.0.

     ! The above also fixes the (potential) problem when hb_retc_buffer()'s 
       szText parameter was evaluated twice if HB_API_MACROS was #defined.
2008-06-13 17:26:48 +00:00
Pritpal Bedi
2887345150 2008-06-14 06:18 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/source/rtl/gtwvt/gtwvt.c
     ! Replaced min()/max() functions with HB_MIN()/HB_MAX() macro.
2008-06-13 13:19:57 +00:00
Viktor Szakats
bcee7bcc8e 2008-06-13 13:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
     ! Fixed window trashing for tall/wide windows where the 
       content cannot fill the entire window client area.
     ; There is still a great amount of flickering, while doing 
       the resize. I wonder if there is any solution for this 
       besides turning off full-content drag/resize. Anyways 
       it's only really bad when trying insane sizes, so it's 
       not a big problem for normal usage.
2008-06-13 11:58:44 +00:00
Pritpal Bedi
0e10355833 2008-06-13 22:24 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/source/rtl/gtwvt/gtwvt.c
   * harbour/source/rtl/gtwvt/gtwvt.h
     * Minor cleanups.
2008-06-13 05:25:52 +00:00
Pritpal Bedi
b7919d4290 2008-06-13 21:56 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/source/rtl/gtwvt/gtwvt.c
     ! Fixed selection of left most column and top row.
2008-06-13 04:52:48 +00:00
Pritpal Bedi
8520cab552 2008-06-13 10:56 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/source/rtl/gtwvt/gtwvt.c
   * harbour/source/rtl/gtfunc.c
   * harbour/include/hbapigt.h
     + Added Palette implementation by color index.
       Hb_GtInfo( HB_GTI_PALETTE, nIndex[, nNewRGB ] ) -> nOldRGB
   
   * harbour/tests/wvtext.prg
     * Updated to demonstrate above functionality.
2008-06-12 18:01:04 +00:00
Pritpal Bedi
8d4e65a1a0 2008-06-13 09:12 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com
* harbour/source/rtl/gtwvt/gtwvt.c
   * harbour/include/hbgtinfo.ch
     + Added functionality to change Palette. 
       Hb_GtInfo( HB_GTI_PALETTE, aNewPalette ) -> aOldPalette
       <aNewPalette> must be of 16 elements containg RGB colors.

   * harbour/tests/wvtext.prg
     * Updated to demonstrate palette info.
     ; TODO : Hb_GtInfo( HB_GTI_PALETTEBYINDEX, nIndex[, nNewRGB ] ) -> nOldRGB
       Needs deeper modifications in GT core. Needs additional parameter 
       in core setup. Will commit today.
2008-06-12 16:21:57 +00:00
Viktor Szakats
4d65e6f462 2008-06-12 17:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmisc/strfmt.c
   + contrib/hbmisc/tests/tsstrfmt.prg
     + StrFormat() extended to automatically convert parameters 
       to strings, above that the result will AllTrim()-med too 
       before being inserted into the mask string:
       StrFormat( "%2 %1 born on %3", "Smith", "Mr.", Date() ) ->
       "Mr. Smith born on 06/12/08"
2008-06-12 16:02:17 +00:00
Viktor Szakats
704fe9b6d7 2008-06-12 11:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
     % Minor optimization in new screen marking code.

   * contrib/hbmisc/strfmt.c
     * Cleanup, optimization, some internal limits removed.

   * contrib/hbmisc/spd.c
     * Former _SPD() function renamed to SQL_SPRINTF()
2008-06-12 09:36:54 +00:00
Pritpal Bedi
cbab994f5c 2008-06-12 00:40 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com
* harbour/source/rtl/gtwvt/gtwvt.c
     ! Completely removed flickering under Mark and Copy operation
       without lengthy calculations. Forwarded by Andy Wos - thanks.
     ; Viktor, now first row and column are being selected.
       When right < left only then first column is not accessible
       but it is very rare in practical application.
2008-06-12 07:46:03 +00:00
Viktor Szakats
2acdaf305c 2008-06-12 08:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbct/fcopy.prg
     ! Fixed crash in FILECOPY() (reported by Mario H. Sabado)
       [TOMERGE RC1 - if correct]

   * contrib/hbodbc/odbc.c
     * Using sizeof() wherever possible.
     ! SQLGETDATA(): One strcpy() converted to hb_strncpy()
     + SQLGETDATA(): One TOFIX added for strcat() usage and 
                     possible buffer overrun.
                     Also, it looks to me that both of the above 
                     would better be replaced by memcpy() calls 
                     otherwise it cannot support embedded '\0's.
                     Anyone?
2008-06-12 06:57:43 +00:00
Viktor Szakats
a4a72f5bb7 typo 2008-06-11 23:50:45 +00:00
Viktor Szakats
20e30d5824 2008-06-12 01:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
     ! Fixed remaining Mark&Copy trashing while doing the selection.
     * I've undone fix (2008-06-09 14:48 UTC+0800) for non-selectable 
       maxrow/maxcol, since after the fix the _first_ row/col couldn't 
       be selected.
       TOFIX: Reopened.
2008-06-11 23:50:25 +00:00
Przemyslaw Czerpak
2f3f2ce2e8 2008-06-12 01:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbw32/dllcall.c
    ! fixed typo in previous modification. It should be HB_PTRDIFF
      instead of HB_PTR_DIFF
2008-06-11 23:40:59 +00:00