Initial Commit
Initial Commit: first working draft with caching of files
Reworked the filtering mechanism. It's now separated from the getter and the MDQuery results only get filtered on access.
Query Notification optimization and restructure
Reworked caching again to use a dedicated NSMutableArray cachedFiles. The files displayed are now separated from the cache and should only contain the actual files to work on. Added my modified Openmeta framework and an NSTask Code sample to start experimenting.
Implemented arbitrary search of cached files
Implemented first, very crappy, version of getting the tags for a TUSItem. Improved TUSQery initializer to throw an NSException. Added a few helpers when debugging.
Added openmeta again (wrong folder on disk)
First time using Openmeta to get tags from files
Stripped down OpenMeta.m to make it run on its own, other classes excluded from compile. Code style changes, added __autoreleasing for NSError** in out-parameters, removed backward compatibility for kOMUserTags.
@autoreleasepool tip implemented for for-loop over massive arrays during filtering. Implemented OpenMeta get and set UserTags using NSURL Category
Massive code reSTRUCTURing, no code changes (pragma marks, method grouping)
Method comments cleanup, it's now all in the Header. Again no code changes.
Missed it
Various changed due to NSError and NSException refactoring: I just learned:
NSException -> Developers, during test and dev (unrecoverable, programming errors)
NSError -> Users, during production to inform the user (unexpected conditions and events)
Utils and Privat Method refactoring, nothing big
Attempting to implement the new API, more utils checking an refactoring
BIGGEST REFACTOR SO FAR. Deprecated most of the old API in attempt to create a better, more suited one. Also removed the first steps at the API done earlier, the new API shouldn't just implement the old one just with NSURL, as the data flow of the old API should be improved. Some comments cleanup (most of it should go into a documentation). Implemented the canonical accessors for Xattr's, which form the building blocks for the new API. Also NSError* error = nil; before a call.
Project Setup only (moving files, adding missing stuff)
Moving Comment and documentation. Errorcode refactoring.