Overview
Comment: | Add -[OFString stringByAppendingPathComponent:]. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
868e1611f4eca738670f861e26ff74c0 |
User & Date: | js on 2012-05-22 12:59:21 |
Other Links: | manifest | tags |
Context
2012-05-30
| ||
22:03 | atomic.h: Use sete instead of the ugly jne. check-in: 22aea96b79 user: js tags: trunk | |
2012-05-22
| ||
12:59 | Add -[OFString stringByAppendingPathComponent:]. check-in: 868e1611f4 user: js tags: trunk | |
2012-05-18
| ||
15:59 | Add -[OFThreadPool size]. check-in: 6729a18ba0 user: js tags: trunk | |
Changes
Modified src/OFString.h from [2bed144e84] to [56e5646eb4].
︙ | ︙ | |||
630 631 632 633 634 635 636 | */ - (OFString*)substringWithRange: (of_range_t)range; /** * \brief Creates a new string by appending another string. * * \param string The string to append | | > > > > > > > > | 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 | */ - (OFString*)substringWithRange: (of_range_t)range; /** * \brief Creates a new string by appending another string. * * \param string The string to append * \return A new, autoreleased OFString with the specified string appended */ - (OFString*)stringByAppendingString: (OFString*)string; /** * \brief Creates a new string by appending a path component. * * \param component The path component to append * \return A new, autoreleased OFString with the path component appended */ - (OFString*)stringByAppendingPathComponent: (OFString*)component; /** * \brief Creates a new string by prepending another string. * * \param string The string to prepend * \return A new autoreleased OFString with the specified string prepended */ - (OFString*)stringByPrependingString: (OFString*)string; |
︙ | ︙ |
Modified src/OFString.m from [bcea8a4ed5] to [40151bee8f].
︙ | ︙ | |||
1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 | new = [OFMutableString stringWithString: self]; [new appendString: string]; [new makeImmutable]; return new; } - (OFString*)stringByPrependingString: (OFString*)string { OFMutableString *new = [[string mutableCopy] autorelease]; [new appendString: self]; | > > > > > | 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 | new = [OFMutableString stringWithString: self]; [new appendString: string]; [new makeImmutable]; return new; } - (OFString*)stringByAppendingPathComponent: (OFString*)component { return [OFString stringWithPath: self, component, nil]; } - (OFString*)stringByPrependingString: (OFString*)string { OFMutableString *new = [[string mutableCopy] autorelease]; [new appendString: self]; |
︙ | ︙ |