Skip to content

Commit 4bf7b89

Browse files
authored
Merge pull request #93 from graphql/update-copyright
Updates copyright to GraphQL Foundation
2 parents 9ca3937 + f3fdf9f commit 4bf7b89

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+57
-73
lines changed

Diff for: AstNode.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: CODE_OF_CONDUCT.md

-5
This file was deleted.

Diff for: CONTRIBUTING.md

+2-9

Diff for: GraphQLParser.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: GraphQLParser.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: JsonVisitor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: JsonVisitor.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: LICENSE

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
MIT License
22

3-
Copyright (c) 2015-present, Facebook, Inc.
3+
Copyright 2015-2018, Facebook, Inc.
4+
Copyright 2019-present, GraphQL Foundation
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

Diff for: README.md

+6-7

Diff for: ast/ast.ast

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates.
1+
# Copyright 2019-present, GraphQL Foundation
22

33
# Mini-language for AST definition.
44
# All AST nodes extend AstNode.
@@ -135,7 +135,7 @@ S Type type
135135
T NonNullType
136136
# JS version prohibits nesting nonnull in nonnull, we can't because we
137137
# can't support multiple unions. Fix?
138-
S Type type
138+
S Type type
139139

140140
T Name
141141
S string value

Diff for: ast/ast.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright (c) 2015-present, Facebook, Inc.
2+
# Copyright 2019-present, GraphQL Foundation
33
#
44
# This source code is licensed under the MIT license found in the
55
# LICENSE file in the root directory of this source tree.

Diff for: ast/c.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-present, Facebook, Inc.
1+
# Copyright 2019-present, GraphQL Foundation
22
#
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.

Diff for: ast/c_impl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-present, Facebook, Inc.
1+
# Copyright 2019-present, GraphQL Foundation
22
#
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.

Diff for: ast/c_visitor_impl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-present, Facebook, Inc.
1+
# Copyright 2019-present, GraphQL Foundation
22
#
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.

Diff for: ast/casing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-present, Facebook, Inc.
1+
# Copyright 2019-present, GraphQL Foundation
22
#
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.

Diff for: ast/cxx.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-present, Facebook, Inc.
1+
# Copyright 2019-present, GraphQL Foundation
22
#
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.
@@ -178,7 +178,7 @@ def _print_noncopyable(self):
178178
self._type_name, self._type_name)
179179
print >> self._deferredOutput, ' %s& operator=(const %s&) = delete;' % (
180180
self._type_name, self._type_name)
181-
181+
182182
def start_union(self, name):
183183
self._type_name = name
184184
# non-deferred!

Diff for: ast/cxx_impl.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-present, Facebook, Inc.
1+
# Copyright 2019-present, GraphQL Foundation
22
#
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.
@@ -33,7 +33,7 @@ def start_type(self, name):
3333
def field(self, type, name, nullable, plural):
3434
if type in ['OperationKind', 'string', 'boolean']:
3535
return
36-
36+
3737
if plural:
3838
accept = '{ for (const auto &x : *%s_) { x->accept(visitor); } }' % name
3939
if nullable:

Diff for: ast/cxx_json_visitor_header.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2016-present, Facebook, Inc.
1+
# Copyright 2019-present, GraphQL Foundation
22
# All rights reserved.
33
#
44
# This source code is licensed under the MIT license found in the

Diff for: ast/cxx_json_visitor_impl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2016-present, Facebook, Inc.
1+
# Copyright 2019-present, GraphQL Foundation
22
# All rights reserved.
33
#
44
# This source code is licensed under the MIT license found in the

Diff for: ast/cxx_visitor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-present, Facebook, Inc.
1+
# Copyright 2019-present, GraphQL Foundation
22
#
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.

Diff for: ast/js.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-present, Facebook, Inc.
1+
# Copyright 2019-present, GraphQL Foundation
22
#
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.
@@ -14,7 +14,7 @@ def start_file(self):
1414
/* jshint ignore:start */
1515
1616
/**
17-
* Copyright (c) 2015-present, Facebook, Inc.
17+
* Copyright 2019-present, GraphQL Foundation
1818
*
1919
* This source code is licensed under the MIT license found in the
2020
* LICENSE file in the root directory of this source tree.

Diff for: ast/license.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
# Copyright (c) 2016-present, Facebook, Inc.
2-
# All rights reserved.
3-
#
1+
# Copyright 2019-present GraphQL Foundation
42
# This source code is licensed under the MIT license found in the
53
# LICENSE file in the root directory of this source tree.
64

75
C_LICENSE_COMMENT = '''/**
8-
* Copyright (c) 2016-present, Facebook, Inc.
9-
* All rights reserved.
10-
*
6+
* Copyright 2019-present GraphQL Foundation
117
* This source code is licensed under the MIT license found in the
128
* LICENSE file in the root directory of this source tree.
139
*/

Diff for: c/GraphQLAstNode.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: c/GraphQLAstNode.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: c/GraphQLAstToJSON.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: c/GraphQLAstToJSON.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: c/GraphQLAstVisitor.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
@@ -50,6 +50,6 @@ void graphql_node_visit(const struct GraphQLAstNode *node,
5050
{
5151
CVisitorBridge visitor(callbacks, userData);
5252
if (node) {
53-
reinterpret_cast<const facebook::graphql::ast::Node *>(node)->accept(&visitor);
53+
reinterpret_cast<const graphql::ast::Node *>(node)->accept(&visitor);
5454
}
5555
}

Diff for: c/GraphQLAstVisitor.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: c/GraphQLParser.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: c/GraphQLParser.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: clang-tidy-all.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
2-
# Copyright (c) Facebook, Inc. and its affiliates.
2+
# Copyright 2019-present, GraphQL Foundation
33
find . -name '*.cpp' | grep -v lexer | grep -v googletest | grep -v tab.cpp | xargs clang-tidy -p build

Diff for: cmake/version.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates.
1+
# Copyright 2019-present, GraphQL Foundation
22

33
find_package(Git QUIET)
44

Diff for: dump_json_ast.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: go/callbacks.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: go/gotest.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: lexer.lpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: parser.ypp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: parsergen/lexer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ static const flex_int16_t yy_chk[345] =
587587
#define YY_RESTORE_YY_MORE_OFFSET
588588
#line 1 "lexer.lpp"
589589
/**
590-
* Copyright (c) 2015-present, Facebook, Inc.
590+
* Copyright 2019-present, GraphQL Foundation
591591
*
592592
* This source code is licensed under the MIT license found in the
593593
* LICENSE file in the root directory of this source tree.

Diff for: python/example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright (c) 2015-present, Facebook, Inc.
2+
# Copyright 2019-present, GraphQL Foundation
33
#
44
# This source code is licensed under the MIT license found in the
55
# LICENSE file in the root directory of this source tree.

Diff for: syntaxdefs.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: test/BuildCAPI.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Facebook, Inc. and its affiliates.
1+
// Copyright GraphQL Foundation
22
#include <c/GraphQLAst.h>
33
#include <c/GraphQLAstVisitor.h>
44

Diff for: test/JsonVisitorTests.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: test/ParserTests.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2015-present, Facebook, Inc.
2+
* Copyright 2019-present, GraphQL Foundation
33
*
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.

Diff for: test/kitchen-sink.graphql

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-present, Facebook, Inc.
1+
# Copyright 2019-present, GraphQL Foundation
22
#
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.

Diff for: test/schema-kitchen-sink.graphql

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-present, Facebook, Inc.
1+
# Copyright 2019-present, GraphQL Foundation
22
#
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.

0 commit comments

Comments
 (0)