Skip to content

Commit

Permalink
update copyright notices
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Jun 10, 2024
1 parent d0d53fc commit 957917c
Show file tree
Hide file tree
Showing 75 changed files with 146 additions and 149 deletions.
4 changes: 2 additions & 2 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Cadence-lint
Copyright 2019-2022 Dapper Labs, Inc.
Copyright Flow Foundation

This product includes software developed at Dapper Labs, Inc. (https://www.dapperlabs.com/).
This product includes software developed at at the Flow Foundation (https://flow.com/flow-foundation).
4 changes: 2 additions & 2 deletions docgen/cmd/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence docgen - The Cadence documentation generator
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions docgen/doc_generator.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence docgen - The Cadence documentation generator
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
5 changes: 2 additions & 3 deletions docgen/templates/markdown-templates.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence docgen - The Cadence documentation generator
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -27,7 +27,6 @@ import (
var mdTemplateFiles embed.FS

// MarkdownTemplateProvider is a provider for the markdown template files.
//
type MarkdownTemplateProvider struct {
}

Expand Down
5 changes: 2 additions & 3 deletions docgen/templates/templates.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence docgen - The Cadence documentation generator
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -21,7 +21,6 @@ package templates
// TemplateProvider is a template provider interface that has to be
// implemented by all the template providers of the document generator.
// e.g: Markdown templates.
//
type TemplateProvider interface {
Get(templateName string) (string, error)
}
4 changes: 2 additions & 2 deletions docgen/test/doc_gen_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence docgen - The Cadence documentation generator
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion docgen/wasm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// +build wasm

/*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion languageserver/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# Cadence - The resource-oriented smart contract programming language
#
# Copyright 2019-2020 Dapper Labs, Inc.
# Copyright Flow Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
7 changes: 4 additions & 3 deletions languageserver/cmd/languageserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// +build !wasm

/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -22,8 +22,9 @@
package main

import (
"github.com/onflow/cadence-tools/languageserver"
"github.com/spf13/pflag"

"github.com/onflow/cadence-tools/languageserver"
)

var enableFlowClientFlag = pflag.Bool("enable-flow-client", true, "enable Flow client functionality")
Expand Down
2 changes: 1 addition & 1 deletion languageserver/cmd/languageserver/main_wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// +build wasm

/*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/conversion/conversion.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/argument.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/argument_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/commands.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/commands_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/contracts.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/contracts_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/diagnostics.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/entrypoint.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/entrypoint_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/flow.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/integration.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/resolvers.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/resolvers_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/state.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/jsonrpc2/server.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/languageserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// +build !wasm

/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/protocol/documentchanges.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/protocol/json.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions languageserver/protocol/methods.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/protocol/server.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/protocol/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions languageserver/server/command.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/server/document_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/server/linting_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/server/location.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions languageserver/server/objectstream.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Cadence - The resource-oriented smart contract programming language
* Cadence languageserver - The Cadence language server
*
* Copyright 2019-2022 Dapper Labs, Inc.
* Copyright Flow Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 957917c

Please sign in to comment.