Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 3 KB

TODO.md

File metadata and controls

44 lines (39 loc) · 3 KB

TODO

  • a Mustache template linter that can run as a build phase
    • warns of syntax errors
    • warns of compatibility issues: {{ a/b }} syntax is deprecated, used a.b instead, etc.
  • Document that errors are no longer logged.
  • check that {{^ [NSNull null]|@NO }}...{{.}}...{{/}} does not mess with the {{.}}
  • Consider replacing GRMustacheTemplate.partialNode with GRMustacheTemplate.templateAST
  • Rename identifier to name
  • Fix link to filters Guide from GRMustacheFilter.h
  • Document [GRMustacheTemplateRepository templateRepositoryWithDictionary:] changes (mutability of the dictionary)
  • Document [GRMustacheTemplateRepository reloadTemplates] in release notes.
  • Test [GRMustacheTemplateRepository reloadTemplates].
  • have [GRMustacheTemplate templateFromString:error:] use current repository & content type, and deprecate GRMustacheTag.templateRepository
  • [?] have GRMustacheTemplateRepository cache template from string (for faster rendering objects)
  • expose GRMustacheTemplate.templateRepository
  • document dropped support for garbage collection
  • pass http://twitter.github.com/hogan.js/ inheritable template tests
  • pass https://github.com/spullara/mustache.java inheritable template tests
  • Update the documentation to de-emphasize KVC exceptions.
  • Consistent use of the "template inheritance" wording.
  • Rewrite documentation for default values for any keys
  • Remove all GRMustacheContext subclassing documentation
  • Document secure key access to Foundation classes
  • Document the drop of support for adding context into another context
  • Rename "protected context" to "Priority keys"
  • change version method
  • have overridable section use their own identifiers, not expressions.
  • Fetch inspiration from "faster mutable strings" in fotonauts/handlebars-objc (https://github.com/fotonauts/handlebars-objc/commit/f2cbde7e12b1fb594c2807a57bd2ecd2adb839b4)
    • for escaping methods
    • for rendering buffers
  • Remove GRMustacheContext subclasses.
  • safe property access (https://github.com/fotonauts/handlebars-objc/blob/master/doc/ContextObjects.md#why-does-handlebars-limit-access-to-some-attributes-that-are-normally-accessible-using-key-value-coding)
    • Add GRMustacheContext.allowsAllKeys
    • Rename validMustacheKeys to allowedMustacheKeys or something like that. Be consistent with GRMustacheContext.allowsAllKeys
    • Tests for secure key access
  • examine dependencies using https://github.com/nst/objc_dep $ python objc_dep.py -x "(GRMustacheAvailabilityMacros)" ~/Documents/git/groue/GRMustache/src/classes/ > ~/Desktop/GRMustacheDeps.dot

Nice to have

  • document migration path from all previous versions to latest version
  • > But they do allow Xcode to see the symbols when creating the final executable and allow the static library symbols to get included in the final DSYM file thereby allowing full symoblication of crash reports. (RestKit/RestKit#1277)