Overview
Comment: | Remove semicolons that should not have been there. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
65ec63f7c1b2ecf0e1914a56433c4f9b |
User & Date: | js on 2011-06-06 16:18:36 |
Other Links: | manifest | tags |
Context
2011-06-06
| ||
16:19 | Add -Wsemicolon-before-method-body if available. check-in: 831997311c user: js tags: trunk | |
16:18 | Remove semicolons that should not have been there. check-in: 65ec63f7c1 user: js tags: trunk | |
16:07 | Correctly add -Wshorten-64-to-32. check-in: dec81cbbb6 user: js tags: trunk | |
Changes
Modified src/OFArray.m from [d9849bf024] to [cdeeda612a].
︙ | ︙ | |||
663 664 665 666 667 668 669 | [super dealloc]; } @end @implementation OFArrayEnumerator - initWithArray: (OFArray*)array_ dataArray: (OFDataArray*)dataArray_ | | | 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 | [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 [7e880e912a] to [ec22393fcd].
︙ | ︙ | |||
32 33 34 35 36 37 38 | #import "macros.h" struct of_dictionary_bucket of_dictionary_deleted_bucket = {}; #define DELETED &of_dictionary_deleted_bucket @implementation OFDictionary | | | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #import "macros.h" struct of_dictionary_bucket of_dictionary_deleted_bucket = {}; #define DELETED &of_dictionary_deleted_bucket @implementation OFDictionary + dictionary { return [[[self alloc] init] autorelease]; } + dictionaryWithDictionary: (OFDictionary*)dictionary { return [[[self alloc] initWithDictionary: dictionary] autorelease]; |
︙ | ︙ |
Modified src/OFList.m from [c6fdd3362f] to [8deaa7a6b1].
︙ | ︙ | |||
80 81 82 83 84 85 86 | for (iter = firstListObject; iter != NULL; iter = iter->next) [iter->object release]; [super dealloc]; } | | | | 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | 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)object { of_list_object_t *listObject; |
︙ | ︙ | |||
416 417 418 419 420 421 422 | initWithList: self mutationsPointer: &mutations] autorelease]; } @end @implementation OFListEnumerator - initWithList: (OFList*)list_ | | | 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 | 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 [4dfae6fcca] to [05402e39fd].
︙ | ︙ | |||
373 374 375 376 377 378 379 | */ return class_replaceMethod(((OFObject*)self)->isa, selector, newImp, method_getTypeEncoding(method)); #endif } + (IMP)replaceClassMethod: (SEL)selector | | | 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 | */ 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]; |
︙ | ︙ | |||
431 432 433 434 435 436 437 | return class_replaceMethod(self, selector, newImp, method_getTypeEncoding(method)); #endif } + (IMP)replaceInstanceMethod: (SEL)selector | | | 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 | 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]; |
︙ | ︙ | |||
690 691 692 693 694 695 696 | if (nItems > SIZE_MAX / size) @throw [OFOutOfRangeException newWithClass: isa]; return [self resizeMemory: pointer toSize: nItems * size]; } | | | 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 | if (nItems > SIZE_MAX / size) @throw [OFOutOfRangeException newWithClass: isa]; return [self resizeMemory: pointer toSize: nItems * size]; } - (void)freeMemory: (void*)pointer { void **iter, *last, **memoryChunks; size_t i, memoryChunksSize; if (pointer == NULL) return; |
︙ | ︙ |
Modified src/OFString.m from [52dddcfe5c] to [e237ea2567].
︙ | ︙ | |||
1173 1174 1175 1176 1177 1178 1179 | if (cmp > 0) return OF_ORDERED_DESCENDING; else return OF_ORDERED_ASCENDING; } | | | 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 | if (cmp > 0) return OF_ORDERED_DESCENDING; else return OF_ORDERED_ASCENDING; } - (of_comparison_result_t)caseInsensitiveCompare: (OFString*)otherString { const char *otherCString; size_t i, j, otherLen, minLen; int cmp; if (![otherString isKindOfClass: [OFString class]]) @throw [OFInvalidArgumentException newWithClass: isa |
︙ | ︙ | |||
1653 1654 1655 1656 1657 1658 1659 | if (i < 0) i = 0; return [OFString stringWithCString: string + i length: pathLen - i]; } | | | 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 | if (i < 0) i = 0; return [OFString stringWithCString: string + i length: pathLen - i]; } - (OFString*)stringByDeletingLastPathComponent { size_t i, pathLen = length; if (pathLen == 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 |