Skip to content

Commit

Permalink
update copyright notice
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Jan 14, 2023
1 parent 6038673 commit 196d6fe
Show file tree
Hide file tree
Showing 28 changed files with 56 additions and 72 deletions.
5 changes: 2 additions & 3 deletions src/hx/files/Dir.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2016-2022 Vegard IT GmbH (https://vegardit.com) and contributors.
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*/
package hx.files;
Expand All @@ -22,8 +23,6 @@ using hx.strings.Strings;

/**
* Represents a directory.
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
class Dir {

Expand Down
5 changes: 2 additions & 3 deletions src/hx/files/File.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*/
package hx.files;
Expand All @@ -20,8 +21,6 @@ using hx.strings.Strings;

/**
* Represents a regular file.
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
class File {

Expand Down
6 changes: 2 additions & 4 deletions src/hx/files/FileMacros.hx
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
/*
* Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*/
package hx.files;

import haxe.macro.Context;
import haxe.macro.Expr.ExprOf;

/**
* @author Sebastian Thomschke, Vegard IT GmbH
*/
class FileMacros {

#if macro
Expand Down
5 changes: 2 additions & 3 deletions src/hx/files/GlobPatterns.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*/
package hx.files;
Expand All @@ -15,8 +16,6 @@ using hx.strings.Strings;
* Utility class to convert glob patterns to regex patterns.
*
* See https://en.wikipedia.org/wiki/Glob_(programming)
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
class GlobPatterns {

Expand Down
6 changes: 2 additions & 4 deletions src/hx/files/Path.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2016-2022 Vegard IT GmbH (https://vegardit.com) and contributors.
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*/
package hx.files;
Expand All @@ -12,9 +13,6 @@ import hx.strings.internal.Either2;

using hx.strings.Strings;

/**
* @author Sebastian Thomschke, Vegard IT GmbH
*/
@immutable
abstract class Path {

Expand Down
5 changes: 2 additions & 3 deletions src/hx/files/internal/Macros.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2016-2022 Vegard IT GmbH (https://vegardit.com) and contributors.
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*/
package hx.files.internal;
Expand All @@ -8,8 +9,6 @@ import haxe.macro.*;

/**
* <b>IMPORTANT:</b> This class it not part of the API. Direct usage is discouraged.
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
@:noDoc @:dox(hide)
@:noCompletion
Expand Down
5 changes: 2 additions & 3 deletions src/hx/files/internal/OS.hx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*/
package hx.files.internal;

/**
* <b>IMPORTANT:</b> This class it not part of the API. Direct usage is discouraged.
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
@:noDoc @:dox(hide)
@:noCompletion
Expand Down
6 changes: 2 additions & 4 deletions src/hx/files/watcher/FileWatcher.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*/
package hx.files.watcher;
Expand All @@ -13,9 +14,6 @@ import hx.strings.internal.Either2;

#if (filesystem_support || macro)

/**
* @author Sebastian Thomschke, Vegard IT GmbH
*/
interface FileWatcher extends EventListenable<FileSystemEvent> extends Service<Int> {

function watch(path:Either2<Path, String>):Void;
Expand Down
5 changes: 2 additions & 3 deletions src/hx/files/watcher/JavaFileWatcher.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*/
package hx.files.watcher;
Expand Down Expand Up @@ -35,8 +36,6 @@ typedef JPath = hx.files.internal.externs.java.nio.file.Path;
* b) The directory to watch must exist.
* c) Recursive watching (sub-directories) only works on Windows. See https://stackoverflow.com/questions/18701242/how-to-watch-a-folder-and-subfolders-for-changes
* d) Does not support MacOS
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
class JavaFileWatcher extends AbstractFileWatcher {

Expand Down
6 changes: 2 additions & 4 deletions src/hx/files/watcher/PollingFileWatcher.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2016-2022 Vegard IT GmbH (https://vegardit.com) and contributors.
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*/
package hx.files.watcher;
Expand All @@ -14,9 +15,6 @@ import hx.strings.internal.Either2;

#if (filesystem_support || macro)

/**
* @author Sebastian Thomschke, Vegard IT GmbH
*/
class PollingFileWatcher extends AbstractFileWatcher {

final intervalMS:Int;
Expand Down
6 changes: 2 additions & 4 deletions test/hx/files/TestRunner.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*/
package hx.files;
Expand All @@ -16,9 +17,6 @@ import hx.files.watcher.FileWatcher.FileSystemEvent;
import hx.files.watcher.PollingFileWatcher;
#end

/**
* @author Sebastian Thomschke, Vegard IT GmbH
*/
@:build(hx.doctest.DocTestGenerator.generateDocTests())
@:keep // prevent DCEing of manually created testXYZ() methods
class TestRunner extends DocTestRunner {
Expand Down
4 changes: 2 additions & 2 deletions tools/_test-prepare.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-License-Identifier: Apache-2.0
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM Author: Sebastian Thomschke, Vegard IT GmbH

pushd .
Expand Down
4 changes: 2 additions & 2 deletions tools/gen-doc.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

REM generates API documentation using dox at <project_root>\target\site

Expand Down
4 changes: 2 additions & 2 deletions tools/publish-release.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

REM creates a new release in GitHub and haxelib.org

Expand Down
4 changes: 2 additions & 2 deletions tools/test-cpp.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd cpp hxcpp

Expand Down
4 changes: 2 additions & 2 deletions tools/test-cs.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd cs hxcs

Expand Down
4 changes: 2 additions & 2 deletions tools/test-eval.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd eval

Expand Down
4 changes: 2 additions & 2 deletions tools/test-flash.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd flash

Expand Down
4 changes: 2 additions & 2 deletions tools/test-hl.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd hl

Expand Down
4 changes: 2 additions & 2 deletions tools/test-java.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd java hxjava

Expand Down
4 changes: 2 additions & 2 deletions tools/test-js.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd js phantomjs

Expand Down
4 changes: 2 additions & 2 deletions tools/test-jvm.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd java hxjava

Expand Down
4 changes: 2 additions & 2 deletions tools/test-lua.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd lua

Expand Down
4 changes: 2 additions & 2 deletions tools/test-neko.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd neko

Expand Down
4 changes: 2 additions & 2 deletions tools/test-nodejs.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd js hxnodejs

Expand Down
4 changes: 2 additions & 2 deletions tools/test-phantomjs.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd js phantomjs

Expand Down
4 changes: 2 additions & 2 deletions tools/test-php.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd php

Expand Down
4 changes: 2 additions & 2 deletions tools/test-python.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
REM Copyright (c) 2016-2021 Vegard IT GmbH (https://vegardit.com) and contributors.
REM SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
REM SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
REM SPDX-License-Identifier: Apache-2.0
REM Author: Sebastian Thomschke, Vegard IT GmbH

call %~dp0_test-prepare.cmd python

Expand Down

0 comments on commit 196d6fe

Please sign in to comment.