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

Group
 
 

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

Submitter:  Thomas Davie <beelsebob>
Submitted:  Tue 22 Jun 2010 04:01:26 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

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
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by beelsebob (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-25 CaS StatusNone Fixed
        Open/ClosedOpen Closed
    2010-06-22 beelsebob Attached File- Added archivers.diff, #20790

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code