1. 15 Mar, 2022 3 commits
  2. 14 Mar, 2022 11 commits
  3. 13 Mar, 2022 2 commits
  4. 11 Mar, 2022 3 commits
  5. 10 Mar, 2022 1 commit
  6. 09 Mar, 2022 3 commits
  7. 08 Mar, 2022 3 commits
  8. 07 Mar, 2022 2 commits
  9. 28 Feb, 2022 1 commit
  10. 23 Feb, 2022 2 commits
  11. 22 Feb, 2022 5 commits
    • Dridi Boukelmoune's avatar
      vmod_cookie: Rename format_rfc1123() to format_date() · ddb8f326
      Dridi Boukelmoune authored
      This was supposed to happen before the first release including the VMOD
      but it got OBE at the time.
      ddb8f326
    • Dridi Boukelmoune's avatar
      vcc: New $Alias stanza for VMODs · ceb88d2e
      Dridi Boukelmoune authored
      It is now possible to rename a symbol from a VMOD without breaking
      existing code until the VMOD author decides to remove the deprecated
      alias.
      
      The VCC file syntax is simply:
      
          $Alias <alias> <function>
      
          [Optional description]
      
          $Alias <.alias> <obj.method>
      
          [Optional description]
      
      The alias can only apply to a $Function or $Method.
      
      The generated RST looks like this for a method:
      
          ALIAS x<object>.<name>()
          ------------------------
      
          Deprecated alias for ``x<object>.<method>()``.
      
          [Optional description]
      
      It looks the same for a function without the $Object prefix. Aliases
      don't have a reference label for sphinx docs, the goal is not to make
      them prominent, but rather to have the ability to move them to a manual
      section for deprecated symbols at the end of the document.
      ceb88d2e
    • Dridi Boukelmoune's avatar
      vcc: Allow aliases among VCL variables · 10d386c6
      Dridi Boukelmoune authored
      The script expects aliases to be defined like this in the RST docs:
      
          my.alias ``VCL <= 4.1``
      
              Type: DEPRECATED
      
      	Alias of: something.else
      
      	A little description is still necessary.
      
      There is no DEPRECATED type in addition to the SYM_ALIAS kind, this
      is a purely cosmetic suggestion.
      
      Deprecated aliases should probably have a high VCL version limit like
      in the example above, generate.py doesn't enforce it so far.
      10d386c6
    • Dridi Boukelmoune's avatar
      vcc: New SYM_ALIAS kind for deprecated symbols · 3b6b1124
      Dridi Boukelmoune authored
      Aliases are a new strictly internal kind of symbols with zero runtime
      cost. They resolve implicitly to the destination symbol, even when they
      are created.
      
      This should facilitate renaming things in the future. One thing we
      could do is to have libvcc warn about deprecated aliases (subject to
      a new vcc_err_alias parameter too) to make this visible not just in
      the documentation.
      3b6b1124
    • Dridi Boukelmoune's avatar
      param: Rename conflicting EXPERIMENTAL macros · 006f3ec4
      Dridi Boukelmoune authored
      There was already a macro called EXPERIMENTAL, so it clashes with the
      new set of EXPERIMENTAL* macros. Anything directly referring to the
      parameter keeps the experimental prefix, otherwise, experiment.
      
      Spotted by Flexelint.
      006f3ec4
  12. 21 Feb, 2022 4 commits