Comment: | More documentation improvements. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8490c927d2a9469ce7421627fe9acf8d |
User & Date: | js on 2011-05-05 21:17:19 |
Other Links: | manifest | tags |
2011-05-08
| ||
13:10 | Fix a typo in OFMD5Hash.m. check-in: b8052b3f65 user: js tags: trunk | |
2011-05-05
| ||
21:17 | More documentation improvements. check-in: 8490c927d2 user: js tags: trunk | |
2011-05-04
| ||
22:35 | Improve Doxyfile. check-in: 8588bd03b2 user: js tags: trunk | |
Modified src/OFApplication.h from [abd0f46934] to [530227dea1].
︙ | |||
34 35 36 37 38 39 40 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | - - + + - + | */ #ifndef OF_APPLICATION_M @protocol OFApplicationDelegate <OFObject> #else @protocol OFApplicationDelegate #endif /** |
︙ | |||
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 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 189 190 | + + + + + + + + - + - + - + - + - + + + + + + + + + - + - + + + - + - + | @property (readonly, copy) OFString *programName; @property (readonly, copy) OFArray *arguments; @property (readonly, copy) OFDictionary *environment; @property (retain) id <OFApplicationDelegate> delegate; #endif /** * \brief Returns the only OFApplication instance in the application. * * \return The only OFApplication instance in the application */ + sharedApplication; /** * \brief Returns the name of the program (argv[0]). * * \return The name of the program (argv[0]) */ + (OFString*)programName; /** * \brief Returns the arguments passed to the application. * * \return The arguments passed to the application */ + (OFArray*)arguments; /** * \brief Returns the environment of the application. * * \return The environment of the application */ + (OFDictionary*)environment; /** |
︙ |
Modified src/OFApplication.m from [f78cb5e637] to [af28ed9259].
︙ | |||
29 30 31 32 33 34 35 36 37 38 39 40 41 42 | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | + + | #import "OFString.h" #import "OFArray.h" #import "OFDictionary.h" #import "OFAutoreleasePool.h" #import "OFNotImplementedException.h" #import "macros.h" #ifndef __MACH__ extern char **environ; #endif static OFApplication *app = nil; static void |
︙ | |||
185 186 187 188 189 190 191 | 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 | - + - + - + - + - - - + | { *argc_ = argc; *argv_ = argv; } - (OFString*)programName { |
︙ |
Modified src/OFArray.h from [acc0282c12] to [ef89fea76a].
︙ | |||
36 37 38 39 40 41 42 43 44 45 46 47 | 36 37 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 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 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 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 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 | + + - + - + - + - - + + - + - + - + - + - - + + + + - + - - + + - - + + - + - + - - + + - + + - + - + - - + + - + - + - - + + | @interface OFArray: OFObject <OFCopying, OFMutableCopying, OFCollection, OFFastEnumeration> { OFDataArray *array; } /** * \brief Creates a new OFArray. * * \return A new autoreleased OFArray */ + array; /** |
︙ |
Modified src/OFAutoreleasePool.h from [a9ab0a42bf] to [490a0d1357].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | - + - - + + - + - + + + - + - + - + - + - + - - + + | * The OFAutoreleasePool class is a class that keeps track of objects that will * be released when the autorelease pool is released. * * Every thread has its own stack of autorelease pools. */ @interface OFAutoreleasePool: OFObject { |
Modified src/OFAutoreleasePool.m from [152777f944] to [9d07df10aa].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | - + - + - + - + - + - + - + - + - - + + - + - + - + - + - - + + - + - - + + - + - - + + - + - - + + - + - + - + | #import "OFArray.h" #import "OFInitializationFailedException.h" #import "OFNotImplementedException.h" #ifdef OF_THREADS # import "threading.h" |
︙ | |||
164 165 166 167 168 169 170 | 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 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | - + - + - + - - + + - - + + - - + + | [self dealloc]; } - (void)dealloc { size_t i; |
︙ |
Modified src/OFBlock.h from [9fe373d7f9] to [bf2b3b26d3].
︙ | |||
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | + + + | #ifndef Block_copy # define Block_copy(x) ((__typeof__(x))_Block_copy((const void*)(x))) #endif #ifndef Block_release # define Block_release(x) _Block_release((const void*)(x)) #endif /** * \brief The class for all blocks, since all blocks are also objects. */ @interface OFBlock: OFObject @end @interface OFStackBlock: OFBlock @end @interface OFGlobalBlock: OFBlock @end @interface OFMallocBlock: OFBlock @end |
Modified src/OFCollection.h from [68e0dd67a3] to [6f614eaec7].
︙ | |||
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | + + + + + + + + + + + | */ @protocol OFCollection <OFObject> #ifdef OF_HAVE_PROPERTIES @property (readonly) size_t count; #endif /** * \brief Returns the number of objects in the collection. * * \return The number of objects in the collection */ - (size_t)count; /** * \brief Returns an OFEnumerator to enumerate through all objects of the * collection. * * \returns An OFEnumerator to enumerate through all objects of the collection */ - (OFEnumerator*)objectEnumerator; /** * \brief Checks whether the collection contains an object equal to the * specified object. * * \param The object which is checked for being in the collection * \return A boolean whether the collection contains the specified object */ - (BOOL)containsObject: (id)object; /** * \brief Checks whether the collection contains an object with the specified * address. * * \param The object which is checked for being in the collection * \return A boolean whether the collection contains an object with the * specified address. */ - (BOOL)containsObjectIdenticalTo: (id)object; @end |
Modified src/OFDataArray+Hashing.h from [de4d700a3e] to [2c45f510bc].
︙ | |||
28 29 30 31 32 33 34 35 36 37 38 39 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | + + + + - + | /** * The OFDataArray (Hashing) category provides methods to calculate hashes for * data arrays. */ @interface OFDataArray (Hashing) /** * \brief Returns the MD5 hash of the data array as an autoreleased OFString. * * \return The MD5 hash of the data array as an autoreleased OFString */ - (OFString*)MD5Hash; /** * \brief Returns the SHA-1 hash of the data array as an autoreleased OFString. * |
Modified src/OFDataArray.h from [820a9e7684] to [6bb4b3ad3c].
︙ | |||
34 35 36 37 38 39 40 | 34 35 36 37 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 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 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 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 241 242 | - + - + - - + + - - + + - - + + - + - - + + - - + + - - + + - - + + + + + + + + - + + + + + - + - + - + - + - + - + - + + + - + | #ifdef OF_HAVE_PROPERTIES @property (readonly) size_t count; @property (readonly) size_t itemSize; #endif /** |
︙ |
Modified src/OFDate.h from [94535e3a6e] to [501c2125ce].
︙ | |||
24 25 26 27 28 29 30 31 32 33 34 35 36 37 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 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 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 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 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 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 | + + + + + + + + + + + + - + + + - + + + - + + - + + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + - + - + | @interface OFDate: OFObject <OFCopying, OFComparing> { int64_t seconds; uint32_t microseconds; } /** * \brief Creates a new OFDate with the current date and time. * * \return A new, autoreleased OFDate with the current date and time */ + date; /** * \brief Creates a new OFDate with the specified date and time since * 1970-01-01T00:00:00Z. * * \param seconds The seconds since 1970-01-01T00:00:00Z * \return A new, autoreleased OFDate with the specified date and time */ + dateWithTimeIntervalSince1970: (int64_t)seconds; /** * \brief Creates a new OFDate with the specified date and time since * 1970-01-01T00:00:00Z. * * \param seconds The seconds since 1970-01-01T00:00:00Z * \param microseconds The microsecond part of the time * \return A new, autoreleased OFDate with the specified date and time */ + dateWithTimeIntervalSince1970: (int64_t)seconds microseconds: (uint32_t)microseconds; /** * \brief Creates a new OFDate with the specified date and time since now. * * \param seconds The seconds since now * \return A new, autoreleased OFDate with the specified date and time */ + dateWithTimeIntervalSinceNow: (int64_t)seconds; /** * \brief Creates a new OFDate with the specified date and time since now. * * \param seconds The seconds since now * \param microseconds The microsecond part of the time * \return A new, autoreleased OFDate with the specified date and time */ + dateWithTimeIntervalSinceNow: (int64_t)seconds microseconds: (uint32_t)microseconds; /** |
Modified src/OFDictionary.h from [21642e8123] to [2c4b841ea9].
︙ | |||
44 45 46 47 48 49 50 | 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 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 189 190 191 192 193 194 195 196 | - + - + - + - + - + - + - - + + - - + + - - + + - - + + - - + + - + + + - + - + + - - + + | { struct of_dictionary_bucket **data; uint32_t size; size_t count; } /** |
︙ |
Modified src/OFEnumerator.h from [ce902d7cb6] to [49a8f37445].
︙ | |||
17 18 19 20 21 22 23 24 25 26 27 28 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | + + - - + + | #import "OFObject.h" /** * \brief A class which provides methods to enumerate through collections. */ @interface OFEnumerator: OFObject /** * \brief Returns the next object. * * \return The next object */ - (id)nextObject; /** |
︙ |