30 Commits
Author SHA1 Message Date
Steve Nygard 0970c7297d Update copyrights. 2019-03-01 23:58:53 -07:00
Steve Nygard 69d1f19afb Update copyrights for 2015. 2015-04-21 21:19:12 -06:00
Steve Nygard 5dae84a50a Update copyrights for 2014. 2014-02-10 17:39:41 -07:00
Steve Nygard a0a8284924 Update bits of code style. 2014-02-10 17:33:46 -07:00
Andrew Richardson a31314f061 Forward-declare protocols instead of importing them when possible 2014-01-05 19:09:24 -08:00
Andrew Richardson 397cb4564c -Correctly handle object types with both a class name and a protocol (ie. NSObject<NSCopying> *) referenced in methods and ivars
-Add imports for protocols referenced in types
2014-01-05 18:58:49 -08:00
Andrew Richardson 7cd199dec9 Use current framework for protocol imports (since they’re currently all declared in the dump for that framework, rather than attempting to infer their real source framework) 2014-01-05 16:19:24 -08:00
Andrew Richardson 60aa5002a5 -Append “-Protocol” to protocol imports to match the behaviour of class-dump’s exporting of protocol headers
-Map CoreFoundation NS* classes to Foundation imports, so imports for NSObject, NSArray, etc use the public headers by default
2014-01-05 15:48:22 -08:00
Steve Nygard 490b1f7567 Update copyrights for 2013. 2013-09-29 23:42:53 -06:00
Steve Nygard 8e7b4163da Update TODOs so that they appear in the Xcode jump bar. 2012-12-09 22:03:35 -07:00
Steve Nygard 607f0ed889 Rename CDOCIvar to CDOCInstanceVariable. 2012-12-09 21:59:49 -07:00
Steve Nygard 57f2db9bca Remove forward delcarations of methods in implementation files. 2012-07-16 00:01:48 -06:00
Steve Nygard 7311f55e8a Use Objective-C literals and array/dictionary indexing.
Skipped a few places where the indexing resulted in ugly code.
  - [object returnsAnArray][0]
  - array[[object returnsAtInt]]
2012-07-15 23:49:23 -06:00
Steve Nygard 33c1478306 Prefix instance variables with _, and synthesize by default. 2012-07-15 22:10:34 -06:00
Steve Nygard c5bf33b862 Generate imports for referenced protocols (instead of just @protocol), just like we did before.
Realized there's a bug with how we generate imports for adopted protocols in *-Protocol.h files.
2012-02-28 14:00:26 -07:00
Steve Nygard 615d1ab627 Added stub for -frameworkForProtocolName: 2012-02-28 13:54:04 -07:00
Steve Nygard 0e0928d34c Rearranged methods. Renamed some methods. 2012-02-28 13:47:05 -07:00
Steve Nygard 7a80b19542 Merged CDSymbolReferences into CDMultiFileVisitor. 2012-02-28 13:16:55 -07:00
Steve Nygard 83ecc9e964 Prefixed some instance variables with _. 2012-02-26 08:23:11 -07:00
Steve Nygard 1eb938d67b Moved symbolReferences from CDTextClassDumpVisitor into CDMultiFileVisitor. 2012-02-26 07:53:25 -07:00
Steve Nygard 34d24a9206 Removed symbolReferences parameter from many methods. 2012-02-26 07:25:37 -07:00
Steve Nygard fa53edd750 Have CDType notify the formatter that it referneces a class during formatting, instead of using the CDSymbolReferences directory.
The formatter passes it to the type controller, which passes it along to the delegate (CDMultiFileVisitor).
This works for now, but it might be better to return the set of names when you format a type instead.
2012-02-26 07:06:17 -07:00
Steve Nygard 2ccd217b07 Trying to understand and simplify this code.
Just generate forward references for protocols instead of imports.
2012-02-26 06:30:54 -07:00
Steve Nygard cb858905a9 ARC refactoring. Reviewed those changes and tweaked, but it still doesn't build.
Changed deployment target to 10.7.
2012-02-25 07:12:46 -07:00
Steve Nygard 57952912cf More style updates. 2012-02-24 00:42:28 -07:00
Steve Nygard 01051b8508 Added CDExtensions.h, which imports all the extensions. Import this in the prefix headers. Removed those imports from the rest of the files. 2012-02-24 00:42:28 -07:00
Steve Nygard 801207f60c Working on the visitor classes and CDSearchPathState.
- use properties
- rearranged some methods in implementations
- made some methods and properties private to particular classes
- renamed parameters to get rid of a/an/some prefixes
- renamed findString to searchString
2012-02-24 00:42:27 -07:00
Steve Nygard 2d196e692d Moved ivars into implementations. CDObjectiveCProcessor required additional API for subclasses. 2012-02-24 00:42:22 -07:00
Steve Nygard a8f187eea2 Updated copyrights for 2012. 2012-02-24 00:30:28 -07:00
Steve Nygard 097f5ec5c9 Moved most source files into Source directory. 2011-09-07 15:43:43 -06:00