1. 16 Mar, 2015 2 commits
  2. 14 Nov, 2014 4 commits
  3. 11 Nov, 2014 5 commits
  4. 10 Nov, 2014 2 commits
  5. 07 Nov, 2014 1 commit
  6. 30 Oct, 2014 15 commits
  7. 27 Oct, 2014 3 commits
    • David Gibson's avatar
      mem: Implement memrchr() · 40b45c4c
      David Gibson authored
      The memrchr() function, which works like memchr(), but searches from the
      back of the region to the front is implemented in the GNU C library, but
      isn't standard.
      
      This patch adds an implementation of the function to the mem module, when
      it's not available in the system C library.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      40b45c4c
    • David Gibson's avatar
      mem: Correct testcases · 2ab3ac5b
      David Gibson authored
      Currently the 'mem' module testcases use test/run.c even though they don't
      rely on access to the module internals.  They're also missing an include
      of mem.c, which has the effect that on systems with a C library memmem()
      implementaiton, only that is tested, not the (re-)implementation in the
      mem module itself.  This corrects that by moving run.c to api.c/
      
      Additionally, the memmem() testcases don't cover the case where the
      "needle" appears multiple times in the "haystack".  This patch also adds
      such a test.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      2ab3ac5b
    • David Gibson's avatar
      mem: Rename memmem module to mem · 992931f0
      David Gibson authored
      Currently the 'memmem' module does nothing but provide an implementation of
      the memmem() function if it is missing from the standard C library.
      
      However there are other functions (e.g. memrchr()) also missing from some
      C library implementations, so rename the module to mem to allow future
      inclusion of other functions.
      
      This also updates the rfc822 module - the only existing user of the
      memmem module - to use the new name.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      992931f0
  8. 25 Oct, 2014 6 commits
  9. 23 Oct, 2014 1 commit
    • Chris McCormick's avatar
      Changed the look of the website. Added a new logo design (source SVG... · 08f71340
      Chris McCormick authored
      Changed the look of the website. Added a new logo design (source SVG included). Fixed an issue with junkcode prefix not being set (broken links and images on current site). Removed /tmp/ccan in clean as it was preventing 'make webpages' running twice. Brought the HTML closer to standards compliance (doctype, encoding). Added meta tag for mobile device browsers to render nicely.
      08f71340
  10. 13 Oct, 2014 1 commit
    • Rasmus Villemoes's avatar
      configurator: Fix CTZ detection · 1567e4bd
      Rasmus Villemoes authored
      The literal "1" in "1 << (sizeof(long{, long})*8 - 1)" should be 1L or
      1LL, so that the expression has the right type. Otherwise, the shift
      is only by 31 bits on x86 (other platforms may behave differently). To
      avoid language lawyers shouting UB at me, and since
      __builtin_ctz{,l,ll} formally takes unsigned parameters, use UL and
      ULL suffixes.
      
      Also, fix a typo (missing parenthesis) in the code for CTZLL causing
      the detection of __builtin_ctzll to always fail for the wrong reason.
      Signed-off-by: default avatarRasmus Villemoes <rv@rasmusvillemoes.dk>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      1567e4bd