Skip to content
  1. Apr 22, 2013
    • Rene Saarsoo's avatar
      Use auto-merging for everything. · 4113fb40
      Rene Saarsoo authored
      Run the custom #merge methods only to do post-processing after
      the automerging has completed.
      
      Generally this means the #merge method is now mainly responsible
      for setting the default value.
      
      This eliminates the clunky calls to DocsCodeComparer class.
      4113fb40
    • Rene Saarsoo's avatar
      Remove #merge method from Default tag class. · 3ebec076
      Rene Saarsoo authored
      Let the auto-merging algorithm take care of this.
      
      Change the generic merging algorithm to merge all non-nil fields.
      Previously it checked for #key_exists? but in the case of :default
      the key existed but defaulted to nil.
      3ebec076
    • Rene Saarsoo's avatar
      5407cc87
    • Rene Saarsoo's avatar
      Don't auto-merge code when names don't match. · 47261b3b
      Rene Saarsoo authored
      Move name-detection to merger class and get rid of Tag::Name class
      completely.
      47261b3b
    • Rene Saarsoo's avatar
      Refactor #process_code to take just one param again. · cc10d44d
      Rene Saarsoo authored
      Instead of modifying the passed-in hash, the method now creates
      a hash by its own and returns it.
      cc10d44d
    • Rene Saarsoo's avatar
      Change #process_code to take two params. · 5fcb3ac4
      Rene Saarsoo authored
      Instead of just returning the hash, process_code will now add fields
      To the supplied context hash, with implementation in MemberTag covering
      the base case and subclasses adding their extra logic on top of that.
      
      Transformation of member name from "foo.bar.baz" to "baz" now
      happens within MemberTag#process_code, while Class#process_code leaves
      the name as is.
      
      The #process_code now gets called for every time - both when the member
      type was detected correctly and when it was not.
      5fcb3ac4
  2. Apr 20, 2013
  3. Apr 18, 2013
  4. Apr 15, 2013
    • Rene Saarsoo's avatar
      Make member signature rendering customizable. · 99b491a7
      Rene Saarsoo authored
      Split the Render::Signature into two classes:
      
       - MethodSignature
       - PropertySignature
      
      And add a third one for a shared method for generating the link:
      
       - SignatureUtil
      
      All the builtin member classes now have #to_html method which
      takes two parameters (differently from the normal #to_html that
      only takes one).  This probably can't stay this exact way.
      99b491a7
  5. Apr 03, 2013
  6. Apr 02, 2013
  7. Apr 01, 2013
  8. Mar 30, 2013
  9. Mar 28, 2013
  10. Mar 25, 2013
  11. Mar 22, 2013
  12. Mar 21, 2013
    • Rene Saarsoo's avatar
      Turn :autodetected field into hash. · 3f916406
      Rene Saarsoo authored
      Inside Ast auto-detection store there :tagname flag.
      Inside @param and @type merging store the :params and :type flags.
      
      Create Tag::Autodetected to do the merging of :autodetected fields
      from code and docs.
      3f916406
    • Rene Saarsoo's avatar
      Initial @inheritdoc restructuring work. · f4a90991
      Rene Saarsoo authored
      Splitted up the tests into three files.
      
      Changed around the rules of how inheritance works:
      
      - Only inheriting x when item itself doesn't define it.
      - No more combining local docs with inherited doc.
      - Recursive inheritance now resolves the parent, then inherits from
        it directly, not going to the bottom of inheritance chain and
        inheriting from it.
      f4a90991
  13. Mar 20, 2013
  14. Mar 19, 2013
Loading