From 79a94558bea38584c2e32fcdbd36b7b59b8b0cc3 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 30 Nov 2017 16:37:20 +1100 Subject: [PATCH] Rename PUFFS to WUFFS, part 5 of N --- AUTHORS | 2 +- CONTRIBUTORS | 2 +- cmd/commonflags/commonflags.go | 2 +- cmd/wuffs-c/genlib.go | 2 +- cmd/wuffs-c/internal/cgen/base-header.h | 2 +- cmd/wuffs-c/internal/cgen/base-impl.h | 2 +- cmd/wuffs-c/internal/cgen/cgen.go | 2 +- cmd/wuffs-c/internal/cgen/data.go | 6 +++--- cmd/wuffs-c/internal/cgen/expr.go | 2 +- cmd/wuffs-c/internal/cgen/func.go | 2 +- cmd/wuffs-c/internal/cgen/gen.go | 4 ++-- cmd/wuffs-c/internal/cgen/statement.go | 2 +- cmd/wuffs-c/internal/cgen/templates.h | 2 +- cmd/wuffs-c/internal/cgen/var.go | 2 +- cmd/wuffs-c/main.go | 2 +- cmd/wuffs-c/test.go | 2 +- cmd/wuffs/gen.go | 2 +- cmd/wuffs/main.go | 2 +- cmd/wuffs/test.go | 2 +- cmd/wuffsfmt/main.go | 2 +- example/library/library.c | 2 +- example/peterface/peterface.c | 2 +- lang/ast/ast.go | 2 +- lang/ast/eq.go | 2 +- lang/ast/sort.go | 2 +- lang/ast/string.go | 2 +- lang/ast/string_test.go | 2 +- lang/base38/base38.go | 2 +- lang/base38/base38_test.go | 2 +- lang/builtin/builtin.go | 2 +- lang/check/assert.go | 2 +- lang/check/bounds.go | 2 +- lang/check/check.go | 2 +- lang/check/check_test.go | 2 +- lang/check/data.go | 2 +- lang/check/gen.go | 4 ++-- lang/check/optimize.go | 2 +- lang/check/type.go | 2 +- lang/generate/generate.go | 2 +- lang/parse/parse.go | 2 +- lang/render/render.go | 2 +- lang/token/list.go | 2 +- lang/token/token.go | 2 +- script/adler32sum.go | 2 +- script/compress-giflzw.go | 2 +- script/extract-flate-offsets.go | 2 +- script/extract-giflzw.go | 2 +- script/extract-palette-indexes.go | 2 +- script/inline-c-relative-includes.go | 2 +- script/print-bits.go | 2 +- script/print-flate-magic-numbers.go | 2 +- script/wuffs-flate-decoder-decode-huffman.c | 2 +- std/flate/codec_consts.wuffs | 2 +- std/flate/decode_flate.wuffs | 2 +- std/flate/decode_huffman_fast.wuffs | 2 +- std/flate/decode_huffman_slow.wuffs | 2 +- std/flate/decode_zlib.wuffs | 2 +- std/gif/decode_gif.wuffs | 2 +- std/gif/decode_lzw.wuffs | 2 +- test/c/mimiclib/flate.c | 2 +- test/c/mimiclib/gif.c | 2 +- test/c/std/flate.c | 2 +- test/c/std/gif.c | 2 +- test/c/testlib/testlib.c | 2 +- 64 files changed, 68 insertions(+), 68 deletions(-) diff --git a/AUTHORS b/AUTHORS index a31c9362..785378fd 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,4 +1,4 @@ -# This is the official list of Puffs authors for copyright purposes. +# This is the official list of Wuffs authors for copyright purposes. # This file is distinct from the CONTRIBUTORS files. # See the latter for an explanation. diff --git a/CONTRIBUTORS b/CONTRIBUTORS index e8496234..564e2489 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1,5 +1,5 @@ # This is the official list of people who can contribute -# (and typically have contributed) code to the Puffs repository. +# (and typically have contributed) code to the Wuffs repository. # The AUTHORS file lists the copyright holders; this file # lists people. For example, Google employees are listed here # but not in AUTHORS, because Google holds the copyright. diff --git a/cmd/commonflags/commonflags.go b/cmd/commonflags/commonflags.go index e7f785bc..d1b35432 100644 --- a/cmd/commonflags/commonflags.go +++ b/cmd/commonflags/commonflags.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs-c/genlib.go b/cmd/wuffs-c/genlib.go index f14a0131..3c1c2795 100644 --- a/cmd/wuffs-c/genlib.go +++ b/cmd/wuffs-c/genlib.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs-c/internal/cgen/base-header.h b/cmd/wuffs-c/internal/cgen/base-header.h index bf6c8b23..b02eaaf1 100644 --- a/cmd/wuffs-c/internal/cgen/base-header.h +++ b/cmd/wuffs-c/internal/cgen/base-header.h @@ -3,7 +3,7 @@ #ifndef PUFFS_BASE_HEADER_H #define PUFFS_BASE_HEADER_H -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs-c/internal/cgen/base-impl.h b/cmd/wuffs-c/internal/cgen/base-impl.h index 71519b68..acce31ec 100644 --- a/cmd/wuffs-c/internal/cgen/base-impl.h +++ b/cmd/wuffs-c/internal/cgen/base-impl.h @@ -3,7 +3,7 @@ #ifndef PUFFS_BASE_IMPL_H #define PUFFS_BASE_IMPL_H -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs-c/internal/cgen/cgen.go b/cmd/wuffs-c/internal/cgen/cgen.go index 3bedb076..95c465e0 100644 --- a/cmd/wuffs-c/internal/cgen/cgen.go +++ b/cmd/wuffs-c/internal/cgen/cgen.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs-c/internal/cgen/data.go b/cmd/wuffs-c/internal/cgen/data.go index 8741b5f1..b9f8fb96 100644 --- a/cmd/wuffs-c/internal/cgen/data.go +++ b/cmd/wuffs-c/internal/cgen/data.go @@ -1,6 +1,6 @@ // Code generated by running "go generate". DO NOT EDIT. -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,14 +17,14 @@ package cgen const baseHeader = "" + - "#ifndef PUFFS_BASE_HEADER_H\n#define PUFFS_BASE_HEADER_H\n\n// Copyright 2017 The Puffs Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n#include \n#include \n#include \n\n// Puffs requires a word size of at least 32 bits because it assumes that\n// converting a u32 to usize will never overflow. For example, the size of a\n// decoded image is often represented, explicitly or implicitly in an image\n// file, as a u32, and it is convenient to compare that to a buffer size.\n//\n// Si" + + "#ifndef PUFFS_BASE_HEADER_H\n#define PUFFS_BASE_HEADER_H\n\n// Copyright 2017 The Wuffs Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n#include \n#include \n#include \n\n// Puffs requires a word size of at least 32 bits because it assumes that\n// converting a u32 to usize will never overflow. For example, the size of a\n// decoded image is often represented, explicitly or implicitly in an image\n// file, as a u32, and it is convenient to compare that to a buffer size.\n//\n// Si" + "milarly, the word size is at most 64 bits because it assumes that\n// converting a usize to u64 will never overflow.\n#if __WORDSIZE < 32\n#error \"Puffs requires a word size of at least 32 bits\"\n#elif __WORDSIZE > 64\n#error \"Puffs requires a word size of at most 64 bits\"\n#endif\n\n// PUFFS_VERSION is the major.minor version number as a uint32. The major\n// number is the high 16 bits. The minor number is the low 16 bits.\n//\n// The intention is to bump the version number at least on every API / ABI\n// backwards incompatible change.\n//\n// For now, the API and ABI are simply unstable and can change at any time.\n//\n// TODO: don't hard code this in base-header.h.\n#define PUFFS_VERSION (0x00001)\n\n// puffs_base__slice_u8 is a 1-dimensional buffer (a pointer and length).\n//\n// A value with all fields NULL or zero is a valid, empty slice.\ntypedef struct {\n uint8_t* ptr;\n size_t len;\n} puffs_base__slice_u8;\n\n// puffs_base__buf1 is a 1-dimensional buffer (a pointer and length), plus\n// additional indexes into that buffer, p" + "lus an opened / closed flag.\n//\n// A value with all fields NULL or zero is a valid, empty buffer.\ntypedef struct {\n uint8_t* ptr; // Pointer.\n size_t len; // Length.\n size_t wi; // Write index. Invariant: wi <= len.\n size_t ri; // Read index. Invariant: ri <= wi.\n bool closed; // No further writes are expected.\n} puffs_base__buf1;\n\n// puffs_base__limit1 provides a limited view of a 1-dimensional byte stream:\n// its first N bytes. That N can be greater than a buffer's current read or\n// write capacity. N decreases naturally over time as bytes are read from or\n// written to the stream.\n//\n// A value with all fields NULL or zero is a valid, unlimited view.\ntypedef struct puffs_base__limit1 {\n uint64_t* ptr_to_len; // Pointer to N.\n struct puffs_base__limit1* next; // Linked list of limits.\n} puffs_base__limit1;\n\ntypedef struct {\n // TODO: move buf into private_impl? As it is, it looks like users can modify\n // the buf field to point to a different buffer, which can turn the l" + "imit and\n // mark fields into dangling pointers.\n puffs_base__buf1* buf;\n // Do not access the private_impl's fields directly. There is no API/ABI\n // compatibility or safety guarantee if you do so.\n struct {\n puffs_base__limit1 limit;\n uint8_t* mark;\n } private_impl;\n} puffs_base__reader1;\n\ntypedef struct {\n // TODO: move buf into private_impl? As it is, it looks like users can modify\n // the buf field to point to a different buffer, which can turn the limit and\n // mark fields into dangling pointers.\n puffs_base__buf1* buf;\n // Do not access the private_impl's fields directly. There is no API/ABI\n // compatibility or safety guarantee if you do so.\n struct {\n puffs_base__limit1 limit;\n uint8_t* mark;\n } private_impl;\n} puffs_base__writer1;\n\n#endif // PUFFS_BASE_HEADER_H\n" + "" const baseImpl = "" + - "#ifndef PUFFS_BASE_IMPL_H\n#define PUFFS_BASE_IMPL_H\n\n// Copyright 2017 The Puffs Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// puffs_base__empty_struct is used when a Puffs function returns an empty\n// struct. In C, if a function f returns void, you can't say \"x = f()\", but in\n// Puffs, if a function g returns empty, you can say \"y = g()\".\ntypedef struct {\n} puffs_base__empty_struct;\n\n#define PUFFS_BASE__IGNORE_POTENTIALLY_UNUSED_VARIABLE(x) (void)(x)\n\n// PUFFS_BASE__MAGIC is a magic number to " + + "#ifndef PUFFS_BASE_IMPL_H\n#define PUFFS_BASE_IMPL_H\n\n// Copyright 2017 The Wuffs Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// puffs_base__empty_struct is used when a Puffs function returns an empty\n// struct. In C, if a function f returns void, you can't say \"x = f()\", but in\n// Puffs, if a function g returns empty, you can say \"y = g()\".\ntypedef struct {\n} puffs_base__empty_struct;\n\n#define PUFFS_BASE__IGNORE_POTENTIALLY_UNUSED_VARIABLE(x) (void)(x)\n\n// PUFFS_BASE__MAGIC is a magic number to " + "check that initializers are called.\n// It's not foolproof, given C doesn't automatically zero memory before use,\n// but it should catch 99.99% of cases.\n//\n// Its (non-zero) value is arbitrary, based on md5sum(\"puffs\").\n#define PUFFS_BASE__MAGIC (0xCB3699CCU)\n\n// PUFFS_BASE__ALREADY_ZEROED is passed from a container struct's initializer\n// to a containee struct's initializer when the container has already zeroed\n// the containee's memory.\n//\n// Its (non-zero) value is arbitrary, based on md5sum(\"zeroed\").\n#define PUFFS_BASE__ALREADY_ZEROED (0x68602EF1U)\n\n// Use switch cases for coroutine suspension points, similar to the technique\n// in https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html\n//\n// We use trivial macros instead of an explicit assignment and case statement\n// so that clang-format doesn't get confused by the unusual \"case\"s.\n#define PUFFS_BASE__COROUTINE_SUSPENSION_POINT_0 case 0:;\n#define PUFFS_BASE__COROUTINE_SUSPENSION_POINT(n) \\\n coro_susp_point = n; \\\n case" + " n:;\n\n#define PUFFS_BASE__COROUTINE_SUSPENSION_POINT_MAYBE_SUSPEND(n) \\\n if (status < 0) { \\\n goto exit; \\\n } else if (status == 0) { \\\n goto ok; \\\n } \\\n coro_susp_point = n; \\\n goto suspend; \\\n case n:;\n\n// Clang also defines \"__GNUC__\".\n#if defined(__GNUC__)\n#define PUFFS_BASE__LIKELY(expr) (__builtin_expect(!!(expr), 1))\n#define PUFFS_BASE__UNLIKELY(expr) (__builtin_expect(!!(expr), 0))\n#else\n#define PUFFS_BASE__LIKELY(expr) (expr)\n#define PUFFS_BASE__UNLIKELY(expr) (expr)\n#endif\n\n// Uncomment this #include for printf-debugging.\n// #include \n\n// ---------------- Static Inline Functions\n//\n// The helpers below are functions, instead of macros, because their argume" + "nts\n// can be an expression that we shouldn't evaluate more than once.\n//\n// They are in base-impl.h and hence copy/pasted into every generated C file,\n// instead of being in some \"base.c\" file, since a design goal is that users of\n// the generated C code can often just #include a single .c file, such as\n// \"gif.c\", without having to additionally include or otherwise build and link\n// a \"base.c\" file.\n//\n// They are static, so that linking multiple puffs .o files won't complain about\n// duplicate function definitions.\n//\n// They are explicitly marked inline, even if modern compilers don't use the\n// inline attribute to guide optimizations such as inlining, to avoid the\n// -Wunused-function warning, and we like to compile with -Wall -Werror.\n\nstatic inline uint16_t puffs_base__load_u16be(uint8_t* p) {\n return ((uint16_t)(p[0]) << 8) | ((uint16_t)(p[1]) << 0);\n}\n\nstatic inline uint16_t puffs_base__load_u16le(uint8_t* p) {\n return ((uint16_t)(p[0]) << 0) | ((uint16_t)(p[1]) << 8);\n}\n\nstatic inline uint32_t puf" + diff --git a/cmd/wuffs-c/internal/cgen/expr.go b/cmd/wuffs-c/internal/cgen/expr.go index 34ada3df..8440a6a6 100644 --- a/cmd/wuffs-c/internal/cgen/expr.go +++ b/cmd/wuffs-c/internal/cgen/expr.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs-c/internal/cgen/func.go b/cmd/wuffs-c/internal/cgen/func.go index ce5dee0b..f04e1eed 100644 --- a/cmd/wuffs-c/internal/cgen/func.go +++ b/cmd/wuffs-c/internal/cgen/func.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs-c/internal/cgen/gen.go b/cmd/wuffs-c/internal/cgen/gen.go index 7000a76d..9fa2567c 100644 --- a/cmd/wuffs-c/internal/cgen/gen.go +++ b/cmd/wuffs-c/internal/cgen/gen.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -44,7 +44,7 @@ func main1() error { out := &bytes.Buffer{} out.WriteString("// Code generated by running \"go generate\". DO NOT EDIT.\n") out.WriteString("\n") - out.WriteString("// Copyright 2017 The Puffs Authors.\n") + out.WriteString("// Copyright 2017 The Wuffs Authors.\n") out.WriteString("//\n") out.WriteString("// Licensed under the Apache License, Version 2.0 (the \"License\");\n") out.WriteString("// you may not use this file except in compliance with the License.\n") diff --git a/cmd/wuffs-c/internal/cgen/statement.go b/cmd/wuffs-c/internal/cgen/statement.go index 91f56588..7d43ef94 100644 --- a/cmd/wuffs-c/internal/cgen/statement.go +++ b/cmd/wuffs-c/internal/cgen/statement.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs-c/internal/cgen/templates.h b/cmd/wuffs-c/internal/cgen/templates.h index e1f832f5..af6badb8 100644 --- a/cmd/wuffs-c/internal/cgen/templates.h +++ b/cmd/wuffs-c/internal/cgen/templates.h @@ -1,6 +1,6 @@ // After editing this file, run "go generate" in this directory. -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs-c/internal/cgen/var.go b/cmd/wuffs-c/internal/cgen/var.go index 38a3b2da..60347c71 100644 --- a/cmd/wuffs-c/internal/cgen/var.go +++ b/cmd/wuffs-c/internal/cgen/var.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs-c/main.go b/cmd/wuffs-c/main.go index f3d1efa6..2c8eb102 100644 --- a/cmd/wuffs-c/main.go +++ b/cmd/wuffs-c/main.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs-c/test.go b/cmd/wuffs-c/test.go index 4a531198..4acd31e9 100644 --- a/cmd/wuffs-c/test.go +++ b/cmd/wuffs-c/test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs/gen.go b/cmd/wuffs/gen.go index 91053f8f..cbd9708e 100644 --- a/cmd/wuffs/gen.go +++ b/cmd/wuffs/gen.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs/main.go b/cmd/wuffs/main.go index 96216b8a..2e05446f 100644 --- a/cmd/wuffs/main.go +++ b/cmd/wuffs/main.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffs/test.go b/cmd/wuffs/test.go index 6199cd44..41cb09c6 100644 --- a/cmd/wuffs/test.go +++ b/cmd/wuffs/test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/wuffsfmt/main.go b/cmd/wuffsfmt/main.go index e29eb5f0..7f8213e8 100644 --- a/cmd/wuffsfmt/main.go +++ b/cmd/wuffsfmt/main.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/example/library/library.c b/example/library/library.c index b3a157ba..8881a0ee 100644 --- a/example/library/library.c +++ b/example/library/library.c @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/example/peterface/peterface.c b/example/peterface/peterface.c index 92d65d74..4103a6e9 100644 --- a/example/peterface/peterface.c +++ b/example/peterface/peterface.c @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/ast/ast.go b/lang/ast/ast.go index 15f4e33a..e80a5a36 100644 --- a/lang/ast/ast.go +++ b/lang/ast/ast.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/ast/eq.go b/lang/ast/eq.go index 164033d3..5f05a0bd 100644 --- a/lang/ast/eq.go +++ b/lang/ast/eq.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/ast/sort.go b/lang/ast/sort.go index 7fb849e9..cf3aa22c 100644 --- a/lang/ast/sort.go +++ b/lang/ast/sort.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/ast/string.go b/lang/ast/string.go index 1897fb4d..784b8375 100644 --- a/lang/ast/string.go +++ b/lang/ast/string.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/ast/string_test.go b/lang/ast/string_test.go index 7cdb15b9..449f317d 100644 --- a/lang/ast/string_test.go +++ b/lang/ast/string_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/base38/base38.go b/lang/base38/base38.go index e362b4c0..5877210a 100644 --- a/lang/base38/base38.go +++ b/lang/base38/base38.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/base38/base38_test.go b/lang/base38/base38_test.go index 10e92e14..fff29257 100644 --- a/lang/base38/base38_test.go +++ b/lang/base38/base38_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/builtin/builtin.go b/lang/builtin/builtin.go index ad7ea084..85815c9e 100644 --- a/lang/builtin/builtin.go +++ b/lang/builtin/builtin.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/check/assert.go b/lang/check/assert.go index f8f361f0..772dd8b5 100644 --- a/lang/check/assert.go +++ b/lang/check/assert.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/check/bounds.go b/lang/check/bounds.go index be03c335..392b3315 100644 --- a/lang/check/bounds.go +++ b/lang/check/bounds.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/check/check.go b/lang/check/check.go index 521ce5dd..e37ef6b2 100644 --- a/lang/check/check.go +++ b/lang/check/check.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/check/check_test.go b/lang/check/check_test.go index 6b0363b8..1fcaef0a 100644 --- a/lang/check/check_test.go +++ b/lang/check/check_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/check/data.go b/lang/check/data.go index 751ab780..adc96de4 100644 --- a/lang/check/data.go +++ b/lang/check/data.go @@ -1,6 +1,6 @@ // Code generated by running "go generate". DO NOT EDIT. -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/check/gen.go b/lang/check/gen.go index 8179eb83..ecf397c9 100644 --- a/lang/check/gen.go +++ b/lang/check/gen.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -309,7 +309,7 @@ var keys = map[string]string{ const header = `// Code generated by running "go generate". DO NOT EDIT. -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/check/optimize.go b/lang/check/optimize.go index 1aabd735..5cf9e0a8 100644 --- a/lang/check/optimize.go +++ b/lang/check/optimize.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/check/type.go b/lang/check/type.go index c47dfa7d..95d9cc95 100644 --- a/lang/check/type.go +++ b/lang/check/type.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/generate/generate.go b/lang/generate/generate.go index 6a16c4b5..72e2b88c 100644 --- a/lang/generate/generate.go +++ b/lang/generate/generate.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/parse/parse.go b/lang/parse/parse.go index ac5a9d5b..a7fd2498 100644 --- a/lang/parse/parse.go +++ b/lang/parse/parse.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/render/render.go b/lang/render/render.go index ca24c2b8..ebea93da 100644 --- a/lang/render/render.go +++ b/lang/render/render.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/token/list.go b/lang/token/list.go index 7d5685a7..83bc0a60 100644 --- a/lang/token/list.go +++ b/lang/token/list.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/lang/token/token.go b/lang/token/token.go index 6f2f5dee..fb9e0e95 100644 --- a/lang/token/token.go +++ b/lang/token/token.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/script/adler32sum.go b/script/adler32sum.go index 6400930b..6976a4bf 100644 --- a/script/adler32sum.go +++ b/script/adler32sum.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/script/compress-giflzw.go b/script/compress-giflzw.go index 279a1dd5..b1e41d92 100644 --- a/script/compress-giflzw.go +++ b/script/compress-giflzw.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/script/extract-flate-offsets.go b/script/extract-flate-offsets.go index 8d26d56d..437d2b72 100644 --- a/script/extract-flate-offsets.go +++ b/script/extract-flate-offsets.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/script/extract-giflzw.go b/script/extract-giflzw.go index a44d47c1..cc81d2c6 100644 --- a/script/extract-giflzw.go +++ b/script/extract-giflzw.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/script/extract-palette-indexes.go b/script/extract-palette-indexes.go index f043ccfa..3d12ad8e 100644 --- a/script/extract-palette-indexes.go +++ b/script/extract-palette-indexes.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/script/inline-c-relative-includes.go b/script/inline-c-relative-includes.go index a2dab8d1..f4f35d58 100644 --- a/script/inline-c-relative-includes.go +++ b/script/inline-c-relative-includes.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/script/print-bits.go b/script/print-bits.go index b09eef19..cc886b1d 100644 --- a/script/print-bits.go +++ b/script/print-bits.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/script/print-flate-magic-numbers.go b/script/print-flate-magic-numbers.go index 476631bf..1b5a55a0 100644 --- a/script/print-flate-magic-numbers.go +++ b/script/print-flate-magic-numbers.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/script/wuffs-flate-decoder-decode-huffman.c b/script/wuffs-flate-decoder-decode-huffman.c index 76e6509a..0c93976c 100644 --- a/script/wuffs-flate-decoder-decode-huffman.c +++ b/script/wuffs-flate-decoder-decode-huffman.c @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/std/flate/codec_consts.wuffs b/std/flate/codec_consts.wuffs index e9f86eef..d68a6906 100644 --- a/std/flate/codec_consts.wuffs +++ b/std/flate/codec_consts.wuffs @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/std/flate/decode_flate.wuffs b/std/flate/decode_flate.wuffs index 5f90fbb1..a2c0011d 100644 --- a/std/flate/decode_flate.wuffs +++ b/std/flate/decode_flate.wuffs @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/std/flate/decode_huffman_fast.wuffs b/std/flate/decode_huffman_fast.wuffs index eb801abe..03c676cc 100644 --- a/std/flate/decode_huffman_fast.wuffs +++ b/std/flate/decode_huffman_fast.wuffs @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/std/flate/decode_huffman_slow.wuffs b/std/flate/decode_huffman_slow.wuffs index 1cf2d52d..2091d57b 100644 --- a/std/flate/decode_huffman_slow.wuffs +++ b/std/flate/decode_huffman_slow.wuffs @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/std/flate/decode_zlib.wuffs b/std/flate/decode_zlib.wuffs index 2af48e24..5807d45e 100644 --- a/std/flate/decode_zlib.wuffs +++ b/std/flate/decode_zlib.wuffs @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/std/gif/decode_gif.wuffs b/std/gif/decode_gif.wuffs index 25d2250f..62918757 100644 --- a/std/gif/decode_gif.wuffs +++ b/std/gif/decode_gif.wuffs @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/std/gif/decode_lzw.wuffs b/std/gif/decode_lzw.wuffs index ad09b51e..27c690bd 100644 --- a/std/gif/decode_lzw.wuffs +++ b/std/gif/decode_lzw.wuffs @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/test/c/mimiclib/flate.c b/test/c/mimiclib/flate.c index b7d92487..5b6b1c3c 100644 --- a/test/c/mimiclib/flate.c +++ b/test/c/mimiclib/flate.c @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/test/c/mimiclib/gif.c b/test/c/mimiclib/gif.c index 9c8f8b23..16b281b7 100644 --- a/test/c/mimiclib/gif.c +++ b/test/c/mimiclib/gif.c @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/test/c/std/flate.c b/test/c/std/flate.c index e95ef020..808743a8 100644 --- a/test/c/std/flate.c +++ b/test/c/std/flate.c @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/test/c/std/gif.c b/test/c/std/gif.c index 44cef960..5ad147f8 100644 --- a/test/c/std/gif.c +++ b/test/c/std/gif.c @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/test/c/testlib/testlib.c b/test/c/testlib/testlib.c index 0acde27b..2751f188 100644 --- a/test/c/testlib/testlib.c +++ b/test/c/testlib/testlib.c @@ -1,4 +1,4 @@ -// Copyright 2017 The Puffs Authors. +// Copyright 2017 The Wuffs Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.