[PATCH] Working NSSearchFieldCell archiving support

2009-09-07 Thread Quentin Mathé
Hi, Here is a patch to fix NSSearchFieldCell archiving and keyed archiving. Non-keyed archiving was crashing because _max_recents ivar was declared as an unsigned char and encoded/decoded as an unsigned int. Keyed archiving was not crashing because keyed decoding was not implemented. The patch

Re: [PATCH] Working NSSearchFieldCell archiving support

2009-09-07 Thread Fred Kiefer
I committed a slightly different patch, to keep the size of the class the same. Please check that I didn't break anything. Fred Quentin Mathé schrieb: Hi, Here is a patch to fix NSSearchFieldCell archiving and keyed archiving. Non-keyed archiving was crashing because _max_recents ivar was