1. 24 Oct, 2017 1 commit
    • Poul-Henning Kamp's avatar
      Make vrt.h include <stddef.h> and <stdint.h> · 4c356d69
      Poul-Henning Kamp authored
      Originally we decided that the output of VCC should be 100%
      stand-alone and therefore contain no #includes at all.  This
      was hoped to avoid unspecified trouble with C-compilers at runtime.
      
      But C99 is old enough to drink now, so we move forward.
      
      The script in tools/include_wash.py checks *.c files and
      complains about violations of our intended #include orders.
      4c356d69
  2. 23 Oct, 2017 11 commits
  3. 22 Oct, 2017 8 commits
  4. 21 Oct, 2017 3 commits
  5. 18 Oct, 2017 1 commit
  6. 15 Oct, 2017 1 commit
  7. 13 Oct, 2017 1 commit
  8. 12 Oct, 2017 4 commits
  9. 10 Oct, 2017 1 commit
    • Nils Goroll's avatar
      struct vfp_ctx init cleanup · b60c09bf
      Nils Goroll authored
      ensure wrk is always set and, for the backend side, move vfp_ctx setup to a
      single place in vbf_stp_startfetch()
      
      Fixes #2453
      b60c09bf
  10. 06 Oct, 2017 2 commits
  11. 05 Oct, 2017 7 commits
    • Nils Goroll's avatar
      9f6c0dea
    • Nils Goroll's avatar
      Simplify make rules for vsc files and remove duplication · 042a98bc
      Nils Goroll authored
      We use an implicit rule to tell make how to turn vsc into c and
      manually define the vsc files in Makefile.am. The implicit rule tells
      automake to add .vsc to SUFFIXES, which in turn allows us to add the
      actual vscs to varnishd_SOURCES.
      
      To avoid triple configuration of the list of built VSC .c and .h
      files, we generate these in configure. AC_SUBSTing files into _SOURCES
      is forbidden by autoconf for a good reason: Adding sources to the
      build should remain an explicit process to avoid accidentally
      compiling in code just because someone had files with a magic name
      lying around.
      
      As the implicit .vsc -> .c rule does not allow for additional
      dependencies, we add in the dependency to vsctool using the
      auto-generated list of c files.
      
      BUILT_SOURCES is used to ensure that, for default make targets,
      headers generated from vscs are always present before the actual
      varnishd sources are being build, of which some depend on vsc
      headers. For subsequent builds, include dependency tracking takes
      over.
      
      The Makefile rules are deliberately simple to hopefully cover all make
      flavours available on the planet. Notice that, for example, if we
      limited ourselves to gmake, we could use much simpler substitution
      rules to generate VSC_GEN_C and _H instead of the de-tour via
      configure.
      
      Portability is also the reason for renaming all vsc files.
      042a98bc
    • Poul-Henning Kamp's avatar
      Give the tcp-pool API a protocol identifier, so we don't accidentally · f6b9c11a
      Poul-Henning Kamp authored
      recycle connections between protocols.
      f6b9c11a
    • Poul-Henning Kamp's avatar
      More tcp-pool related renaming · 43a72823
      Poul-Henning Kamp authored
      43a72823
    • Nils Goroll's avatar
      Another go at the VSC generated files · 88aab699
      Nils Goroll authored
      Should fix distcheck
      
      someone(tm) might revisit this again later
      88aab699
    • Nils Goroll's avatar
      more serialization of generator snakes · 1a5f3e1f
      Nils Goroll authored
      1a5f3e1f
    • Nils Goroll's avatar
      don't call vsctool in parallel · 7320bb96
      Nils Goroll authored
      Otherwise we might see garbled output files
      7320bb96