Re: [Harbour] Harbour Web site - Preview #2 (Update)

2008-10-27 Thread Pritpal Bedi
Renalto The overall design is now very pleasing. Just one note: Color of the icon to too out of the color scheme. Can you add some blud color to it? Regards Pritpal Bedi PS: My name does not appear in the crew list. Can you include it? Vailton Renato wrote: > > Hi all! > > I am of opinio

Re: [Harbour] Harbour Web site - Preview #2 (Update)

2008-10-27 Thread Phil Barnett
On Monday 27 October 2008 08:26:12 am Vailton Renato wrote: > Hi all! > > I am of opinions on the page DOCUMENTATION > SAMPLES of the new site. > I need to know if I'm on the right track and if all agree that the > layout'm riding, because it is very difficult and full of details - if > you have to

[Harbour] 2008-10-28 01:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-28 01:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/Makefile * include/hbextern.ch + include/hbver.ch * source/rtl/version.c + Added HB_VERSION() unified version information function. This can return these version related data: hb_version( HB_V_HARBOUR

Re: [Harbour] Harbour Web site - Preview #2 (Update)

2008-10-27 Thread Szakáts Viktor
Hi Renato, It's pretty nice and good. Just one thought, maybe samples would better to be stored on the SVN repository, so that we can keep them up to date easily. It could also be included with the binary distros. Since SVN files can be linked directly via the sf.net web interface, maybe it'd be

Re: [Harbour] 2008-10-27 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
Hi Przemek, Thank you. BTW This: #pragma TEXTHIDDEN= also works. Thanks, this looks better. Now only = 0 (disable) and 1 works. In the future we may add other methods. Anyhow if you want to distribute some PCODE with hidden internals then I suggest to generate .hrb file and encode it us

[Harbour] 2008-10-28 00:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-28 00:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbextern.ch * source/vm/cmdarg.c + Added HB_CMDLINE() .prg level function to return the full command line. Currently it does reassemble it from hb_argc/hb_argv. * contrib/rddsql/mysqldd.c ! Fixed

[Harbour] 2008-10-27 23:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-27 23:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmysql/tmysql.prg * contrib/xhb/hbcompat.ch * contrib/xhb/dirrec.prg * contrib/xhb/txml.prg * contrib/xhb/hblog.prg * contrib/xhb/cstruct.prg * contrib/hbodbc/todbc.prg * contrib/hbtpathy/telepath.prg * con

Re: [Harbour] hb_gtReload() / hb_gtCreate()

2008-10-27 Thread Pritpal Bedi
Przemek Przemyslaw Czerpak-2 wrote: > > It is possible but as I said few days ago it does not help to resolve > the initialization problem because tomorrow you will ask about other > parameters or someone else will ask about parameters which are usable > in XWindow or other environment so the p

Re: [Harbour] hb_gtReload() / hb_gtCreate()

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Pritpal Bedi wrote: Hi Pritpal, > Is it possible that above functions be extended > to accept few parameters ( only important for windows creation ) as follows: [...] > And CreateWindowEx() function uses those parameters. [...] It is possible but as I said few days ago it do

Re: [Harbour] hb_gtReload() / hb_gtCreate()

2008-10-27 Thread Szakáts Viktor
HWND CreateWindowEx( DWORD dwExStyle, nExStyle LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle,nStyle int x,nX int y,nY int nWidth,

[Harbour] hb_gtReload() / hb_gtCreate()

2008-10-27 Thread Pritpal Bedi
Hello Przemek Is it possible that above functions be extended to accept few parameters ( only important for windows creation ) as follows: HWND CreateWindowEx( DWORD dwExStyle, nExStyle LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle,

[Harbour] 2008-10-27 22:39 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-27 22:39 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * tests/db_brows.prg * contrib/hbmysql/tmysql.prg * contrib/hbnf/miltime.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/sleep.prg * contrib/hbnf/d2e.prg * contrib/hbnf/easter.prg * '&&' comments changed to '//'

Re: [Harbour] if ( hb_threadMutexLock( s_pMtx ) ) - Clarification

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Pritpal Bedi wrote: Hi Pritpal, > One more question, > under what circumstances deadlocks may occur? When you create code which can cause such situation, f.e.: static s_mtx1, s_mtx2 init proc initmtx s_mtx1 := hb_mutexCreate() s_mtx2 := hb_mutexCreate()

Re: [Harbour] if ( hb_threadMutexLock( s_pMtx ) ) - Clarification

2008-10-27 Thread Pritpal Bedi
Got it, thanks. One more question, under what circumstances deadlocks may occur? Regards Pritpal Bedi Przemyslaw Czerpak-2 wrote: > > It waits but can be interrupted, f.e. by HVM crash, main > thread QUIT statement or deadlock detection. Now we do not > have our own deadlock detection system

Re: [Harbour] 2008-10-27 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
This is Harbour .prg code. So please refresh in your mind what && does in .prg code ;-) That's why I was asking if I was missing something :/ I fully thought we replicated the C way of #defines, and I'm a bit puzzled on this syntax :( Because it is fully replicated. There is even code like:

Re: [Harbour] if ( hb_threadMutexLock( s_pMtx ) ) - Clarification

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Pritpal Bedi wrote: Hi Pritpal, > Here is a curosity: > if ( hb_threadMutexLock( s_pMtx ) ) > { >... >... >hb_threadMutexUnlock( s_pMtx ); > } > Does this function waits for the lock until > obtained or returns immediately? It waits but can be interrupted, f.e.

[Harbour] 2008-10-27 21:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-27 21:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/Makefile * contrib/make_vc_all.bat * contrib/make_b32_all.bat * contrib/make_gcc_all.sh + Added rddsql to default builds. Please test. * contrib/hbdbgfx/dbgfxc.c * Added TODO. (multiplatform support i

[Harbour] if ( hb_threadMutexLock( s_pMtx ) ) - Clarification

2008-10-27 Thread Pritpal Bedi
Przemek Here is a curosity: if ( hb_threadMutexLock( s_pMtx ) ) { ... ... hb_threadMutexUnlock( s_pMtx ); } Does this function waits for the lock until obtained or returns immediately? If it waits until lock is obtained, then why we should use 'if' statement? Regards Pritpal Bedi --

Re: [Harbour] Classes - A Bug

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Pritpal Bedi wrote: Hi Pritpal, > But why the same code was working OK till few days back? > May be issue relates to Harbour compile time switches. Few days ago BEGIN SEQUENCE was not used in class declaration code. Now it is because I introduced few lines inside ALWAYS stat

Re: [Harbour] Classes - A Bug

2008-10-27 Thread Pritpal Bedi
Got it Przemyslaw Czerpak-2 wrote: > > On Sun, 26 Oct 2008, Pritpal Bedi wrote: > > Harbour code is correct and the problem is only with this line: >#command BEGINMENU [] => WITH OBJECT := MyMenu():New() > > It converts all lines starting with BEGI letters so damage BEGIN SEQUENCE > and

Re: [Harbour] Classes - A Bug

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Przemyslaw Czerpak wrote: Hi Pritpal, > Harbour code is correct and the problem is only with this line: >#command BEGINMENU [] => WITH OBJECT := MyMenu():New() > It converts all lines starting with BEGI letters so damage BEGIN SEQUENCE > and other PP commands which may s

Re: [Harbour] Classes - A Bug

2008-10-27 Thread Przemyslaw Czerpak
On Sun, 26 Oct 2008, Pritpal Bedi wrote: Hi Pritpal, > #include "hbclass.ch" > #command BEGINMENU [] => WITH OBJECT := MyMenu():New() > CREATE CLASS TThread >VAR a > ENDCLASS > Generates this error: > ERRCLASS.prg(7) Error E0030 Syntax error: "syntax error at 'ALWAYS'" > 1 error Harbour co

[Harbour] 2008-10-27 20:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-27 20:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * config/rules.cf * Synced Harbour flags with non-GNU make. (added -gc3, -l) -- Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.or

Re: [Harbour] ERROR - /contrib/hbwin.lib

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Przemyslaw Czerpak wrote: Hi Pritpal, > > BTW did you see the bug I reported for CLASSes, before it was working ok. > I do not remember it. What's the problem? I've just found this message. I'll look at it. best regards, Przemek _

Re: [Harbour] 2008-10-27 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi Viktor, >>> This is Harbour .prg code. >> So please refresh in your mind what && does in .prg code ;-) > That's why I was asking if I was missing something :/ > I fully thought we replicated the C way of #defines, > and I'm a bit puzzled on this synta

Re: [Harbour] 2008-10-27 20:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-27 Thread Petr Chornyj
Many Thanks! Regards, Petr Przemyslaw Czerpak-2 wrote: > > 2008-10-27 20:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/source/rtl/setkey.c > ! fixed GPF in HB_SETKEYGET() when bActive block is used > -- View this message in context: http://www.nabble.com/2008-1

Re: [Harbour] 2008-10-27 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
Hi Przemek, This is Harbour .prg code. So please refresh in your mind what && does in .prg code ;-) That's why I was asking if I was missing something :/ I fully thought we replicated the C way of #defines, and I'm a bit puzzled on this syntax :( [ There are probably

[Harbour] 2008-10-27 20:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-27 Thread Przemyslaw Czerpak
2008-10-27 20:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/setkey.c ! fixed GPF in HB_SETKEYGET() when bActive block is used best regards Przemek ___ Harbour mailing list Harbour@harbour-project.org http://lists.harb

[Harbour] tests\setkeys: Application Internal Error

2008-10-27 Thread Petr Chornyj
I'm run tests\setkeys, press F8 and get this: Application Internal Error - E:\harbour-msvc8\tests\setkeys.exe Terminated at: 2008.10.27 20:49:27 Unrecoverable error 6005: Exception error: Exception Code:C005 Exception Address:0040CE55 EAX:00986D0C EBX:004AF138 ECX: ED

Re: [Harbour] ERROR - /contrib/hbwin.lib

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Pritpal Bedi wrote: Hi Pritpal, > BTW did you see the bug I reported for CLASSes, before it was working ok. I do not remember it. What's the problem? best regards, Przemek ___ Harbour mailing list Harbour@harbour-project.org http:

Re: [Harbour] 2008-10-27 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi Viktor, > This is Harbour .prg code. So please refresh in your mind what && does in .prg code ;-) > If harbour is run (any version, I've now tried with 1.0.1 final BCC55), > it prints: 'DEF_A AND NOT DEF_B' Use '.and.', f.e.:

Re: [Harbour] 2008-10-27 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
This is Harbour .prg code. If harbour is run (any version, I've now tried with 1.0.1 final BCC55), it prints: 'DEF_A AND NOT DEF_B' If I copy the exact same code to a .c file and try with a C compiler, there is nothing printed (with MSVC cl -W3), which seems correct. Brgds, Viktor On 2008.10.2

Re: [Harbour] 2008-10-27 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Mindaugas Kavaliauskas
Szakáts Viktor wrote: BTW, maybe you've missed it, but I've sent an e-mail on strange #if behaviour. It's the same with MSVC: --- #define DEF_A #define DEF_B #if defined( DEF_A ) && ! defined( DEF_B ) #error DEF_A AND NOT DEF_B #endif Hi, this sound like MSVC preprocessor problem, see: #if

Re: [Harbour] 2008-10-25 19:10 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-27 Thread Szakáts Viktor
I agree that some things in XHB library can change standard HVM behavior and it's wrong that they are not separated because it effects also other code. IMHO xhb should be used only by developers that want to port xHarbour code "as it is". Standard Harbour users should not have to use it. I

Re: [Harbour] 2008-10-27 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
Hi Przemek, Is it okay for you if I change all the snprintf() calls to hb_snprintf() and you do the rest of the tweaking? BTW, maybe you've missed it, but I've sent an e-mail on strange #if behaviour. It's the same with MSVC: --- #define DEF_A #define DEF_B #if defined( DEF_A ) && ! defined( DE

Re: [Harbour] ERROR - /contrib/hbwin.lib

2008-10-27 Thread Pritpal Bedi
Thanks Przemek Przemyslaw Czerpak-2 wrote: > > > It's exactly the problem I was writing about in message to Viktor. > Remove: >#define snprintf hb_snprintf > > from include/hbsetup.h > > Now it is working ok. BTW did you see the bug I reported for CLASSes, before it was working ok. R

Re: [Harbour] ERROR - /contrib/hbwin.lib

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Pritpal Bedi wrote: Hi Pritpal. > MAKE Version 5.2 Copyright (c) 1987, 2000 Borland > bcc32.exe -c -q -d -Q -w -w-sig- -O2 -OS -Ov -Oi -Oc -I..\..\include > -DHB_FM_STATISTICS_OFF -DHB_GUI -oobj\b32\win_prn2.obj .\win_prn2.c > .\win_prn2.c: > Error E2356 ..\..\includ

Re: RE: RE: [Harbour] ActiveX class

2008-10-27 Thread [EMAIL PROTECTED]
>What is a "native" harbour class? >Imo an ancive x need interaction with a GUI , So is impossible in pure harbour >Open source implementation start from same origin (Oscar Lira t) implemented >in each harbour gui >AFAIK not exist implementation who work with gt Massimo, thanks. FWH have TActiveX

Re: [Harbour] 2008-10-27 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi Viktor, > Many thanks I didn't know this. It's now removed. Thank you. BTW This: #pragma TEXTHIDDEN= also works. Now only = 0 (disable) and 1 works. In the future we may add other methods. Anyhow if you want to distribute some PCODE with hidden i

[Harbour] ERROR - /contrib/hbwin.lib

2008-10-27 Thread Pritpal Bedi
Hello MAKE Version 5.2 Copyright (c) 1987, 2000 Borland bcc32.exe -c -q -d -Q -w -w-sig- -O2 -OS -Ov -Oi -Oc -I..\..\include -DHB_FM_STATISTICS_OFF -DHB_GUI -oobj\b32\win_prn2.obj .\win_prn2.c .\win_prn2.c: Error E2356 ..\..\include\hbapi.h 830: Type mismatch in redeclaration of 'hb_sn

Re: [Harbour] 2008-10-27 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi Viktor, > As far as I got to know, different snprintf() > implementations mapped to this symbol are behaving > slightly differently, so there is an important > point in trying to make those behave along the > standard (like MSVC _snprintf() not append

Re: [Harbour] 2008-10-25 19:10 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-27 Thread Lorenzo Fiorini
On Mon, Oct 27, 2008 at 5:37 PM, Przemyslaw Czerpak <[EMAIL PROTECTED]> wrote: > XHB lib does not have HB_DESERIALIZE. It has only HB_DESERIALBEGIN() > HB_DESERIALNEXT() redirected to Harbour core serialization code but > there are in practice dummy functions. This is the problem xhb has real func

Re: [Harbour] 2008-10-27 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
Hi Przemek, Many thanks I didn't know this. It's now removed. Brgds, Viktor On 2008.10.27., at 18:30, Przemyslaw Czerpak wrote: On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi Viktor, 2008-10-27 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/pp/ppcore.c + Added '#pragma TE

[Harbour] 2008-10-27 18:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-27 18:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/pp/ppcore.c - Removed duplicate TEXTHIDDEN #pragma implementation. * source/vm/arrayshb.c * Reset defaults of last parameters of hb_AINS()/hb_ADEL() -- Brgds, Viktor __

Re: [Harbour] 2008-10-27 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
Hi Przemek, I see you already committed stuff related to this, and this is exactly what I wanted to suggest. You're right with this problem, I haven't thought of it. As far as I got to know, different snprintf() implementations mapped to this symbol are behaving slightly differently, so there is

Re: [Harbour] 2008-10-27 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi Viktor, > 2008-10-27 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu) > * source/pp/ppcore.c > + Added '#pragma TEXTHIDDEN=' to control the > existing -texthidden option to add light encoding to > strings embedded in code. Sinc

Re: [Harbour] 2008-10-25 19:10 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-27 Thread Szakáts Viktor
What is the problem with using xhb.lib if you need this functionality? It's there, maintained and working. Because xhb makes too much things: xhb does xhb compatibility. It's really not our selection what is in there, and how those things are implemented. - cstruct - freadlin - hbmsgs - hbwi

[Harbour] 2008-10-27 18:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-27 Thread Przemyslaw Czerpak
2008-10-27 18:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h + added HB_PRINTF_FORMAT() macro to declare functions with printf() like formatting parameters - now it works only for GCC compilers. * harbour/include/hbapi.h * declare hb_snprintf()

RE: RE: [Harbour] ActiveX class

2008-10-27 Thread Massimo Belgrano
What is a "native" harbour class? Imo an ancive x need interaction with a GUI , So is impossible in pure harbour Open source implementation start from same origin (Oscar Lira t) implemented in each harbour gui AFAIK not exist implementation who work with gt -Original Message- From: [EMAIL

Re: [Harbour] 2008-10-25 19:10 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Lorenzo Fiorini wrote: Hi Lorenzo, > that I don't need and that can potentially change normal Harbour behaviour. > F.e. is HB_DESERIALIZE in rtl the same as the one in xhb? XHB lib does not have HB_DESERIALIZE. It has only HB_DESERIALBEGIN() HB_DESERIALNEXT() redirected to H

Re: RE: [Harbour] ActiveX class

2008-10-27 Thread [EMAIL PROTECTED]
>Commercial By xavier and fivewin >Open source by t- oohg, , hwgui , Minigui, t-gtk, but list will be incomplete > >Oohg is documented here >http://www.oohg.org/index.php?option=com_content&task=view&id=41&Itemid=35 >Hw gui http://objectmix.com/xharbour/370083-hwgui-ocx-now-you-can.html Thanks Ma

RE: [Harbour] ActiveX class

2008-10-27 Thread Massimo Belgrano
Commercial By xavier and fivewin Open source by t- oohg, , hwgui , Minigui, t-gtk, but list will be incomplete Oohg is documented here http://www.oohg.org/index.php?option=com_content&task=view&id=41&Itemid=35 Hw gui http://objectmix.com/xharbour/370083-hwgui-ocx-now-you-can.html ... -Origi

[Harbour] ActiveX class

2008-10-27 Thread [EMAIL PROTECTED]
Hi ppl. Are there any ActiveX class for harbour? Thanks and best regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ ___ Harbour

Re: [Harbour] 2008-10-27 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi Viktor, > 2008-10-27 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu) > * include/hbsetup.h > * Mapping snprintf() calls to hb_snprintf(). It redirects all calls to snprintf() into hb_snprintf() for all compilers. It means that it disables

Re: [Harbour] 2008-10-25 19:10 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-27 Thread Lorenzo Fiorini
On Mon, Oct 27, 2008 at 3:00 PM, Szakáts Viktor <[EMAIL PROTECTED]> wrote: > Lastly, and this hasn't been answered yet by > you, yet it seems the most important question: > > What is the problem with using xhb.lib if you > need this functionality? It's there, maintained > and working. Because xhb

Re: [Harbour] 2008-10-27 15:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi Viktor, > * source/rtl/tbrowse.prg > * source/debug/debugger.prg > ! Cleaned hb_AINS()/hb_ADEL() usage after changing the > default of the last parameter. > Should fix the recent TBrowse() crash. Thank you. I've just wanted to as

[Harbour] 2008-10-27 15:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-27 15:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/compiler/gencc.c ! Fixed -gc3 double number handling problem. Many thanks to Przemek for the fix. [TOMERGE 1.0] -- Brgds, Viktor ___ Harbour mailing list Harbour@h

Re: [Harbour] BUG: -gc3 problems on OSX/PPC

2008-10-27 Thread Szakáts Viktor
Forgot to install. Now it's okay. Thanks! Brgds, Viktor On 2008.10.27., at 14:52, Przemyslaw Czerpak wrote: On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi Viktor, Does it happen with -gc3 only or also with -gc2? No, only with -gc3. I've only tested this on Darwin PPC, so I don't know about

[Harbour] 2008-10-27 15:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-27 15:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/tbrowse.prg * source/debug/debugger.prg ! Cleaned hb_AINS()/hb_ADEL() usage after changing the default of the last parameter. Should fix the recent TBrowse() crash. ; NOTE: I'll rethink the default

Re: [Harbour] A Bug in TBrowse Class

2008-10-27 Thread Szakáts Viktor
I suspect it's the hb_AINS()/hb_ADEL() modification, but first quick fixes made it just worse. Brgds, Viktor On 2008.10.27., at 14:13, Przemyslaw Czerpak wrote: On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi, While experimenting with Darwin GTXWC build, I just got the exact same error. (neve

Re: [Harbour] BUG: -gc3 problems on OSX/PPC

2008-10-27 Thread Szakáts Viktor
Hi Przemek, I've tried this, but it didn't help for either problems. Have you made full clean build? I did. It should help if -gc2 works correctly. Maybe the problem isn't with the generated code, as Darwin/PPC generates exactly the same C code as the Windows/Intel Harbour. What is w

[Harbour] Re: Harbour Web site - Preview #2 (Update)

2008-10-27 Thread Vailton Renato
I just realized that the translation of this page was weird. :S ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] 2008-10-25 19:10 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-27 Thread Szakáts Viktor
On 2008.10.27., at 14:42, Lorenzo Fiorini wrote: On Mon, Oct 27, 2008 at 1:44 PM, Szakáts Viktor [EMAIL PROTECTED]> wrote: If there is anything that can be done to untie current implementation living inside xhb from other xhb parts, we should do it right there. IMHO xhb has wrongly mixed li

Re: [Harbour] BUG: -gc3 problems on OSX/PPC

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi Viktor, >> Does it happen with -gc3 only or also with -gc2? > No, only with -gc3. I've only tested this on Darwin PPC, > so I don't know about Darwin Intel, but for sure it > does work for Windows/Intel. >> It looks like wrongly set double conversions

Re: [Harbour] A Bug in TBrowse Class

2008-10-27 Thread Szakáts Viktor
Hi Przemek, It's now very easy to exploit by going to the bottom of the browse with DOWN button, then go up to make the screen scroll one position, then go down to the bottom again. The crash happens at that point. Simple BROWSE() call will do. r9693 (with -gc3) was still okay, r9732 (with -gc3

[Harbour] 2008-10-27 14:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-27 14:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbextern.ch * source/rtl/philes.c + Added HB_FLOCK() / HB_FUNLOCK() file locking functions. [TOMERGE 1.0] * source/rtl/tget.prg ! Accessing of Get() variables below made C5.x compatible when

Re: [Harbour] 2008-10-25 19:10 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-27 Thread Lorenzo Fiorini
On Mon, Oct 27, 2008 at 1:44 PM, Szakáts Viktor <[EMAIL PROTECTED]> wrote: > If there is anything that can be done to untie current > implementation living inside xhb from other xhb parts, > we should do it right there. IMHO xhb has wrongly mixed libs and "language compatibility services". hblog

Re: [Harbour] BUG: -gc3 problems on OSX/PPC

2008-10-27 Thread Szakáts Viktor
Hi Przemek, Does it happen with -gc3 only or also with -gc2? No, only with -gc3. I've only tested this on Darwin PPC, so I don't know about Darwin Intel, but for sure it does work for Windows/Intel. It looks like wrongly set double conversions. In gencc.c[1096] is: hb_compGenCString( cargo

Re: [Harbour] A Bug in TBrowse Class

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi, > While experimenting with Darwin GTXWC build, I just > got the exact same error. (never ever got it before) > --- > ErrorMessage= Error(2) BASE/1066 Argument error: conditional > ErrorCategory=EG_ARG (1) > ErrorOS= Nincs hiba (0) >

[Harbour] GTWIN multiple consoles

2008-10-27 Thread Saulius Zrelskis
Hi, all Is there possibility in Harbour to have multiple consoles as in GTWVT ? Trouble is that I don't know *nix systems interaction with console scenarios . In windows systems, at least in XP, user can have as many consoles as need, but only one console can be _attached_ to process. An applicat

Re: [Harbour] 2008-10-25 19:10 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-27 Thread Szakáts Viktor
I know them well and also for me them have to be moved outside from xhb. Probably into hbmisc (as proposed from Viktor to be renamed to hbtools). IMHO logging and xml are useful, general and distinct tasks. I suggest to create a contrib/hblog and contrib/hbxml so that every developer can dec

Re: [Harbour] 2008-10-25 19:10 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-27 Thread Szakáts Viktor
These are xhb compatibility functions with xhb specific implementations and names, headers. They can be used without any kind of side effects by linking xhb lib. I see no point in picking selected xhb functions and shuffling them around to other libs. This creates far more problems than it may so

Re: [Harbour] 2008-10-25 19:10 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-27 Thread Lorenzo Fiorini
On Mon, Oct 27, 2008 at 1:25 PM, Francesco Saverio Giudice <[EMAIL PROTECTED]> > I know them well and also for me them have to be moved outside from xhb. > Probably into hbmisc (as proposed from Viktor to be renamed to hbtools). IMHO logging and xml are useful, general and distinct tasks. I sugg

Re: [Harbour] BUG: -gc3 problems on OSX/PPC

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi Viktor, > Compiling this code on OSX (PPC) using -gc3: Does it happen with -gc3 only or also with -gc2? It looks like wrongly set double conversions. In gencc.c[1096] is: hb_compGenCString( cargo->yyc, &pFunc->pCode[ lPCodePos + 1 ], sizeof( doub

[Harbour] Harbour Web site - Preview #2 (Update)

2008-10-27 Thread Vailton Renato
Hi all! I am of opinions on the page DOCUMENTATION > SAMPLES of the new site. I need to know if I'm on the right track and if all agree that the layout'm riding, because it is very difficult and full of details - if you have to redo then will take a lot of work. :( My intention would be easy to a

Re: [Harbour] 2008-10-25 19:10 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-27 Thread Francesco Saverio Giudice
Hi Lorenzo, Il 27/10/2008 6.11, Lorenzo Fiorini ha scritto: On Sun, Oct 26, 2008 at 11:24 PM, Francesco Saverio Giudice <[EMAIL PROTECTED]> wrote: if you added this function thinking that I miss it, note that correct hb_OutDebug() is in xhb lib and you need to add it to link phase. I think tha

Re: [Harbour] ChangeLog 2008-10-22 16:00 UTC+0300 Mindaugas Kavaliauskas

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Mindaugas Kavaliauskas wrote: Hi Mindaugas, > so, what action should be taken for RDDs like DBF, if pArea->uiFieldCount > is not equal to zero on open() method? Should open() return FAILURE, or > should it generate run time error, or something else? I think we can leave th

Re: [Harbour] ChangeLog 2008-10-22 16:00 UTC+0300 Mindaugas Kavaliauskas

2008-10-27 Thread Mindaugas Kavaliauskas
Yes, this could be important. Actually, I left comment about it a few dozens lines above warning place. I can find an answer in 10 minutes, but I hope Przemek will answer in a second, so I'll ask it here: When pArea->uiFieldCount is greater than zero on entry to RDD open() method? Such situati

[Harbour] 2008-10-27 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-27 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_vc.mak * contrib/mtpl_vc.mak - Removed no longer necessary '-D_CRT_SECURE_NO_DEPRECATE' for MSVS 2005 and upper. * include/hbsetup.h * Mapping snprintf() calls to hb_snprintf(). ; TODO: Replace the call

[Harbour] 2008-10-27 11:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-27 11:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbapi.h * source/common/hbstr.c + Added return value to hb_snprintf(). -- Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.or

[Harbour] 2008-10-27 11:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-27 11:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/common/hbstr.c * Some tweaks to hb_snprintf(). It still doesn't work for some reason. * include/hbapi.h + Added hb_snprintf() to header. * source/debug/dbgentry.c * Changed strcpy() to hb_strncpy().

[Harbour] 2008-10-27 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-27 Thread Szakáts Viktor
2008-10-27 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/pp/ppcore.c + Added '#pragma TEXTHIDDEN=' to control the existing -texthidden option to add light encoding to strings embedded in code. Since this goes with a slight performance hit and it's rarely u

RE: [Harbour] Proposed Feature Set for Multi-Window GTs - II

2008-10-27 Thread Massimo Belgrano
Do you think that is will possible implement? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Budyanto Dj. Sent: Monday, October 27, 2008 3:20 AM To: Harbour Project Main Developer List. Subject: Re: [Harbour] Proposed Feature Set for Multi-Window GTs - II

[Harbour] BUG: -gc3 problems on OSX/PPC

2008-10-27 Thread Szakáts Viktor
Hi Przemek, Compiling this code on OSX (PPC) using -gc3: --- PROC MAIN() LOCAL a := 6 LOCAL b := 36 ? ( a / b ) ? ( a / b ) > .25 --- Will print: --- 0.17 .T. (wrong) --- The generated .c code is identical to the MSVC built one. Also, this code: --- PROC MAIN() ? (

[Harbour] RE: Harbour Digest, Vol 24, Issue 112

2008-10-27 Thread Horodyski Marek (PZUZ)
>Date: Fri, 24 Oct 2008 19:37:01 -0400 >From: Phil Barnett <[EMAIL PROTECTED]> [ ... ] >It's open source. The source is there on The Oasis. I just >don't have time to >take on more stuff. (I'm already in up to my eyebrows...) In surces is one .asm function : ;* ;* Author: Terry Carm