Overview
Comment: | Don't retain delegates to prevent reference cycles. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
87cd99ff884ce8b029dbcb44338d2f9d |
User & Date: | js on 2011-10-24 18:28:28 |
Other Links: | manifest | tags |
Context
2011-10-25
| ||
00:02 | Always release the pool in -[OFStreamObserver observe]. check-in: 95fdb174f6 user: js tags: trunk | |
2011-10-24
| ||
18:28 | Don't retain delegates to prevent reference cycles. check-in: 87cd99ff88 user: js tags: trunk | |
15:47 | Make sure the fullness of a hashtable is always at max 3/4. check-in: 1bec445dd2 user: js tags: trunk | |
Changes
Modified src/OFApplication.h from [530227dea1] to [a8719ab12b].
︙ | |||
65 66 67 68 69 70 71 | 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | - + | char ***argv; } #ifdef OF_HAVE_PROPERTIES @property (readonly, copy) OFString *programName; @property (readonly, copy) OFArray *arguments; @property (readonly, copy) OFDictionary *environment; |
︙ |
Modified src/OFApplication.m from [e705f7e9ee] to [741469d176].
︙ | |||
38 39 40 41 42 43 44 | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | - - - + - + + | #endif static OFApplication *app = nil; static void atexit_handler(void) { |
︙ | |||
227 228 229 230 231 232 233 | 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | - + - + | - (OFDictionary*)environment { OF_GETTER(environment, YES) } - (id <OFApplicationDelegate>)delegate { |
︙ | |||
254 255 256 257 258 259 260 | 253 254 255 256 257 258 259 260 261 262 263 264 265 266 | - | exit(status); } - (void)dealloc { [arguments release]; [environment release]; |
︙ |
Modified src/OFHTTPRequest.h from [73f77fc69e] to [de1dce9f3b].
︙ | |||
101 102 103 104 105 106 107 | 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | - + | #ifdef OF_HAVE_PROPERTIES @property (copy) OFURL *URL; @property (assign) of_http_request_type_t requestType; @property (copy) OFString *queryString; @property (copy) OFDictionary *headers; @property (assign) BOOL redirectsFromHTTPSToHTTPAllowed; |
︙ |
Modified src/OFHTTPRequest.m from [66f489833f] to [58e168ad78].
︙ | |||
99 100 101 102 103 104 105 | 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | - | } - (void)dealloc { [URL release]; [queryString release]; [headers release]; |
︙ | |||
156 157 158 159 160 161 162 | 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | - + - + | - (BOOL)redirectsFromHTTPSToHTTPAllowed { return redirectsFromHTTPSToHTTPAllowed; } - (void)setDelegate: (id <OFHTTPRequestDelegate>)delegate_ { |
︙ |
Modified src/OFStreamObserver.h from [c3f9253037] to [b5736c8412].
︙ | |||
89 90 91 92 93 94 95 | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | - + | #ifdef _WIN32 struct sockaddr_in cancelAddr; #endif OFMutex *mutex; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/OFStreamObserver.m from [fa968ce497] to [b9eb3c11d8].
︙ | |||
43 44 45 46 47 48 49 | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | - - | # import "OFStreamObserver_select.h" #endif #import "OFInitializationFailedException.h" #import "OFNotImplementedException.h" #import "OFOutOfRangeException.h" |
︙ | |||
157 158 159 160 161 162 163 | 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | - - + - + | } - (void)dealloc { close(cancelFD[0]); close(cancelFD[1]); |
︙ |
Modified src/OFXMLElementBuilder.h from [96a89a4612] to [1346588c64].
︙ | |||
105 106 107 108 109 110 111 | 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | - + | @interface OFXMLElementBuilder: OFObject <OFXMLParserDelegate> { OFMutableArray *stack; id <OFXMLElementBuilderDelegate> delegate; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/OFXMLElementBuilder.m from [975d3652b4] to [1a6ed6de0a].
︙ | |||
50 51 52 53 54 55 56 | 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | - - + - + | return self; } - (void)dealloc { [stack release]; |
︙ |
Modified src/OFXMLParser.h from [6eacff2ae6] to [32c6093d57].
︙ | |||
166 167 168 169 170 171 172 | 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | - + | size_t lineNumber; BOOL lastCarriageReturn; BOOL finishedParsing; of_string_encoding_t encoding; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/OFXMLParser.m from [e2b24f34eb] to [6cac706d3c].
︙ | |||
32 33 34 35 36 37 38 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | - - | #import "OFFile.h" #import "OFAutoreleasePool.h" #import "OFInitializationFailedException.h" #import "OFMalformedXMLException.h" #import "OFUnboundNamespaceException.h" |
︙ | |||
209 210 211 212 213 214 215 | 207 208 209 210 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 236 237 238 239 240 | - - - + - + | } return self; } - (void)dealloc { |
︙ |