Differences From Artifact [c29f20e2b2]:
- File src/OFString.m — part of check-in [8471999204] at 2023-08-22 16:16:00 on branch trunk — Don't require a regular file to init an object (user: js, size: 65839) [annotate] [blame] [check-ins using]
To Artifact [70fe1f9064]:
- File
src/OFString.m
— part of check-in
[149874777c]
at
2023-08-23 16:01:21
on branch trunk
— Remove incomplete NFD/NFKD support
It has been moved to the "unicode-normalization" branch until it is
ready. (user: js, size: 64779) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
342 343 344 345 346 347 348 | size_t length = strlen(string); char *copy = (char *)OFAllocMemory(1, length + 1); memcpy(copy, string, length + 1); return copy; } | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 342 343 344 345 346 347 348 349 350 351 352 353 354 355 | size_t length = strlen(string); char *copy = (char *)OFAllocMemory(1, length + 1); memcpy(copy, string, length + 1); return copy; } @implementation OFPlaceholderString #ifdef __clang__ /* We intentionally don't call into super, so silence the warning. */ # pragma clang diagnostic push # pragma clang diagnostic ignored "-Wunknown-pragmas" # pragma clang diagnostic ignored "-Wobjc-designated-initializers" #endif |
︙ | ︙ | |||
2611 2612 2613 2614 2615 2616 2617 | [data retain]; objc_autoreleasePoolPop(pool); return [data autorelease]; } | < < < < < < < < < < < < < < | 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 | [data retain]; objc_autoreleasePoolPop(pool); return [data autorelease]; } #ifdef OF_WINDOWS - (OFString *)stringByExpandingWindowsEnvironmentStrings { if ([OFSystemInfo isWindowsNT]) { wchar_t buffer[512]; size_t length; |
︙ | ︙ |