bugGNUstep - Bugs: bug #29736, missing base methods

 
 

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

bug #29736: missing base methods

Submitted by:  matt rice <ratmice>
Submitted on:  Sun 02 May 2010 12:10:24 AM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

works great, thanks.

matt rice <ratmice>
Project 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>
Project 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>
Project 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>
Project 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>
Project 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>
Project Member

 

No files currently attached

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 May 2010 07:53:46 AM UTCratmiceOpen/ClosedIn Test=>Closed
    Mon 03 May 2010 06:02:09 AM UTCCaSStatusIn Progress=>Fixed
      Open/ClosedOpen=>In Test
    Sun 02 May 2010 11:08:27 AM UTCFredKieferStatusNone=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1