Comment: | OFString: Move path handling into a category
This is the first step to have different versions of those for different This also has the nice side-effect of not having one implementation in |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7a488c30627b4c489d91014ec08054cd |
User & Date: | js on 2018-03-11 00:37:56 |
Other Links: | manifest | tags |
2018-03-11
| ||
11:27 | OFFileManager: fileURLWithPath: to convert to URL check-in: 711592a1c3 user: js tags: trunk | |
00:37 | OFString: Move path handling into a category check-in: 7a488c3062 user: js tags: trunk | |
2018-03-10
| ||
20:26 | configure: Use egrep_cpp_yes instead of yes check-in: d918acb99d user: js tags: trunk | |
Modified configure.ac from [fe1120cd41] to [026ea97419].
︙ | |||
281 282 283 284 285 286 287 | 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 | - + | TESTS_LIBS="-F../src -F../src/runtime $TESTS_LIBS" ], [ TESTS_LIBS="-lobjfw \${RUNTIME_LIBS} $TESTS_LIBS" TESTS_LIBS="-L../src -L../src/runtime $TESTS_LIBS" ]) AC_DEFINE_UNQUOTED(PLUGIN_SUFFIX, "$PLUGIN_SUFFIX", [Suffix for plugins]) |
︙ |
Modified src/Makefile from [9229e6eeb1] to [d9f762d49e].
︙ | |||
114 115 116 117 118 119 120 | 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | - + + | ${USE_SRCS_PLUGINS} \ ${USE_SRCS_SOCKETS} \ ${USE_SRCS_THREADS} SRCS_FILES = OFFile.m \ OFFileManager.m \ OFINICategory.m \ OFINIFile.m \ |
︙ |
Modified src/OFStdIOStream.m from [0a2b2bbcab] to [66757147ba].
︙ | |||
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | + + + + | void *pool = objc_autoreleasePoolPush(); OFDate *date; OFString *dateString, *me, *msg; va_list arguments; date = [OFDate date]; dateString = [date localDateStringWithFormat: @"%Y-%m-%d %H:%M:%S"]; #ifdef OF_HAVE_FILES me = [[OFApplication programName] lastPathComponent]; #else me = [OFApplication programName]; #endif va_start(arguments, format); msg = [[[OFString alloc] initWithFormat: format arguments: arguments] autorelease]; va_end(arguments); [of_stderr writeFormat: @"[%@.%03d %@(%d)] %@\n", dateString, |
︙ |
Added src/OFString+PathAdditions.h version [9ffc17fae1].
|
Added src/OFString+PathAdditions.m version [fde00f0835].