openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
CHDataStructures
Settings
|
Report Duplicate
5
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Inactive
Commits
: Listings
Analyzed
about 8 hours
ago. based on code collected
about 8 hours
ago.
Feb 03, 2025 — Feb 03, 2026
Showing page 5 of 26
Search / Filter on:
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.
Quinn Taylor
More...
almost 16 years ago
Tweaks to unit tests for removing objects from CHCircularBuffer, including 3 new test arrays.
Quinn Taylor
More...
almost 16 years ago
Added a #define to map objc_memmove_collectable to memmove for iPhone OS, where it doesn't exist.
Quinn Taylor
More...
almost 16 years ago
Clarified comments about usage of __attribute__((constructor)) in previous commit.
Quinn Taylor
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.
Quinn Taylor
More...
almost 16 years ago
Tweaked comment placement so the test is more readable and the description is more correct.
Quinn Taylor
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.
Quinn Taylor
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.
Quinn Taylor
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.
Quinn Taylor
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.
Quinn Taylor
More...
almost 16 years ago
Added custom -dealloc method to CHOrderedSet so the collection for maintaining object ordering won't be leaked.
Quinn Taylor
More...
almost 16 years ago
Removed some unused comments from earlier debugging.
Quinn Taylor
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.
Quinn Taylor
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.
Quinn Taylor
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.
Quinn Taylor
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.
Quinn Taylor
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.
Quinn Taylor
More...
almost 16 years ago
Fixed the node color test in -debugDescriptionForNode: to match -dotGraphStringForNode: for better consistency.
Quinn Taylor
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.
Quinn Taylor
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.)
Quinn Taylor
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.
Quinn Taylor
More...
almost 16 years ago
Fixed unit test bugs with over-releasing and memory leaks; should always be autoreleased.
Quinn Taylor
More...
almost 16 years ago
Minor formatting and method call inlining, mostly in unit tests.
Quinn Taylor
More...
almost 16 years ago
Moved two utility functions to within Util.h/m and tweaked comment text to prevent documentation warnings.
Quinn Taylor
More...
almost 16 years ago
Stored copied key and value back to -setObject:forKey: parameters, since we don't really need extra variables.
Quinn Taylor
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.
Quinn Taylor
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.
Quinn Taylor
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.
Quinn Taylor
More...
almost 16 years ago
Simplified formatting of links to similar implementations of sorted and ordered dictionaries.
Quinn Taylor
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.
Quinn Taylor
More...
almost 16 years ago
←
1
2
3
4
5
6
7
8
9
…
25
26
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree