Re: [Harbour] 2008-01-11 18:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-01-11 Thread Mindaugas Kavaliauskas
Przemyslaw Czerpak wrote: + added new functions for string manipulation: char * hb_itemLockReadCPtr( PHB_ITEM pItem, ULONG * pulLen ); char * hb_itemLockWriteCPtr( PHB_ITEM pItem, ULONG * pulLen ); void hb_itemUnLockCPtr( char * pszString ); It's recommended

Re: [Harbour] 2008-01-11 18:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-01-11 Thread Przemyslaw Czerpak
On Fri, 11 Jan 2008, Szakáts Viktor wrote: > Hi Przemek, > I think there is such an unsafe usage of hb_itemGetCPtr() > in philes.c / FREAD(). > That one sprang to my mind, but maybe there are more. Now it's safe because hb_itemUnShareString() is used but I would like to eliminae this functions fro

[Harbour] 2008-01-11 22:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-01-11 Thread Przemyslaw Czerpak
2008-01-11 22:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c ! use hb_xRefFree() instead of hb_xRefDec() in hb_itemUnLockCPtr() It's necessary when source item is cleared before. best regards Przemek ___

Re: [Harbour] 2008-01-11 18:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-01-11 Thread Szakáts Viktor
Hi Przemek, I think there is such an unsafe usage of hb_itemGetCPtr() in philes.c / FREAD(). That one sprang to my mind, but maybe there are more. Brgds, Viktor On 2008.01.11., at 18:01, Przemyslaw Czerpak wrote: 2008-01-11 18:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbou

[Harbour] 2008-01-11 18:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-01-11 Thread Przemyslaw Czerpak
2008-01-11 18:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * removed unused variable best regards Przemek ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/

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

2008-01-11 Thread Przemyslaw Czerpak
2008-01-11 18:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + added new functions: BOOL hb_itemParamStore( USHORT uiParam, PHB_ITEM pItem ) BOOL hb_itemParamStoreForward( USHORT uiParam, PHB_ITEM pItem )

Re: [Harbour] ChangeLog 2008-01-11 17:32 UTC+0200 Mindaugas Kavaliauskas

2008-01-11 Thread Przemyslaw Czerpak
On Fri, 11 Jan 2008, Mindaugas Kavaliauskas wrote: > one thing was missing - strings were not escaped before writing to .pot > file. This is important fix, if we want to include i18n in current > release. So, I've committed the change. Thank you. I'll remove HB_I18N_SUPPORT in a while. best reg

[Harbour] ChangeLog 2008-01-11 17:32 UTC+0200 Mindaugas Kavaliauskas

2008-01-11 Thread Mindaugas Kavaliauskas
2008-01-11 17:32 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbexprb.c * harbour/source/compiler/hbmain.c ! added string escaping before to i18n .pot files + added hb_i18n_gettext_strict() support for compiler. This function generates warning if argu

Re: [Harbour] How to gzip a string?

2008-01-11 Thread Szakáts Viktor
Hi Przemek, On 2008.01.11., at 12:59, Przemyslaw Czerpak wrote: On Thu, 10 Jan 2008, Szakáts Viktor wrote: Hi Mindaugas, Since I believe you will commit these wrappers to the contrib area (since these might have 3rd party lib dependencies, unless we include these sources in core), I think it's

Re: [Harbour] How to gzip a string?

2008-01-11 Thread Przemyslaw Czerpak
On Thu, 10 Jan 2008, Szakáts Viktor wrote: > Hi Mindaugas, > Since I believe you will commit these wrappers > to the contrib area (since these might have > 3rd party lib dependencies, unless we include > these sources in core), I think it's fine to release > them anytime, even now. I also agree. I

Re: [Harbour] 2007-11-30 20:25 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)

2008-01-11 Thread Szakáts Viktor
Hi Marek, Przemek and all, Just a small comment on the threading topic, maybe it'd be worth to mark thread static vars with a "ts_" prefix to clearly differentiate them from app wide statics. Very very nice addition to Harbour. Brgds, Viktor On 2008.01.10., at 14:15, Przemyslaw Czerpak wrote: