Skip to content

Commit

Permalink
Fix additional license headers.
Browse files Browse the repository at this point in the history
* All Wabi authored source code is under Apache 2.0.
* Some additional cleanup due to using similiar switformat
  config as the Kraken project.

Signed-off-by: furby™ <[email protected]>
  • Loading branch information
furby-tm committed Sep 3, 2024
1 parent 8150857 commit d4f1ef5
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 35 deletions.
41 changes: 24 additions & 17 deletions Sources/Apple/Apple.cpp
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
/* --------------------------------------------------------------
* :: : M E T A V E R S E : ::
* --------------------------------------------------------------
* This program is free software; you can redistribute it, and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
/* ----------------------------------------------------------------
* :: : M E T A V E R S E : ::
* ----------------------------------------------------------------
* This software is Licensed under the terms of the Apache License,
* version 2.0 (the "Apache License") with the following additional
* modification; you may not use this file except within compliance
* of the Apache License and the following modification made to it.
* Section 6. Trademarks. is deleted and replaced with:
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Check out
* the GNU General Public License for more details.
* Trademarks. This License does not grant permission to use any of
* its trade names, trademarks, service marks, or the product names
* of this Licensor or its affiliates, except as required to comply
* with Section 4(c.) of this License, and to reproduce the content
* of the NOTICE file.
*
* You should have received a copy for this software license, the
* GNU General Public License along with this program; or, if not
* write to the Free Software Foundation, Inc., to the address of
* This software is distributed in the hope that it will be useful,
* but WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND without even an
* implied warranty of MERCHANTABILITY, or FITNESS FOR A PARTICULAR
* PURPOSE. See the Apache License for more details.
*
* You should have received a copy for this software license of the
* Apache License along with this program; or, if not, please write
* to the Free Software Foundation Inc., with the following address
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Copyright (C) 2023 Wabi Foundation. All Rights Reserved.
* --------------------------------------------------------------
* Copyright (C) 2024 Wabi Foundation. All Rights Reserved.
* ----------------------------------------------------------------
* . x x x . o o o . x x x . : : : . o x o . : : : .
* -------------------------------------------------------------- */
* ---------------------------------------------------------------- */

/* generates the cxx implementation for apple cxx headers. */
#define NS_PRIVATE_IMPLEMENTATION
Expand Down
2 changes: 1 addition & 1 deletion Sources/CosmoGraph/.swiftformat
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
--generictypes
--groupedextension "MARK: %c"
--guardelse auto
--header "/* --------------------------------------------------------------\n * :: : C O S M O G R A P H : ::\n * --------------------------------------------------------------\n * @wabiverse :: metaversekit :: cosmograph\n *\n * This program is free software; you can redistribute it, and/or\n * modify it under the terms of the GNU General Public License as\n * published by the Free Software Foundation; either version 2 of\n * the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Check out\n * the GNU General Public License for more details.\n *\n * You should have received a copy for this software license, the\n * GNU General Public License along with this program; or, if not\n * write to the Free Software Foundation, Inc., to the address of\n * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n *\n * Copyright (C) 2023 Wabi Foundation. \n * All Rights Reserved.\n * --------------------------------------------------------------\n * . x x x . o o o . x x x . : : : . o x o . : : : .\n * -------------------------------------------------------------- */"
--header "/* ----------------------------------------------------------------\n * :: : M E T A V E R S E : ::\n * ----------------------------------------------------------------\n * This software is Licensed under the terms of the Apache License,\n * version 2.0 (the \"Apache License\") with the following additional\n * modification; you may not use this file except within compliance\n * of the Apache License and the following modification made to it.\n * Section 6. Trademarks. is deleted and replaced with:\n *\n * Trademarks. This License does not grant permission to use any of\n * its trade names, trademarks, service marks, or the product names\n * of this Licensor or its affiliates, except as required to comply\n * with Section 4(c.) of this License, and to reproduce the content\n * of the NOTICE file.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND without even an\n * implied warranty of MERCHANTABILITY, or FITNESS FOR A PARTICULAR\n * PURPOSE. See the Apache License for more details.\n *\n * You should have received a copy for this software license of the\n * Apache License along with this program; or, if not, please write\n * to the Free Software Foundation Inc., with the following address\n * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n *\n * Copyright (C) 2024 Wabi Foundation. All Rights Reserved.\n * ----------------------------------------------------------------\n * . x x x . o o o . x x x . : : : . o x o . : : : .\n * ---------------------------------------------------------------- */"
--hexgrouping 4,8
--hexliteralcase uppercase
--ifdef indent
Expand Down
41 changes: 24 additions & 17 deletions Sources/OpenSubdiv/include/OpenSubdiv/OpenSubdiv.h
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
/* --------------------------------------------------------------
* :: : M E T A V E R S E : ::
* --------------------------------------------------------------
* This program is free software; you can redistribute it, and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
/* ----------------------------------------------------------------
* :: : M E T A V E R S E : ::
* ----------------------------------------------------------------
* This software is Licensed under the terms of the Apache License,
* version 2.0 (the "Apache License") with the following additional
* modification; you may not use this file except within compliance
* of the Apache License and the following modification made to it.
* Section 6. Trademarks. is deleted and replaced with:
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Check out
* the GNU General Public License for more details.
* Trademarks. This License does not grant permission to use any of
* its trade names, trademarks, service marks, or the product names
* of this Licensor or its affiliates, except as required to comply
* with Section 4(c.) of this License, and to reproduce the content
* of the NOTICE file.
*
* You should have received a copy for this software license, the
* GNU General Public License along with this program; or, if not
* write to the Free Software Foundation, Inc., to the address of
* This software is distributed in the hope that it will be useful,
* but WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND without even an
* implied warranty of MERCHANTABILITY, or FITNESS FOR A PARTICULAR
* PURPOSE. See the Apache License for more details.
*
* You should have received a copy for this software license of the
* Apache License along with this program; or, if not, please write
* to the Free Software Foundation Inc., with the following address
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Copyright (C) 2023 Wabi Foundation. All Rights Reserved.
* --------------------------------------------------------------
* Copyright (C) 2024 Wabi Foundation. All Rights Reserved.
* ----------------------------------------------------------------
* . x x x . o o o . x x x . : : : . o x o . : : : .
* -------------------------------------------------------------- */
* ---------------------------------------------------------------- */

#ifndef __OPENSUBDIV_H__
#define __OPENSUBDIV_H__
Expand Down

0 comments on commit d4f1ef5

Please sign in to comment.