Overview
Comment: | Don't copy properties of OFApplication.
There is no need to reference count them, they will always be retained |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
9ec315d07000a36f86556a0d9306baf5 |
User & Date: | js on 2011-11-30 23:55:40 |
Other Links: | manifest | tags |
Context
2011-12-01
| ||
02:16 | Implement OFProcess for Win32. check-in: e8b7d0dd0d user: js tags: trunk | |
2011-11-30
| ||
23:55 | Don't copy properties of OFApplication. check-in: 9ec315d070 user: js tags: trunk | |
2011-11-23
| ||
02:17 | of_asprintf: Work around more Win32 brokenness. check-in: ccb0a96ebc user: js tags: trunk | |
Changes
Modified src/OFApplication.h from [a8719ab12b] to [26fb77f30b].
︙ | ︙ | |||
62 63 64 65 66 67 68 | OFMutableDictionary *environment; id <OFApplicationDelegate> delegate; int *argc; char ***argv; } #ifdef OF_HAVE_PROPERTIES | | | | | 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | OFMutableDictionary *environment; id <OFApplicationDelegate> delegate; int *argc; char ***argv; } #ifdef OF_HAVE_PROPERTIES @property (readonly, assign) OFString *programName; @property (readonly, assign) OFArray *arguments; @property (readonly, assign) OFDictionary *environment; @property (assign) id <OFApplicationDelegate> delegate; #endif /** * \brief Returns the only OFApplication instance in the application. * * \return The only OFApplication instance in the application |
︙ | ︙ |
Modified src/OFApplication.m from [449f37093f] to [64dece92ce].
︙ | ︙ | |||
25 26 27 28 29 30 31 | #import "OFString.h" #import "OFArray.h" #import "OFDictionary.h" #import "OFAutoreleasePool.h" #import "OFNotImplementedException.h" | < < | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #import "OFString.h" #import "OFArray.h" #import "OFDictionary.h" #import "OFAutoreleasePool.h" #import "OFNotImplementedException.h" #if defined(__MACH__) && !defined(OF_IOS) # include <crt_externs.h> #elif !defined(OF_IOS) extern char **environ; #endif static OFApplication *app = nil; |
︙ | ︙ | |||
213 214 215 216 217 218 219 | { *argc_ = argc; *argv_ = argv; } - (OFString*)programName { | | | | | 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 | { *argc_ = argc; *argv_ = argv; } - (OFString*)programName { return programName; } - (OFArray*)arguments { return arguments; } - (OFDictionary*)environment { return environment; } - (id <OFApplicationDelegate>)delegate { return delegate; } |
︙ | ︙ |