Re: [Harbour] 2008-06-09 06:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Pritpal Bedi
Hi Viktor <<< - Removed predefined symbols as a way to control GT behaviour. They may interfere with foreign libs. We have hb_gtInfo() for these kinds of settings. >>> Except for HB_NOSTARTUPWINDOW. This cannot be achieved with any other method. <<< ; TODO: Clean the c

[Harbour] 2008-06-09 07:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Szakáts Viktor
2008-06-09 07:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/wvtext.prg * include/hbgtinfo.ch * include/hbgtcore.h * source/rtl/hbgtcore.c * source/rtl/gtwvt/gtwvt.c * Changed the way notifications work. It's now platform neutral and more simple. hb_gtI

[Harbour] RC1 Status

2008-06-08 Thread Phil Barnett
Don't forget that we are in bug fixing and cleanup mode only. I will tag RC2 next weekend. If we go a week with few fixes, I will release 1.0.0. -- Waiting for sunspots. ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project

Re: [Harbour] SVN Backup

2008-06-08 Thread Phil Barnett
On Monday 09 June 2008 01:44:49 am Szakáts Viktor wrote: > Thanks Phil. > > I think the checkout dir should be deleted > before each process to not leave there files > already deleted from the repository. I don't think I want to do this each time since it pulls a lot of traffic this way. How abou

Re: [Harbour] 2008-06-08 16:03 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Pritpal Bedi
Hello Viktor <<< If you don't mind I'd remove the symbol based methods, as it doesn't seem to be std core language way to control such things. It causes problems where other libs define this symbol for example. >>> I do not mind. But "HB_NOSTARTUPWINDOW" is a must as there is no way to force it

Re: [Harbour] SVN Backup

2008-06-08 Thread Szakáts Viktor
Thanks Phil. I think the checkout dir should be deleted before each process to not leave there files already deleted from the repository. Brgds, Viktor On 2008.06.09., at 7:30, Phil Barnett wrote: It's much smaller now. MUCH MUCH smaller. I deleted the checkout directory and ran it. That got

[Harbour] SVN Backup

2008-06-08 Thread Phil Barnett
It's much smaller now. MUCH MUCH smaller. I deleted the checkout directory and ran it. That got rid of the extra stuff. -- Waiting for sunspots. ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harb

[Harbour] 2008-06-08 22:10 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Pritpal Bedi
2008-06-08 22:10 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED] * harbour/source/rtl/gtwvt/gtwvt.c * Hack to fix maxrow() display. Now maximizing the window displays correctly on 25x80. * harbour/tests/wvtext.pr * More information. Regards Pritpal Bedi -- View this message in c

Re: [Harbour] 2008-06-08 16:03 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Szakáts Viktor
Hi Priptal, If you don't mind I'd remove the symbol based methods, as it doesn't seem to be std core language way to control such things. It causes problems where other libs define this symbol for example. Also back to FireEvent: Since IMO the whole point of GTs is to give an abstraction level

[Harbour] 2008-06-09 06:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Szakáts Viktor
2008-06-09 06:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/wvtext.prg * include/hbgtinfo.ch * include/hbgtcore.h * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c ! Fixed a few warnings. ! Fixed bad selection behaviour when starting the selection (t

[Harbour] 2008-06-09 06:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Szakáts Viktor
2008-06-09 06:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * tests/wvtext.prg * include/hbgtinfo.ch * include/hbgtcore.h * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c ! Fixed a few warnings. ! Fixed bad selection behaviour when starting the selection (t

Re: re[Harbour] questo to Pripal.

2008-06-08 Thread Pritpal Bedi
Hi >Can you explain differences from gtwvg and gtwvt? GTWVT is a pure console implementation of traditional Clipper terminal taking Windows API as its base console IO protocols. Its OI are rendered in a Windows window and hence all of MSDN is available for use with GTWVT. To let the memory refr

Re: [Harbour] 2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Szakáts Viktor
Check out the code attached. Flicker completely gone. It still has some small quirks, but the direction seems to be the one. Applied, but I think RedrawWindow() is still required. But I amy need more inputs. RedrawWindow() is needed to restore the original, "unselected" state. The above

[Harbour] 2008-06-08 20:12 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Pritpal Bedi
2008-06-08 20:12 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED] * harbour/source/rtl/gtwvt/gtwvt.c * More fixes on resizing. Now appears to be behaving correctly. Please test. * harbour/tests/wvtext.pr * Formatting and typos. Regards Pritpal Bedi -- View this message in context: http

[Harbour] wvtgui xvtgui

2008-06-08 Thread Ciro Vargas Clemow
Hi all: Any similiar contribution like wvtgui (but for linux) xvtgui ? best regards Ciro -- http://sistemascvc.tripod.com (la casa del clip2win y nodosimp / the no2imp and clip2win home ) http://www.oohg.org ( Object Oriented Harbour GUI, more simple, more powerfull ) __

Re: [Harbour] 2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Pritpal Bedi
Viktor >Check out the code attached. Flicker completely gone. >It still has some small quirks, but the direction seems >to be the one. Applied, but I think RedrawWindow() is still required. But I amy need more inputs. Regards Pritpal Bedi -- View this message in context: http://www.nabble.co

[Harbour] 2008-06-08 16:03 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Pritpal Bedi
2008-06-08 16:03 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED] * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/hbgtcore.c * harbour/include/hbgtinfo.ch + HB_GTI_MARKCOPY Added feature to toggle "Mark and Copy" Sysmenu option with:

[Harbour] Test, to delete

2008-06-08 Thread J. Lefebvre
Test. Best regards, JF ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: R: [Harbour] 2008-06-07 15:32 UTC+0800 Pritpal Bedi([EMAIL PROTECTED]

2008-06-08 Thread Szakáts Viktor
Okay. I was asking because DOS windows had this since ages :) I see no perceivable downsides of this feature, so if there are no objections I'd drop the toggle option for this. Opinions? Brgds, Viktor On 2008.06.08., at 20:56, Massimo Belgrano wrote: In a program where is used another copy st

Re: [Harbour] 2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Szakáts Viktor
Hi Pritpal, Slightly better than the first version, since it's not calling RedrawWindow() for smaller mouse movements now. Still flickers very much, when the selection changes though. The culprit here is RedrawWindow() which seems slow and redraws the whole window, hence the flicker. My attempt

Re: [Harbour] 2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Szakáts Viktor
Hi Pritpal. Thanks a lot for your answers. When resizing to a small size, part of the screen gets duplicated. Do you say that if console is resized to smaller one the parts are duplicated? Unable to reproduce... http://www.syenar.hu/harbour/pic1.png http://www.syenar.hu/harbour/pic2.png S

[Harbour] requesto to Pripal.

2008-06-08 Thread Massimo Belgrano
Hello Pripal. Can you explain differences from gtwvg and gtwvt? Massimo Belgrano ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

RE: R: [Harbour] 2008-06-07 15:32 UTC+0800 Pritpal Bedi([EMAIL PROTECTED]

2008-06-08 Thread Massimo Belgrano
In a program where is used another copy strategies is better having one but no problem -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Szakáts Viktor Sent: Sunday, June 08, 2008 7:32 PM To: Harbour Project Main Developer List. Subject: Re: R: [Harbour]

Re: [Harbour] 2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Petr Chornyj
Pritpal Bedi wrote: > > > >> Can you solve it that if users resize with one of the corners, >> the resize tries to keep the original proportions? > > At the moment I have no clue, but constantly on lookups. > > Try it with WM_ENTERSIZEMOVE, WM_EXITSIZEMOVE Regards, Petr -- View this m

Re: [Harbour] 2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Pritpal Bedi
Hello Viktor > Many thanks Pripal. :-) > If you move the cursor to the edge of the screen while resizing, the > window disappears. Observed. > While resizing, I've seen the font codepage to change. (maybe because > the font changed too, I'm not sure) > On init I change to "Courier", size 14,

[Harbour] 2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Pritpal Bedi
2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED] * harbour/source/rtl/gtwvt/gtwvt.c * Fixed flickering in "Mark and Copy" operation. /* Viktor, see the slight change in your code. */ Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/2008-06-08-0

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Szakáts Viktor
> cName := "Bond"; cCity := "Tokyo" > _SPD( "Hi, I'm %#01s from %#02s.", cName, cCity ) -> "Hi, I'm Bond from Tokyo" > _SPD( "Hi, I'm from %#02s, my name is %#01s.", cName, cCity ) -> "Hi, I'm from Tokyo, my name is Bond" This is TO DO, do you want do it? No thanks, I'm doing enough things

Re: R: [Harbour] 2008-06-07 15:32 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Szakáts Viktor
Hi Massimo, I just wonder: What problem can it cause if enabled? Brgds, Viktor On 2008.06.08., at 11:10, Massimo Belgrano wrote: I suggest add info in a demo Is posible disable? - Messaggio originale - Da: Pritpal Bedi <[EMAIL PROTECTED]> Inviato: domenica 8 giugno 2008 0.41 A: harb

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Szakáts Viktor
That's it, thanks Mindaugas. Brgds, Viktor On 2008.06.08., at 18:43, Mindaugas Kavaliauskas wrote: ... I think it would very nice if there would be a possibility to specify the _ordinals_ of those format strings: cName := "Bond"; cCity := "Tokyo" _SPD( "Hi, I'm %#01s from %#02s.", cName, cCi

Re: [Harbour] 2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Szakáts Viktor
Many thanks Pripal. After testing here are a few observations: - If you move the cursor to the edge of the screen while resizing, the window disappears. - While resizing, I've seen the font codepage to change. (maybe because the font changed too, I'm not sure) On init I change to "Courier",

Re: [Harbour] R: 2008-06-07 15:32 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Pritpal Bedi
Hi > I suggest add info in a demo ? > Is posible disable? Done. Declare Function Hb_NoCopyConsole();Return Nil in your appln. Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/R%3A-2008-06-07-15%3A32-UTC%2B0800-Pritpal-Bedi-%28pritpal%40vouchcac.com-tp17716936p177

Re: [Harbour] 2008-06-07 15:32 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Pritpal Bedi
Hello Szakáts Viktor wrote: > > Is there any way to reduce flicker? I've tried > using InvertRect() on the previous region instead > of RedrawWindow() and it's better, but with some > artifacts to solve (similar to those in the official > NTVDM). > > Can we "buffer" these GDI calls? > > [ See

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Javier
Viktor, > cName := "Bond"; cCity := "Tokyo" > _SPD( "Hi, I'm %#01s from %#02s.", cName, cCity ) -> "Hi, I'm Bond from Tokyo" > _SPD( "Hi, I'm from %#02s, my name is %#01s.", cName, cCity ) -> "Hi, I'm from Tokyo, my name is Bond" This is TO DO, do you want do it? My problem is that I have lim

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Mindaugas Kavaliauskas
... I think it would very nice if there would be a possibility to specify the _ordinals_ of those format strings: cName := "Bond"; cCity := "Tokyo" _SPD( "Hi, I'm %#01s from %#02s.", cName, cCity ) -> "Hi, I'm Bond from Tokyo" _SPD( "Hi, I'm from %#02s, my name is %#01s.", cName, cCity ) -> "H

[Harbour] 2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Pritpal Bedi
2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED] * harbour/source/rtl/gtwvt/gtwvt.c + Added functionality to disable "Mark and Copy" prompt in the SysMenu. Include Function Hb_NoCopyConsole() if you do not want this functionality. + Added funtionality to resize the co

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Szakáts Viktor
Hi Javier, One more thing (well two). IMO to make this function more universal and even easier to use and update (and usable for someone needing it for translated text formatting), I think it would very nice if there would be a possibility to specify the _ordinals_ of those format strings: cNam

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Szakáts Viktor
Hi Javier, Could you please apply your changes to the file on the repository? It's also good if you send a .dif file for that one. Thanks in advance. I'd also suggest a more descriptive function name and maybe even some documentation, so that ppl. can find out what it does. [ For the doc you can

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Javier
Tanks Viktor, Please, change with more complete function. Incorporate a new converter "%t" to print ANSI SQL's Strings and typing Dates and Numbers according to FIXED DECIMALS .- ? _Spd( "String's C to %t and Dates %t, Number %t \n", "String's ANSI SQL", Date(), 3.141516 ) Print NULL always

[Harbour] Core constant cleanup

2008-06-08 Thread Szakáts Viktor
Hi all, I plan to clean constants as below: OS_UNIX_COMPATIBLE-> HB_OS_UNIX_COMPATIBLE OS_PATH_LIST_SEPARATOR-> HB_OS_PATH_LIST_SEP_CHR OS_PATH_DELIMITER -> HB_OS_PATH_DELIM_CHR OS_PATH_DELIMITER_STRING -> HB_OS_PATH_DELIM_STR OS_PATH_DELIMITE

[Harbour] 2008-06-08 15:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Szakáts Viktor
2008-06-08 15:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/hbgtinfo.ch + Added comment to compatibility #defines, to not use them, since they deprecated. [TOMERGE RC1] * HB_GTI_CB_* -> HB_GTE_* (stands for GT Event). Removed plain GTI_ versions, GT

[Harbour] Re: BUG: win32 - ISDISK()/hb_fsIsDrv()

2008-06-08 Thread Szakáts Viktor
Update: I managed to fix hb_fsIsDrv() using GetDriveTypeA() API. This one returns success for such mounted but empty USB drives, so the next problem is to solve the same error message in hb_fsChDir() (SetCurrentDirectoryA()). Ideas are welcome. Brgds, Viktor On 2008.06.08., at 13:50, Szakáts

[Harbour] BUG: win32 - ISDISK()/hb_fsIsDrv()

2008-06-08 Thread Szakáts Viktor
Hi all, If I call ISDISK( "G" ) on my system (XP SP3 English), I'm getting the attached error msg from my application, and as a "bonus" all other programs trying to enumerate drives will stall while waiting for thes input. The drive in question is a SanDisk Extreme USB2 card reader (connected th

[Harbour] hb_errFuncname question

2008-06-08 Thread Szakáts Viktor
Hi Przemek, I'd like to avoid replicating the function name in every hb_errRT*() calls, since it's consuming string space, is a PITA to type in, and it's just another thing to mistype. So, I've noticed code which uses &hb_errFuncname instead. Is this safe to use by external code (contrib)? Would

[Harbour] 2008-06-08 12:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Szakáts Viktor
2008-06-08 12:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c + Appending CRLF to each marked row before copying to the clipboard. * "Mark" sysmenu named "Mark and Copy". -- Brgds, Viktor ___ Harbour mail

Re: [Harbour] 2008-06-07 15:32 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Szakáts Viktor
That's great, thanks a lot Pritpal. Brgds, Viktor On 2008.06.08., at 0:41, Pritpal Bedi wrote: 2008-06-07 15:32 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED] * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h + Added feature to copy text from WVT console just like any

[Harbour] 2008-06-08 12:14 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Szakáts Viktor
2008-06-08 12:14 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmysql/tmysql.prg * contrib/hbmysql/mysql.c * contrib/hbmysql/mysql.ch * contrib/hbtpathy/telepath.ch * contrib/hbtpathy/tplinux.c * contrib/hbtpathy/tpwin32.c * contrib/hbtpathy/tpos2.c * contrib/hbt

R: [Harbour] 2008-06-07 15:32 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Massimo Belgrano
I suggest add info in a demo Is posible disable? - Messaggio originale - Da: Pritpal Bedi <[EMAIL PROTECTED]> Inviato: domenica 8 giugno 2008 0.41 A: harbour@harbour-project.org Oggetto: [Harbour] 2008-06-07 15:32 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED] 2008-06-07 15:32 UTC+0800 Pritp