1. 07 Sep, 2022 1 commit
  2. 06 Sep, 2022 1 commit
  3. 05 Sep, 2022 6 commits
  4. 01 Sep, 2022 1 commit
  5. 31 Aug, 2022 1 commit
  6. 30 Aug, 2022 7 commits
  7. 29 Aug, 2022 11 commits
  8. 26 Aug, 2022 5 commits
    • Dridi Boukelmoune's avatar
      cocci: Make isomorphisms actually work · dab8e4ac
      Dridi Boukelmoune authored
      It turns out declaring typedefs in coccinelle works better with the
      typedef keyword. Reusing the same keyword for the same purposes seems
      so obvious in hindsight.
      
      What happened before was that a generic type would be created, making
      VCL_BOOL or VCL_VOID match virtually any type, completely defeating
      the isomorphism purpose. With this out of the way, we can actually
      resume the effort of adding more typedefs.
      
      To summarize:
      
      - we should declare a typedef as an isomorphism
      - we should define macros as such
      
      I'm considering renaming tools/coccinelle/vdef.h to varnish.h to match
      the varnish.iso file name and wrapping the README instructions in a new
      shell script.
      dab8e4ac
    • Dridi Boukelmoune's avatar
      Revert "Swap isomorphism subjects" · 2af77a57
      Dridi Boukelmoune authored
      This reverts commit c722eb77.
      
      It didn't change anything and it certainly didn't fix anything either.
      2af77a57
    • Dridi Boukelmoune's avatar
      cocci: Remove VRT_CTX isomorphism attempt · eb834f8e
      Dridi Boukelmoune authored
      It does not work, and it is inaccurate since it doesn't include the ctx
      identifier that is normally part of the definition (it can't anyway).
      
      Refs f5b0b201
      eb834f8e
    • Dridi Boukelmoune's avatar
      cocci: Apply printf_nofmt.cocci again · b43d539c
      Dridi Boukelmoune authored
      b43d539c
    • Dridi Boukelmoune's avatar
      cocci: Help spatch operate on VMODs · 077ed037
      Dridi Boukelmoune authored
      Successfully tested with a dummy semantic patch:
      
          @@
          idexpression ctx, caller;
          @@
      
          -CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
          +AN(ctx);
           CHECK_OBJ_NOTNULL(caller, DEBUG_CALLER_MAGIC);
          -AN(caller->sub);
          +assert(caller->sub);
      
      I decided to cram all definitions in the existing vdef.h file to keep
      our relatively simple setup. We can add more macros as we learn what
      coccinelle trips over.
      
      Refs f5b0b201
      077ed037
  9. 23 Aug, 2022 2 commits
  10. 16 Aug, 2022 4 commits
  11. 15 Aug, 2022 1 commit
    • Nils Goroll's avatar
      Flexelinting · 373caaf2
      Nils Goroll authored
      After #3515 merge
      
      I do not understand
           Warning 552: Symbol 'vpi_wrk_len' (line 50, file cache/cache_vpi.c) not accessed
      
      It is used for array sizing, so I have silenced the warning.
      373caaf2