Skip to content
  1. Feb 18, 2013
  2. Feb 13, 2013
  3. Feb 12, 2013
  4. Feb 09, 2013
    • Rene Saarsoo's avatar
      Move creation of :files field from File to Merger. · 6bf5167b
      Rene Saarsoo authored
      This way the Tag#merge method will have access to both the filename and linenr,
      which is useful for error reporting.
      
      Previously the Merger introduced :linenr field, which was largely unused, except
      for some tests checking it.  This resulted in exported JSON containing both :linenr
      and :files fields - but the latter already has :linenr inside it.  So another good
      step towards more consistency.
      6bf5167b
  5. Feb 08, 2013
  6. Feb 07, 2013
    • Rene Saarsoo's avatar
      Remove min-width constraints from docs app. · b373b507
      Rene Saarsoo authored
      For some reason the docs app had an hard-coded minimum with.
      This severely impacted the usability on iPad where the browser window
      width was smaller than our min-width, resulting in text going off the
      screen and there being no way to get to it.
      b373b507
  7. Feb 04, 2013
  8. Feb 03, 2013
  9. Feb 01, 2013
  10. Jan 31, 2013
  11. Jan 30, 2013
    • Rene Saarsoo's avatar
      Move subproperties formatting into Tag classes. · 9e6a2f06
      Rene Saarsoo authored
      The instantce of Format::Subproperties however is now created inside the
      Format::Doc class, which also has methods #format_subproperty
      and #format_type that delegate to Format::Subproperties class.
      9e6a2f06
    • Rene Saarsoo's avatar
      Remove relations from TypeParser constructor args. · 48becb04
      Rene Saarsoo authored
      Passing in the formatter is enough - we can extract relatons from that.
      48becb04
    • Rene Saarsoo's avatar
      Extract Format::Subproperties from Format::Class. · 0aef16ed
      Rene Saarsoo authored
      The Format::Class is now much-much cleaner.
      
      To avoid passing the Relations object explicitly around, add an
      accessor to Format::Doc - so we can just pass an instance of the
      formatter around and TypeParser can get the relations object
      from the formatter, which it gets passed anyway and which already
      includes the relations.
      0aef16ed
    • Rene Saarsoo's avatar
      Move use of Shortener inside Tag::Doc. · ccc0cdd9
      Rene Saarsoo authored
      Turn Shortener from singleton into normal class - simplifies testing,
      and in the context of Tag::Doc it only gets instantiated once anyway.
      
      Also rename :shortDoc to :short_doc - a more Rubysh name.
      ccc0cdd9
Loading