Overview
| Comment: | Remove semicolons that should not have been there. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | 0.5 |
| Files: | files | file ages | folders |
| SHA3-256: |
048ed6208334dc2b320bcc73e20e1f08 |
| User & Date: | js on 2011-06-06 16:19:03 |
| Other Links: | branch diff | manifest | tags |
Context
|
2011-06-13
| ||
| 03:47 | Fix -[conformsToProtocol:] for the old GNU runtime. (check-in: 6fa34f7811 user: js tags: 0.5) | |
|
2011-06-06
| ||
| 16:19 | Remove semicolons that should not have been there. (check-in: 048ed62083 user: js tags: 0.5) | |
| 16:07 | Correctly add -Wshorten-64-to-32. (check-in: 7eff95d3b4 user: js tags: 0.5) | |
Changes
Modified src/OFArray.m from [39f6c9eb94] to [21897744ee].
| ︙ | ︙ | |||
563 564 565 566 567 568 569 | [super dealloc]; } @end @implementation OFArrayEnumerator - initWithArray: (OFArray*)array_ dataArray: (OFDataArray*)dataArray_ | | | 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 |
[super dealloc];
}
@end
@implementation OFArrayEnumerator
- initWithArray: (OFArray*)array_
dataArray: (OFDataArray*)dataArray_
mutationsPointer: (unsigned long*)mutationsPtr_
{
self = [super init];
array = [array_ retain];
dataArray = [dataArray_ retain];
count = [dataArray count];
mutations = (mutationsPtr_ != NULL ? *mutationsPtr_ : 0);
|
| ︙ | ︙ |
Modified src/OFConstantString.m from [40257b41d9] to [e051d86f17].
| ︙ | ︙ | |||
50 51 52 53 54 55 56 |
- initWithCString: (const char*)str
{
@throw [OFNotImplementedException newWithClass: isa
selector: _cmd];
}
- initWithCString: (const char*)str
| | | 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
- initWithCString: (const char*)str
{
@throw [OFNotImplementedException newWithClass: isa
selector: _cmd];
}
- initWithCString: (const char*)str
encoding: (of_string_encoding_t)encoding
{
@throw [OFNotImplementedException newWithClass: isa
selector: _cmd];
}
- initWithCString: (const char*)str
encoding: (of_string_encoding_t)encoding
|
| ︙ | ︙ |
Modified src/OFDictionary.m from [0776706270] to [beb073a948].
| ︙ | ︙ | |||
32 33 34 35 36 37 38 |
struct of_dictionary_bucket of_dictionary_deleted_bucket = {};
#define BUCKET struct of_dictionary_bucket
#define DELETED &of_dictionary_deleted_bucket
@implementation OFDictionary
| | | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
struct of_dictionary_bucket of_dictionary_deleted_bucket = {};
#define BUCKET struct of_dictionary_bucket
#define DELETED &of_dictionary_deleted_bucket
@implementation OFDictionary
+ dictionary
{
return [[[self alloc] init] autorelease];
}
+ dictionaryWithDictionary: (OFDictionary*)dict
{
return [[[self alloc] initWithDictionary: dict] autorelease];
|
| ︙ | ︙ |
Modified src/OFList.m from [80de30a57f] to [c7a2a0264c].
| ︙ | ︙ | |||
48 49 50 51 52 53 54 | for (iter = firstListObject; iter != NULL; iter = iter->next) [iter->object release]; [super dealloc]; } | | | | 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
for (iter = firstListObject; iter != NULL; iter = iter->next)
[iter->object release];
[super dealloc];
}
- (of_list_object_t*)firstListObject
{
return firstListObject;
}
- (of_list_object_t*)lastListObject
{
return lastListObject;
}
- (of_list_object_t*)appendObject: (id)obj
{
of_list_object_t *o;
|
| ︙ | ︙ | |||
344 345 346 347 348 349 350 | initWithList: self mutationsPointer: &mutations] autorelease]; } @end @implementation OFListEnumerator - initWithList: (OFList*)list_ | | | 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 |
initWithList: self
mutationsPointer: &mutations] autorelease];
}
@end
@implementation OFListEnumerator
- initWithList: (OFList*)list_
mutationsPointer: (unsigned long*)mutationsPtr_
{
self = [super init];
list = [list_ retain];
current = [list firstListObject];
mutations = *mutationsPtr_;
mutationsPtr = mutationsPtr_;
|
| ︙ | ︙ |
Modified src/OFObject.m from [66f93123ef] to [01ae05fc13].
| ︙ | ︙ | |||
360 361 362 363 364 365 366 | */ return class_replaceMethod(((OFObject*)self)->isa, selector, newimp, method_getTypeEncoding(method)); #endif } + (IMP)replaceClassMethod: (SEL)selector | | | 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 |
*/
return class_replaceMethod(((OFObject*)self)->isa, selector, newimp,
method_getTypeEncoding(method));
#endif
}
+ (IMP)replaceClassMethod: (SEL)selector
withMethodFromClass: (Class)class
{
IMP newimp;
if (![class isSubclassOfClass: self])
@throw [OFInvalidArgumentException newWithClass: self
selector: _cmd];
|
| ︙ | ︙ | |||
418 419 420 421 422 423 424 | return class_replaceMethod(self, selector, newimp, method_getTypeEncoding(method)); #endif } + (IMP)replaceInstanceMethod: (SEL)selector | | | 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 |
return class_replaceMethod(self, selector, newimp,
method_getTypeEncoding(method));
#endif
}
+ (IMP)replaceInstanceMethod: (SEL)selector
withMethodFromClass: (Class)class
{
IMP newimp;
if (![class isSubclassOfClass: self])
@throw [OFInvalidArgumentException newWithClass: self
selector: _cmd];
|
| ︙ | ︙ | |||
676 677 678 679 680 681 682 | if (nitems > SIZE_MAX / size) @throw [OFOutOfRangeException newWithClass: isa]; return [self resizeMemory: ptr toSize: nitems * size]; } | | | 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 |
if (nitems > SIZE_MAX / size)
@throw [OFOutOfRangeException newWithClass: isa];
return [self resizeMemory: ptr
toSize: nitems * size];
}
- (void)freeMemory: (void*)ptr
{
void **iter, *last, **memchunks;
size_t i, memchunks_size;
if (ptr == NULL)
return;
|
| ︙ | ︙ |
Modified src/OFString.m from [f7f948e263] to [44fb801c23].
| ︙ | ︙ | |||
1210 1211 1212 1213 1214 1215 1216 | if (i < 0) i = 0; return [OFString stringWithCString: string + i length: path_len - i]; } | | | 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 |
if (i < 0)
i = 0;
return [OFString stringWithCString: string + i
length: path_len - i];
}
- (OFString*)stringByDeletingLastPathComponent
{
size_t i, path_len = length;
if (path_len == 0)
return @"";
#ifndef _WIN32
|
| ︙ | ︙ |
Modified src/exceptions/OFCopyFileFailedException.m from [da0c6a5cd9] to [b4ff248d49].
| ︙ | ︙ | |||
85 86 87 88 89 90 91 |
}
- (OFString*)sourcePath
{
return sourcePath;
}
| | | 85 86 87 88 89 90 91 92 93 94 95 96 |
}
- (OFString*)sourcePath
{
return sourcePath;
}
- (OFString*)destinationPath
{
return destinationPath;
}
@end
|
Modified src/exceptions/OFRenameFileFailedException.m from [d24f625581] to [0319ec8956].
| ︙ | ︙ | |||
85 86 87 88 89 90 91 |
}
- (OFString*)sourcePath
{
return sourcePath;
}
| | | 85 86 87 88 89 90 91 92 93 94 95 96 |
}
- (OFString*)sourcePath
{
return sourcePath;
}
- (OFString*)destinationPath
{
return destinationPath;
}
@end
|