Re: Listview Z8

2002-10-28 Thread Shachar Shemesh
Now you are touching on subjects tender to my purpose on this list :-)

Dimi wouldn't have to change anything. A BiDi aware engine which is 
complient enough (i.e. - not what we currently have in Wine)-: will 
display a logical aleph followed by a "1" as an aleph followed by a 1 
RTL (i.e. - the 1 will be on the aleph's left). There is a whole 
discussion here, but I'm afraid it is somewhat off topic for this 
presumably amusing thread. Contact me off list if you want to hear more.

As for studying Hebrew - בהצלחה. They say it's a difficult language to 
learn (I wouldn't really know, of course).

   Sh.


Jeff Smith wrote:

(note that I am presently at a computer *not* set up for i18n)

I think Hebrew was made to go RTL just to give programmers headaches.
Actually, I'm trying to learn Hebrew, and I keep catching myself
trying to write it LTR.  Now if Dimi went to the Hebrew alephbet,
would he have to change from Z1, Z2,... to 1{aleph}, 2{aleph},...

 -- Jeff S.



From: Shachar Shemesh <[EMAIL PROTECTED]>

That's why I included them here, so you can copy and paste

Just remeber to set your locale to either Iso-8859-8 or UTF-8, or 
you'll lose the special chars. Even more tricky, if your email client 
supports BiDi (Your'e using kmail, but only the one that came with 
KDE-3 did, and I don't know what version that was), then the first 
character, "א", is on the *right* `-)

   Shachar


Dimitrie O. Paun wrote:

On October 27, 2002 12:14 pm, Shachar Shemesh wrote:



"אבגדהוזחטיכלמנסעפצקרשת". Very useful `-)




Very cool man, but, ..., hmm, ..., I don't have a Hebrew keyboard. ;)





_
Get a speedy connection with MSN Broadband.? Join now! 
http://resourcecenter.msn.com/access/plans/freeactivation.asp






Re: Listview Z8

2002-10-28 Thread Jeff Smith
(note that I am presently at a computer *not* set up for i18n)

I think Hebrew was made to go RTL just to give programmers headaches.
Actually, I'm trying to learn Hebrew, and I keep catching myself
trying to write it LTR.  Now if Dimi went to the Hebrew alephbet,
would he have to change from Z1, Z2,... to 1{aleph}, 2{aleph},...

 -- Jeff S.



From: Shachar Shemesh <[EMAIL PROTECTED]>

That's why I included them here, so you can copy and paste

Just remeber to set your locale to either Iso-8859-8 or UTF-8, or you'll 
lose the special chars. Even more tricky, if your email client supports 
BiDi (Your'e using kmail, but only the one that came with KDE-3 did, and I 
don't know what version that was), then the first character, "א", is on 
the *right* `-)

   Shachar


Dimitrie O. Paun wrote:

On October 27, 2002 12:14 pm, Shachar Shemesh wrote:



"אבגדהוזחטיכלמנסעפצקרשת". Very useful `-)




Very cool man, but, ..., hmm, ..., I don't have a Hebrew keyboard. ;)



_
Get a speedy connection with MSN Broadband.  Join now! 
http://resourcecenter.msn.com/access/plans/freeactivation.asp




Re: Listview Z8

2002-10-28 Thread Shachar Shemesh
That's why I included them here, so you can copy and paste

Just remeber to set your locale to either Iso-8859-8 or UTF-8, or you'll 
lose the special chars. Even more tricky, if your email client supports 
BiDi (Your'e using kmail, but only the one that came with KDE-3 did, and 
I don't know what version that was), then the first character, "א", is 
on the *right* `-)

   Shachar


Dimitrie O. Paun wrote:

On October 27, 2002 12:14 pm, Shachar Shemesh wrote:
 

"אבגדהוזחטיכלמנסעפצקרשת". Very useful `-)
   


Very cool man, but, ..., hmm, ..., I don't have a Hebrew keyboard. ;)

 






Re: Listview Z8

2002-10-27 Thread Jeff Smith
Actually, I believe Klingon got rejected.  Some junk
about it not being a 'real' language or something.
Try telling that to all the people that speak it
though.  Probably more than some of the other
languages represented in Unicode.

Maybe we should continue through the ASCII character
set: 'X' 'Y' 'Z' '[' '\' ']' '^' '_' ...

-- Jeff S.



From: "David D. Hagood" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Andreas Mohr wrote:



What a weak and useless suggestion, this will run out of characters in
no time at all ;-)
Better use Chinese characters !


Bah! You are still weak! Better to use Klingon - I do beleive they've 
reserve some Unicode space for them!

_
Surf the Web without missing calls! Get MSN Broadband.  
http://resourcecenter.msn.com/access/plans/freeactivation.asp




Re: Listview Z8

2002-10-27 Thread David D. Hagood
Andreas Mohr wrote:



What a weak and useless suggestion, this will run out of characters in
no time at all ;-)
Better use Chinese characters !


Bah! You are still weak! Better to use Klingon - I do beleive they've 
reserve some Unicode space for them!





Re: Listview Z8

2002-10-27 Thread Andreas Mohr
On Sun, Oct 27, 2002 at 07:14:41PM +0200, Shachar Shemesh wrote:
> I can offer you the Hebrew alphabet. Except "à" (Aleph), which was used 
> to indicate the various infiinity levels, there are 21 brand new, never 
> before used, ready for your viewing pleasure letters (the number grows 
> to 26+aleph=27 if you want to count the different forms a letter may 
> take, depending on it's place in the word).
> 
> "àáâãäåæçèéëìîðñòôö÷øùú". Very useful `-)
What a weak and useless suggestion, this will run out of characters in
no time at all ;-)
Better use Chinese characters !
And if even those run out, then use Complex Chinese instead of Simplified
Chinese ;-))

-- 
The Declaration of Software Freedom:
http://freedevelopers.net/freedomdec/index.php




Re: Listview Z8

2002-10-27 Thread Dan de Haan


That's right. And we don't know what's going to happen, it's
uncharted territory. So if you have listview problems, speak
now!!! :)

 


The new listview patches cause WinMZ 3.3 to be unsable.  While the 
listview is being filled, you can it sort of flash some of the trext 
that is supposed to be there and then go black.  If you scroll up and 
down you cvan see patrs of the text.

There is a screenshot here: http://www.zeron.ca/~dan/wine/winmx1.png

All the listview patches up to Z8 have been applied.

   -Dan




Re: Listview Z8

2002-10-27 Thread Dimitrie O. Paun
On October 27, 2002 12:14 pm, Shachar Shemesh wrote:
> "àáâãäåæçèéëìîðñòôö÷øùú". Very useful `-)

Very cool man, but, ..., hmm, ..., I don't have a Hebrew keyboard. ;)

-- 
Dimi.





Re: Listview Z8

2002-10-27 Thread Shachar Shemesh
I can offer you the Hebrew alphabet. Except "à" (Aleph), which was used 
to indicate the various infiinity levels, there are 21 brand new, never 
before used, ready for your viewing pleasure letters (the number grows 
to 26+aleph=27 if you want to count the different forms a letter may 
take, depending on it's place in the word).

"àáâãäåæçèéëìîðñòôö÷øùú". Very useful `-)

   Shachar


Dimitrie O. Paun wrote:

On October 27, 2002 11:28 am, Dimitrie O. Paun wrote:
 

ChangeLog
 Mark immutable objects as const. Fix inconsisten *-style.
   


This one, of course, is Z7, not Z8. Hmm, now I have problems
with digits, on top of the alphabet... And NO, we used to do
a _lot_ of math in Romania! :P

 






Re: Listview Z8

2002-10-27 Thread Dimitrie O. Paun
On October 27, 2002 12:05 pm, Shachar Shemesh wrote:
> Oh my god!!! he is running out of alphabet letters!!! ;-)

That's right. And we don't know what's going to happen, it's
uncharted territory. So if you have listview problems, speak
now!!! :)

-- 
Dimi.





Re: Listview Z8

2002-10-27 Thread Shachar Shemesh
Oh my god!!! he is running out of alphabet letters!!! ;-)

   Shachar

Dimitrie O. Paun wrote:


ChangeLog
 Mark immutable objects as const. Fix inconsisten *-style.

--- dlls/comctl32/listview.c.Z6	2002-10-27 10:29:52.0 -0500
+++ dlls/comctl32/listview.c	2002-10-27 11:24:45.0 -0500
@@ -370,7 +370,7 @@
static void LISTVIEW_GetOrigin(LISTVIEW_INFO *, LPPOINT);
static BOOL LISTVIEW_GetViewRect(LISTVIEW_INFO *, LPRECT);
static void LISTVIEW_SetGroupSelection(LISTVIEW_INFO *, INT);
-static BOOL LISTVIEW_SetItemT(LISTVIEW_INFO *, LPLVITEMW, BOOL);
+static BOOL LISTVIEW_SetItemT(LISTVIEW_INFO *, const LVITEMW *, BOOL);
static void LISTVIEW_UpdateScroll(LISTVIEW_INFO *);
static void LISTVIEW_SetSelection(LISTVIEW_INFO *, INT);
static void LISTVIEW_UpdateSize(LISTVIEW_INFO *);
@@ -380,7 +380,7 @@
static INT LISTVIEW_GetStringWidthT(LISTVIEW_INFO *, LPCWSTR, BOOL);
static BOOL LISTVIEW_KeySelection(LISTVIEW_INFO *, INT);
static UINT LISTVIEW_GetItemState(LISTVIEW_INFO *, INT, UINT);
-static BOOL LISTVIEW_SetItemState(LISTVIEW_INFO *, INT, LPLVITEMW);
+static BOOL LISTVIEW_SetItemState(LISTVIEW_INFO *, INT, const LVITEMW *);
static LRESULT LISTVIEW_VScroll(LISTVIEW_INFO *, INT, INT, HWND);
static LRESULT LISTVIEW_HScroll(LISTVIEW_INFO *, INT, INT, HWND);
static INT LISTVIEW_GetTopIndex(LISTVIEW_INFO *);
@@ -469,7 +469,7 @@
/*
 * compares a Unicode to a Unicode/ANSI text string
 */
-static inline int textcmpWT(LPWSTR aw, LPWSTR bt, BOOL isW)
+static inline int textcmpWT(LPCWSTR aw, LPCWSTR bt, BOOL isW)
{
if (!aw) return bt ? -1 : 0;
if (!bt) return aw ? 1 : 0;
@@ -517,7 +517,7 @@
return buffers[index++ % DEBUG_BUFFERS];
}

-static inline char* debugrange(const RANGE* lprng)
+static inline char* debugrange(const RANGE *lprng)
{
if (lprng) 
{
@@ -527,7 +527,7 @@
} else return "(null)";
}

-static inline char* debugpoint(const POINT* lppt)
+static inline char* debugpoint(const POINT *lppt)
{
if (lppt) 
{
@@ -537,7 +537,7 @@
} else return "(null)";
}

-static inline char* debugrect(const RECT* rect)
+static inline char* debugrect(const RECT *rect)
{
if (rect) 
{
@@ -580,7 +580,7 @@
return text;
} 

-static char* debugnmlistview(LPNMLISTVIEW plvnm)
+static char* debugnmlistview(const NMLISTVIEW *plvnm)
{
if (plvnm)
{
@@ -593,7 +593,7 @@
} else return "(null)";
}

-static char* debuglvitem_t(LPLVITEMW lpLVItem, BOOL isW)
+static char* debuglvitem_t(const LVITEMW *lpLVItem, BOOL isW)
{
char* buf = debug_getbuf(), *text = buf;
int len, size = DEBUG_BUFFER_SIZE;
@@ -629,7 +629,7 @@
return text;
}

-static char* debuglvcolumn_t(LPLVCOLUMNW lpColumn, BOOL isW)
+static char* debuglvcolumn_t(const LVCOLUMNW *lpColumn, BOOL isW)
{
char* buf = debug_getbuf(), *text = buf;
int len, size = DEBUG_BUFFER_SIZE;
@@ -670,7 +670,7 @@
}


-static char* debuglvhittestinfo(LPLVHITTESTINFO lpht)
+static char* debuglvhittestinfo(const LVHITTESTINFO *lpht)
{
if (lpht) 
{
@@ -817,7 +817,7 @@
return bResult;
}

-static void customdraw_fill(NMLVCUSTOMDRAW *lpnmlvcd, LISTVIEW_INFO *infoPtr, HDC hdc, LPRECT rcBounds)
+static void customdraw_fill(NMLVCUSTOMDRAW *lpnmlvcd, LISTVIEW_INFO *infoPtr, HDC hdc, const RECT *rcBounds)
{
ZeroMemory(lpnmlvcd, sizeof(NMLVCUSTOMDRAW));
lpnmlvcd->nmcd.hdc = hdc;
@@ -1045,7 +1045,7 @@
/***
 * Creates an iterator over the items which intersect lprc.
 */
-static BOOL iterator_frameditems(ITERATOR* i, LISTVIEW_INFO* infoPtr, const RECT* lprc)
+static BOOL iterator_frameditems(ITERATOR* i, LISTVIEW_INFO* infoPtr, const RECT *lprc)
{
UINT uView = infoPtr->dwStyle & LVS_TYPEMASK;
RECT frame = *lprc, rcItem, rcTemp;
@@ -1130,7 +1130,7 @@
/***
 * Creates an iterator over the items which intersect the visible region of hdc.
 */
-static BOOL iterator_visibleitems(ITERATOR* i, LISTVIEW_INFO *infoPtr, HDC  hdc)
+static BOOL iterator_visibleitems(ITERATOR *i, LISTVIEW_INFO *infoPtr, HDC  hdc)
{
POINT Origin, Position;
RECT rcItem, rcClip;
@@ -1705,7 +1705,7 @@
 * RETURN:
 *   None.
 */
-static void LISTVIEW_GetItemMetrics(LISTVIEW_INFO *infoPtr, LVITEMW *lpLVItem,
+static void LISTVIEW_GetItemMetrics(LISTVIEW_INFO *infoPtr, const LVITEMW *lpLVItem,
LPRECT lprcBox, LPRECT lprcState, 
LPRECT lprcIcon, LPRECT lprcLabel)
{
@@ -2018,7 +2018,7 @@
 *   Success: TRUE
 *   Failure: FALSE
 */
-static BOOL LISTVIEW_MoveIconTo(LISTVIEW_INFO *infoPtr, INT nItem, LPPOINT lppt, BOOL isNew)
+static BOOL LISTVIEW_MoveIconTo(LISTVIEW_INFO *infoPtr, INT nItem, const POINT *lppt, BOOL isNew)
{
POINT old;

@@ -3039,7 +3039,7 @@
/***
 * Tests wheather the item is assignable to a list with style lStyle 
 */
-static inline BOOL is_assignable_item(LPLVITEMW lpLVItem, LONG lStyle)
+static inline BOOL is_assignable_item(const LVITEMW *lpLVItem, LONG lStyle)
{
if ( (lpLVItem->mask & LVIF_TEXT) && 
	(lpLVItem->pszText == LPSTR_TEXTCALLBACKW) &&
@@ -3064,7 +3064,7 @@
 *   SUCCESS : TRUE
 *   

Re: Listview Z8

2002-10-27 Thread Dimitrie O. Paun
On October 27, 2002 11:28 am, Dimitrie O. Paun wrote:
> ChangeLog
>   Mark immutable objects as const. Fix inconsisten *-style.

This one, of course, is Z7, not Z8. Hmm, now I have problems
with digits, on top of the alphabet... And NO, we used to do
a _lot_ of math in Romania! :P

-- 
Dimi.