bugGNUstep - Bugs: bug #29736, missing base methods

Group
 
 

bug #29736: missing base methods

Submitter:  matt rice <ratmice>
Submitted:  Sun 02 May 2010 12:10:24 AM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 03 May 2010 07:53:46 AM UTC, comment #5: 

works great, thanks.

matt rice <ratmice>
Group Member
Mon 03 May 2010 06:02:09 AM UTC, comment #4: 

I added the remaining missing methods.
Please check that they work.

Richard Frith-Macdonald <CaS>
Group Member
Mon 03 May 2010 02:11:50 AM UTC, comment #3: 

writeToFile: atomically: encoding: error:

is missing on NSString.

writeToFile:atomically: in NSString is deprecated since OS X v10.4

http://developer.apple.com/mac/library/documentation/cocoa/reference/foundation/Classes/NSString_Class/Reference/NSString.html#jumpTo_129

There is NO writeToFile:atomically:encoding:error in NSDictionary.
only - (BOOL)writeToFile:(NSString *)path atomically:(BOOL)flag

David Wetzel <dwetzel>
Group Member
Sun 02 May 2010 07:23:51 PM UTC, comment #2: 

ahh, you probably couldn't find it because I gave you the wrong class name, sorry.

-[NSMutableString writeToFile:atomically:encoding:error:]


matt rice <ratmice>
Group Member
Sun 02 May 2010 11:08:27 AM UTC, comment #1: 

I just added the missing NSString method you reported (plus a few similar ones as well).
I could not find any documentation for the NSDictionary method you are missing. There is a similarly named method on NSString that GNUstep is missing as well, but as you did not request that one, I didn't spend any time on implementing it.
It would be great if you could dig out the specification for that writeToFile:... method. It could be part of the property list protocol.

Fred Kiefer <FredKiefer>
Group Member
Sun 02 May 2010 12:10:24 AM UTC, original submission:  

-[NSDictionary writeToFile:atomically:encoding:error:]
+[NSString stringWithContentsOfFile:encoding:error:]

the current version of svn/DBModeler uses the above gnustep-base methods in the code generator (property -> Generate ObjC files).

If someone feels like implementing them feel free to do so.


matt rice <ratmice>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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 dwetzel (Posted a comment)
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by ratmice (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-05-03 ratmice Open/ClosedIn Test Closed
    2010-05-03 CaS StatusIn Progress Fixed
        Open/ClosedOpen In Test
    2010-05-02 FredKiefer StatusNone In Progress

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code