1. 20 Apr, 2018 3 commits
  2. 12 Apr, 2018 3 commits
  3. 11 Apr, 2018 8 commits
  4. 10 Apr, 2018 5 commits
    • Evan Hunt's avatar
      Merge branch '183-add-dns_fixedname_initname-v9_11' into 'v9_11' · 920eb326
      Evan Hunt authored
      Add and use dns_fixedname_initname()
      
      Closes #183
      
      See merge request !161
      920eb326
    • Mukund Sivaraman's avatar
      Add CHANGES entry: · 984182a3
      Mukund Sivaraman authored and Evan Hunt's avatar Evan Hunt committed
      4921.   [cleanup]       Add dns_fixedname_initname() and refactor the caller
                              code to make usage of the new function, as a part of
                              refactoring dns_fixedname_*() macros were turned into
                              functions. [GL #183]
      
      (cherry picked from commit d7faee25)
      (cherry picked from commit d7676d0f)
      984182a3
    • Michał Kępień's avatar
      Do not access dns_fixedname_t fields directly · ab88043e
      Michał Kępień authored and Evan Hunt's avatar Evan Hunt committed
      Employ dns_fixedname_name() and dns_fixedname_initname() to no longer
      directly access dns_fixedname_t fields.
      
      (cherry picked from commit 39ddf999)
      (cherry picked from commit 706f865a)
      ab88043e
    • Michał Kępień's avatar
      Use dns_fixedname_initname() where possible · ecea678d
      Michał Kępień authored and Evan Hunt's avatar Evan Hunt committed
      Replace dns_fixedname_init() calls followed by dns_fixedname_name()
      calls with calls to dns_fixedname_initname() where it is possible
      without affecting current behavior and/or performance.
      
      This patch was mostly prepared using Coccinelle and the following
      semantic patch:
      
          @@
          expression fixedname, name;
          @@
          -	dns_fixedname_init(&fixedname);
          	...
          -	name = dns_fixedname_name(&fixedname);
          +	name = dns_fixedname_initname(&fixedname);
      
      The resulting set of changes was then manually reviewed to exclude false
      positives and apply minor tweaks.
      
      It is likely that more occurrences of this pattern can be refactored in
      an identical way.  This commit only takes care of the low-hanging fruit.
      
      (cherry picked from commit 4df4a8e7)
      (cherry picked from commit 0041aeb7)
      ecea678d
    • Mukund Sivaraman's avatar
      Add a dns_fixedname_initname() helper function · 1dea0795
      Mukund Sivaraman authored and Evan Hunt's avatar Evan Hunt committed
      This also turns the dns_fixedname macros into functions.
      
      (cherry picked from commit 0d2a03c2)
      (cherry picked from commit cee4fef7)
      1dea0795
  5. 06 Apr, 2018 6 commits
  6. 05 Apr, 2018 3 commits
  7. 04 Apr, 2018 11 commits
  8. 22 Mar, 2018 1 commit