Differences From Artifact [12e6e740e4]:
- File
src/OFObject.m
— part of check-in
[dc31ce3d34]
at
2014-01-16 23:09:11
on branch trunk
— Add of_time_interval_t.
This is used instead for time intervals now instead of doubles. (user: js, size: 24068) [annotate] [blame] [check-ins using]
To Artifact [ca87b4ce10]:
- File
src/OFObject.m
— part of check-in
[e54c8c0368]
at
2014-01-16 23:38:42
on branch trunk
— Add +[OFString nativeOSEncoding].
This replaces OF_STRING_ENCODING_NATIVE, as a define was not flexible
enough (determining the native OS encoding at startup was not possible). (user: js, size: 24072) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
100 101 102 103 104 105 106 | static void uncaughtExceptionHandler(id exception) { OFString *description = [exception description]; OFArray *backtrace = nil; fprintf(stderr, "\nRuntime error: Unhandled exception:\n%s\n", | | | | 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | static void uncaughtExceptionHandler(id exception) { OFString *description = [exception description]; OFArray *backtrace = nil; fprintf(stderr, "\nRuntime error: Unhandled exception:\n%s\n", [description cStringWithEncoding: [OFString nativeOSEncoding]]); if ([exception respondsToSelector: @selector(backtrace)]) backtrace = [exception backtrace]; if (backtrace != nil) { OFString *s = [backtrace componentsJoinedByString: @"\n "]; fprintf(stderr, "\nBacktrace:\n %s\n\n", [s cStringWithEncoding: [OFString nativeOSEncoding]]); } abort(); } #endif static void |
︙ | ︙ | |||
201 202 203 204 205 206 207 | return instance; } const char* _NSPrintForDebugger(id object) { return [[object description] | | | 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 | return instance; } const char* _NSPrintForDebugger(id object) { return [[object description] cStringWithEncoding: [OFString nativeOSEncoding]]; } /* References for static linking */ void _references_to_categories_of_OFObject(void) { _OFObject_Serialization_reference = 1; } |
︙ | ︙ |