Re: [Harbour] Pointer keys

2007-12-05 Thread Przemyslaw Czerpak
On Thu, 06 Dec 2007, Mindaugas Kavaliauskas wrote: > Hi, > any objection against pointer type to be hash key type? Good idea. Please do it. In comparison use only raw pointer value (it should be unique) without any additional attributes like GC flag. best regards, Przemek

Re: [Harbour] hbcc / hbmk / hblnk utils was gone

2007-12-05 Thread Przemyslaw Czerpak
On Wed, 05 Dec 2007, Karoly CZOVEK wrote: > Karoly CZOVEK wrote: > >What happened? I've tried to install harbour on my secondary devel > >computer from CVS, and i've found that the utils i used to compile > >programs in linux were gone. > OK, i've missed to run postinst.sh - it will be cool if a

Re: [Harbour] NULL prg pointer

2007-12-05 Thread Przemyslaw Czerpak
On Wed, 05 Dec 2007, Mindaugas Kavaliauskas wrote: > I can do it in C, so I've wrote a EMPTYPTR() function with >hb_retptr( NULL ); > but I'm asking about compiler based 0p0 (just like 0d0 or 0t0 for empty > date or timestamp) solution. Does such solution exist? No. We can add literal pointer

[Harbour] CHANGELOG: 2007-12-06 02:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

2007-12-05 Thread Szakáts Viktor
2007-12-06 02:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbextern.ch * common.mak * source/codepage/Makefile - source/codepage/cpdedos.c + source/codepage/cpde850.c - source/codepage/cpeldos.c + source/codepage/cpel737.c - source/codepage/cpesdos.c + sour

[Harbour] CHANGELOG: 2007-12-06 01:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

2007-12-05 Thread Szakáts Viktor
2007-12-06 01:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * doc/howtosvn.txt ! Fixed the SVN propset command to include all needed keywords, not just "Id". * common.mak * source/codepage/Makefile - source/codepage/cpgedos.c - source/codepage/cpgeiso.c + source/

Re: [Harbour] CHANGELOG: 2007-12-05 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

2007-12-05 Thread Szakáts Viktor
Yes, the country ID definitely has to be ISO standard in the filename. Actually, it would be better to use the full standard name, with dialect (HU-hu, EN-us), at least as an option, but again: 8 chars limit. We could do it internally though. We now have lots of language modules (and even some c

Re: [Harbour] CHANGELOG: 2007-12-05 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

2007-12-05 Thread Szakáts Viktor
I think we should use the complete standard codepage name format wherever possible (at least in comments and codepage string currently). Windows-1250 ISO-8859-2 IBM852 There are some synomyms too which can make it more confusing sometimes. Brgds, Viktor On 2007.12.05., at 20:39, Mindaugas Kava

Re: [Harbour] CHANGELOG: 2007-12-05 19:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

2007-12-05 Thread Szakáts Viktor
Okey and thanks, I'll update my files (and docs in Harbour) to add them all. Brgds, Viktor On 2007.12.05., at 20:23, Mindaugas Kavaliauskas wrote: Szakáts Viktor wrote: 2007-12-05 19:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/lang/msgnl.c * source/lang/msgelwin.c * sou

[Harbour] Pointer keys

2007-12-05 Thread Mindaugas Kavaliauskas
Hi, any objection against pointer type to be hash key type? Best regards, Mindaugas ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] CHANGELOG: 2007-12-05 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

2007-12-05 Thread Chen Kedem
Mindaugas wrote: > what is correct codepage format for msg*.c files? Files have > different variations: "1250", "Windows-1250", "ANSI-1253". I think it should be the number itself for non Windows codepages (usually 3 digits codepage), Windows- for the Windows variation, ISO-n-n for the ISO

Re: [Harbour] hbcc / hbmk / hblnk utils was gone

2007-12-05 Thread Karoly CZOVEK
Karoly CZOVEK wrote: What happened? I've tried to install harbour on my secondary devel computer from CVS, and i've found that the utils i used to compile programs in linux were gone. OK, i've missed to run postinst.sh - it will be cool if a message can be displayed after a successfull make_g

Re: [Harbour] CHANGELOG: 2007-12-05 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

2007-12-05 Thread Mindaugas Kavaliauskas
Chen Kedem wrote: + source/codepage/cpgeiso.c - source/codepage/cpgewin.c German language id is DE and not GE. The naming convention we have in source/lang are like: ID or IDccc = Dos version for codepage ccc of language ID IDWIN = Windows- codepage of language ID IDISO

[Harbour] hbcc / hbmk / hblnk utils was gone

2007-12-05 Thread Karoly CZOVEK
What happened? I've tried to install harbour on my secondary devel computer from CVS, and i've found that the utils i used to compile programs in linux were gone. The utils were: hbmk hblnk hbcc i've used make_gcc.sh to compile harbour - what to do, how i can get this

Re: [Harbour] CHANGELOG: 2007-12-05 19:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

2007-12-05 Thread Mindaugas Kavaliauskas
Szakáts Viktor wrote: 2007-12-05 19:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/lang/msgnl.c * source/lang/msgelwin.c * source/lang/msgltwin.c * source/lang/msgel.c * source/codepage/cpitisb.c * source/codepage/cpit850.c * source/codepage/cpcswin.c * source/

[Harbour] CHANGELOG: 2007-12-05 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

2007-12-05 Thread Chen Kedem
>+ source/codepage/cpgeiso.c > - source/codepage/cpgewin.c German language id is DE and not GE. The naming convention we have in source/lang are like: ID or IDccc = Dos version for codepage ccc of language ID IDWIN = Windows- codepage of language ID IDISO = ISO-

[Harbour] ChangeLog 2007-12-05 21:15 UTC+0200 Mindaugas Kavaliauskas

2007-12-05 Thread Mindaugas Kavaliauskas
2007-12-05 21:15 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/codepage/cpltwin.c * harbour/source/lang/msgltwin.c * changed language ID to: LTWIN * svn properties ___ Harbour mailing list Harbour@harbour-project

[Harbour] CHANGELOG: 2007-12-05 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

2007-12-05 Thread Szakáts Viktor
2007-12-05 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/codepage/cphuwins.c * source/codepage/cphuiso.c * source/codepage/cphuwin.c * source/codepage/cphuisos.c ! Fixed sloppy wording in comment. (Thanks Chen) * common.mak * source/codepage/Makefile + sou

Re: [Harbour] ChangeLog: 2007-12-05 14:20 UTC+0200 Chen Kedem

2007-12-05 Thread Szakáts Viktor
Hi Chen, 1) Files missing SVN keyword for $Revision and $Date source/lang/msgltwin.c source/lang/msgnl.c 2) Files containing wrong codepage comment Windows-1520 --> Windows-1250 source/codepage/cpcswin.c source/codepage/cpskwin.c 3) Italian files marked as Spanish in the top comment

[Harbour] CHANGELOG: 2007-12-05 19:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

2007-12-05 Thread Szakáts Viktor
2007-12-05 19:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/lang/msgnl.c * source/lang/msgelwin.c * source/lang/msgltwin.c * source/lang/msgel.c * source/codepage/cpitisb.c * source/codepage/cpit850.c * source/codepage/cpcswin.c * source/codepage/cpskwin.c *

RE: [Harbour] Will harbour help porting of a Visual foxPro Application?

2007-12-05 Thread Massimo Belgrano
Will an harbour application coexist with foxpro9 on a FoxPro 9 tables Advantage Database Server 9 beta seem support visual FoxPro 9 Tables http://www.advantagedatabase.com/web/content.aspx?key=F4865DD0C39A3D7CED CC29852332B93B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE

Re: [Harbour] NULL prg pointer

2007-12-05 Thread Mindaugas Kavaliauskas
Petr Chornyj wrote: one more question. I'm changing Win32 API handlers and memory pointers from numeric to pointer type. How can I assign empty pointer to variable? HWND hwnd = (HWND) hb_parnl( 1 ); I was using this approach since 1998, and I'm moving to: HWND hwnd = hb_parptr( 1 );

Re: [Harbour] NULL prg pointer

2007-12-05 Thread Mindaugas Kavaliauskas
Chen Kedem wrote: C level function: hb_retptr( NULL ); Well, this function return pointer to a null item, but it is probably not empty (a new item is allocated every time). So I leave it to someone which know something about this, to answer :) Hi, this function return "NULL .prg level poin

Re: [Harbour] NULL prg pointer

2007-12-05 Thread Mindaugas Kavaliauskas
How can I assign empty pointer to variable? C level function: hb_retptr( NULL ); Hi, I can do it in C, so I've wrote a EMPTYPTR() function with hb_retptr( NULL ); but I'm asking about compiler based 0p0 (just like 0d0 or 0t0 for empty date or timestamp) solution. Does such solution exist

Re: [Harbour] NULL prg pointer

2007-12-05 Thread Petr Chornyj
Mindaugas Kavaliauskas wrote: > > Hi, > > one more question. I'm changing Win32 API handlers and memory pointers > from numeric to pointer type. How can I assign empty pointer to variable? > F.e. I'm use this code LOCAL dc := _GetDC( hwnd) If hb_IsPointer( dc ) .. dc := NIL endif

Re: [Harbour] NULL prg pointer

2007-12-05 Thread Chen Kedem
I wrote: > C level function: hb_retptr( NULL ); Well, this function return pointer to a null item, but it is probably not empty (a new item is allocated every time). So I leave it to someone which know something about this, to answer :) Chen. ***

[Harbour] NULL prg pointer

2007-12-05 Thread Chen Kedem
Mindaugas, > How can I assign empty pointer to variable? C level function: hb_retptr( NULL ); Don't know about PRG level, but since pointers are usually not created on the PRG level it is reasonable. Chen. ***

[Harbour] NULL prg pointer

2007-12-05 Thread Mindaugas Kavaliauskas
Hi, one more question. I'm changing Win32 API handlers and memory pointers from numeric to pointer type. How can I assign empty pointer to variable? Best regards, Mindaugas ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-p

[Harbour] Will harbour help porting of a Visual foxPro Application?

2007-12-05 Thread Massimo Belgrano
Will harbour help porting of a Visual foxPro Application? Any experiences? Massimo Belgrano ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] ChangeLog: 2007-12-05 14:20 UTC+0200 Chen Kedem

2007-12-05 Thread Chen Kedem
2007-12-05 14:20 UTC+0200 Chen Kedem <[EMAIL PROTECTED]> * doc/dirstruc.txt * Change "test" to "tests". * doc/en/lang.txt * Update language table for HB_LANGSELECT to reflect source/lang * Update codepage table for HB_SETCODEPAGE to reflect source/codepage NOTES: 1) Files missing

[Harbour] RE: Harbour Digest, Vol 14, Issue 11

2007-12-05 Thread Horodyski Marek (PZUZ)
>Message: 7 >Date: Tue, 4 Dec 2007 20:58:29 +0100 >From: Przemyslaw Czerpak <[EMAIL PROTECTED]> >Subject: Re: [Harbour] lib rename proposal (2nd round) >To: "Harbour Project Main Developer List." > >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=iso-8859-2 > >On Tue, 04 D

[Harbour] CHANGELOG: 2007-12-05 09:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

2007-12-05 Thread Szakáts Viktor
2007-12-05 09:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbct/files.c ! FILESIZE() fixed to return -1 when the file doesn't exist. - contrib/hbmysql/test + contrib/hbmysql/tests - contrib/hbw32ddr/test + contrib/hbw32ddr/tests - contrib/hbodbc/test + cont

Re: [Harbour] lib rename proposal (2nd round)

2007-12-05 Thread Maurilio Longo
Przemyslaw, What I was trying to say is that a MT only rtl/hvm can be used with ST code (like all legacy code) without problems because code that does not use MT features explicitly will simply be running on thread #1 and will be completely unaware of being run in a MT capable environment. This i

[Harbour] 2007-12-04 23:56 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2007-12-05 Thread Pritpal Bedi
2007-12-04 23:56 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]) * harbour/contrib/gtwvg/wvtcore.c ! Small typo and formatting. * harbour/contrib/gtwvg/wvtutils.c * More UNICODE compliant. * harbour/contrib/gtwvg/test/demowvg.prg ! Adjusted to respect changes in core lib. Regards Prit