5
I Use This!
Inactive

Commits : Listings

Analyzed about 8 hours ago. based on code collected about 8 hours ago.
Feb 03, 2025 — Feb 03, 2026
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Tweaked removal unit tests to include the original test array in the assertion description to help narrow down the cause of any failures. More... almost 16 years ago
Tweaks to unit tests for removing objects from CHCircularBuffer, including 3 new test arrays. More... almost 16 years ago
Added a #define to map objc_memmove_collectable to memmove for iPhone OS, where it doesn't exist. More... almost 16 years ago
Clarified comments about usage of __attribute__((constructor)) in previous commit. More... almost 16 years ago
Marked initializeGCStatus() function with __attribute__((constructor)) so it is run when the library is loaded. This allows us to eliminate +initialize methods in 4 high-level classes and eliminate the function prototype from Util.h. More... almost 16 years ago
Tweaked comment placement so the test is more readable and the description is more correct. More... almost 16 years ago
Beefed up tests for CHCircularBuffer to improve coverage and completeness. In particular, -removeObjectAtIndex: is now tested thoroughly, with full branch coverage. Reformulated -checkCountMatchesDistanceFromHeadToTail: as a macro so test failures get mapped to the correct source line. More... almost 16 years ago
Refactoring on -[CHCircularBuffer removeObjectAtIndex:] to simplify logic and readability. Also tweaked decrementIndex() macro, -insertObject:atIndex:, and added a todo comment for improving indexed insert/remove efficiency. More... almost 16 years ago
Simplified index range checks for exchanging objects at given indexes so the test can short-circuit if the first index is invalid and we don't always have to find the MAX of the two indexes. More... almost 16 years ago
Updated -initWithCapacity: for ordered set and dictionary to pass along the provided capacity when initializing the collection that maintains ordering internally. More... almost 16 years ago
Added custom -dealloc method to CHOrderedSet so the collection for maintaining object ordering won't be leaked. More... almost 16 years ago
Removed some unused comments from earlier debugging. More... almost 16 years ago
Removed description format strings for nearly all unit test assertions. Better code comments and less redundancy in the actual failure message makes for easier-to-read errors. Since double-clicking on an error causes Xcode to jump to the line where the failed assertion appears, wordy explanations are unnecessary and cause bloat of NSString constants. Also fixed some memory management issues that caused crashes under non-GC and used autorelease more extensively. More... almost 16 years ago
Migrated from using memmove() and memcpy() to objc_memmove_collectable(). See http://stackoverflow.com/questions/2235510/ for discussion on possible implications for garbage collection. Also switched to using bzero() instead of memset() with 0 as the second parameter. More... almost 16 years ago
Removed check before CFRelease in dealloc, since the CFTypeRef being released can only be NULL if the initialization was faulty and the object was added to an autorelease pool after +alloc and before -init... was called. Also swapped tests for index and count in CHCircularBuffer so that all possible branches can be tested without the test short-circuiting. More... almost 16 years ago
Updated unit testing script to use gcov-4.0 (matching compiler version for Coverage), add legend, and exclude function coverage since line coverage is more helpful with so few C functions in the code. More... almost 16 years ago
Updated bundled lcov scripts to version 1.8, plus extensive custom modifications to improve markup and styling. This new version supports function and branch coverage, sorting by column, and several other features. More... almost 16 years ago
Fixed the node color test in -debugDescriptionForNode: to match -dotGraphStringForNode: for better consistency. More... almost 16 years ago
Changed -createLock in implementations of CHLockable to use -[NSLock setName:] unconditionally if on 10.5 or higher with a compile macro, rather than using -respondsToSelector: and -performSelector:withObject: as before. More... almost 16 years ago
Simple fixes to raise an exception when -exchangeObjectAtIndex:withObjectAtIndex: is called with an index that is outside the bounds of the receiver. (Resolves an off-by-one bug with count.) More... almost 16 years ago
Refactored unit tests for CHSortedSet implementations into a single file and created an inheritance hierarchy among the tests, which avoids a lot of while loops over the classes. Streamlined tests to use fewer temporary variables and to be more concise, and hopefully more readable. Removed references to deleted files from Xcode projects. More... almost 16 years ago
Fixed unit test bugs with over-releasing and memory leaks; should always be autoreleased. More... almost 16 years ago
Minor formatting and method call inlining, mostly in unit tests. More... almost 16 years ago
Moved two utility functions to within Util.h/m and tweaked comment text to prevent documentation warnings. More... almost 16 years ago
Stored copied key and value back to -setObject:forKey: parameters, since we don't really need extra variables. More... almost 16 years ago
Replace use of OBJC_EXTERN (not available pre-10.6) with OBJC_EXPORT, which it should have been to begin with. More... almost 16 years ago
Added CHBidirectionalDictionary class to project, complete with documentation and unit tests, and included in the framework umbrella header file. Minor tweaks to main page of generated documentation. More... almost 16 years ago
Minor refactoring of custom dictionary unit tests so keyArray is only initialized once and -setUp methods don't need to call super. Added explicit unit test for -objectEnumerator. More... almost 16 years ago
Simplified formatting of links to similar implementations of sorted and ordered dictionaries. More... almost 16 years ago
Refactored creation of CFMutableDictionaryRef into a function that subclasses can call directly, and use it in this class. Shortened names of CFDictionary callbacks. Added explicit -objectEnumerator implementation. More... almost 16 years ago