bugGNUstep - Bugs: bug #30217, NSKeyedArchiver/Unarchiver don't...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #30217: NSKeyedArchiver/Unarchiver don't implement encodeInteger:forKey and decodeIntegerForKey:

Submitted by:  Thomas Davie <beelsebob>
Submitted on:  Tue 22 Jun 2010 04:01:26 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri 25 Jun 2010 12:01:44 PM UTC, comment #1:

Thanks, I added implementation for those methods (and some range checking to various decoding methods).

Richard Frith-Macdonald <CaS>
Project Member
Tue 22 Jun 2010 04:01:26 PM UTC, original submission:

Apple's documentation for NSCoder states "Subclasses must override this method if they perform keyed coding." and "Subclasses must override this method if they perform keyed coding.", GNUstep's versions do not do this.

I've attached a patch to fix this.

My employer – Hunted Cow Studios Ltd. asked that I note that I wrote this patch while working for them, so here, I'm noting it :)

Thomas Davie <beelsebob>

 

Attached Files
file #20790:  archivers.diff added by beelsebob (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by beelsebob (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 25 Jun 2010 12:01:44 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 22 Jun 2010 04:01:26 PM UTCbeelsebobAttached File-=>Added archivers.diff, #20790

    Back to the top


    Powered by Savane 3.1-cleanup1