[arrayfire] 113/408: Adding missing license for a few files

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:11:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.

commit a8c6ae92cd0ac9acc5dc665c03a0f8b25ae48023
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Tue Jul 7 13:33:26 2015 -0400

    Adding missing license for a few files
---
 docs/doxygen.mk               |  3 +-
 docs/header.htm               |  3 --
 docs/highlight.pack.js        |  1 -
 docs/highlight_js_doxygen.css | 93 -------------------------------------------
 include/af/blas.h             |  9 +++--
 include/af/constants.h        |  8 ++++
 src/api/c/features.hpp        |  8 ++++
 src/api/cpp/constants.cpp     |  8 ++++
 test/array.cpp                |  8 ++++
 test/diagonal.cpp             |  8 ++++
 10 files changed, 46 insertions(+), 103 deletions(-)

diff --git a/docs/doxygen.mk b/docs/doxygen.mk
index 5cadd9d..7e5f377 100644
--- a/docs/doxygen.mk
+++ b/docs/doxygen.mk
@@ -1111,8 +1111,7 @@ HTML_EXTRA_STYLESHEET  = ${DOCS_DIR}/arrayfire.css
 # files will be copied as-is; there are no commands or markers available.
 # This tag requires that the tag GENERATE_HTML is set to YES.
 
-HTML_EXTRA_FILES       = ${DOCS_DIR}/highlight.pack.js \
-                         ${DOCS_DIR}/highlight_js_doxygen.css
+HTML_EXTRA_FILES       =
 
 # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
 # will adjust the colors in the stylesheet and background images according to
diff --git a/docs/header.htm b/docs/header.htm
index c591b29..199e95b 100644
--- a/docs/header.htm
+++ b/docs/header.htm
@@ -11,9 +11,6 @@
 <script type="text/javascript" src="$relpath^jquery.js"></script>
 <script type="text/javascript" src="$relpath^dynsections.js"></script>
 <script type="text/javascript" src="afw.js"></script>
-<script src="highlight.pack.js"></script>
-<link rel="stylesheet" href="highlight_js_doxygen.css">
-<script>hljs.initHighlightingOnLoad();</script>
 $treeview
 $search
 $mathjax
diff --git a/docs/highlight.pack.js b/docs/highlight.pack.js
deleted file mode 100644
index c2a0b04..0000000
--- a/docs/highlight.pack.js
+++ /dev/null
@@ -1 +0,0 @@
-var hljs=new function(){function l(o){return o.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">")}function b(p){for(var o=p.firstChild;o;o=o.nextSibling){if(o.nodeName.toUpperCase()=="CODE"){return o}if(!(o.nodeType==3&&o.nodeValue.match(/\s+/))){break}}}function h(p,o){return Array.prototype.map.call(p.childNodes,function(q){if(q.nodeType==3){return o?q.nodeValue.replace(/\n/g,""):q.nodeValue}if(q.nodeName.toUpperCase()=="BR"){return"\n"}return h(q,o)}).join("")}function [...]
\ No newline at end of file
diff --git a/docs/highlight_js_doxygen.css b/docs/highlight_js_doxygen.css
deleted file mode 100644
index 1cb145e..0000000
--- a/docs/highlight_js_doxygen.css
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
-
-Doxygen emulation for highlight.js
-
-*/
-
-pre code {
-  display       :   block;
-  padding-left  :   15px;
-  background    :   #FEFCFB;
-  border        :   1px solid #F9CEBA
-}
-
-pre .comment,
-pre .template_comment,
-pre .diff .header,
-pre .doctype,
-pre .pi,
-pre .lisp .string,
-pre .javadoc {
-  color: #93a1a1;
-  font-style: italic;
-}
-
-pre .keyword,
-pre .winutils,
-pre .method,
-pre .addition,
-pre .css .tag,
-pre .request,
-pre .status,
-pre .nginx .title {
-  color: #859900;
-}
-
-pre .number,
-pre .command,
-pre .string,
-pre .tag .value,
-pre .rules .value,
-pre .phpdoc,
-pre .tex .formula,
-pre .regexp,
-pre .hexcolor {
-  color: #2aa198;
-}
-
-pre .title,
-pre .localvars,
-pre .chunk,
-pre .decorator,
-pre .identifier,
-pre .vhdl .literal,
-pre .id,
-pre .css .function {
-  color: #268bd2;
-}
-
-pre .attribute,
-pre .variable,
-pre .lisp .body,
-pre .smalltalk .number,
-pre .constant,
-pre .class .title,
-pre .parent,
-pre .haskell .type {
-  color: #b58900;
-}
-
-pre .preprocessor,
-pre .preprocessor .keyword,
-pre .pragma,
-pre .shebang,
-pre .symbol,
-pre .symbol .string,
-pre .diff .change,
-pre .special,
-pre .attr_selector,
-pre .important,
-pre .subst,
-pre .cdata,
-pre .clojure .title,
-pre .css .pseudo {
-  color: #cb4b16;
-}
-
-pre .deletion {
-  color: #dc322f;
-}
-
-pre .tex .formula {
-  background: #eee8d5;
-}
diff --git a/include/af/blas.h b/include/af/blas.h
index 1a89ad2..b7a8c63 100644
--- a/include/af/blas.h
+++ b/include/af/blas.h
@@ -132,11 +132,11 @@ namespace af
         Scalar dot product between two vectors.  Also referred to as the inner
         product.
 
-        \democode{
+        \code
         // compute scalar dot product
         array x = randu(100), y = randu(100);
         af_print(dot(x,y));
-        }
+        \endcode
 
         \param[in] lhs The array object on the left hand side
         \param[in] rhs The array object on the right hand side
@@ -210,11 +210,12 @@ extern "C" {
         Scalar dot product between two vectors.  Also referred to as the inner
         product.
 
-        \democode{
+        \code
         // compute scalar dot product
         array x = randu(100), y = randu(100);
         print(dot<float>(x,y));
-        }
+        \endcode
+
         \ingroup blas_func_dot
     */
     AFAPI af_err af_dot(    af_array *out,
diff --git a/include/af/constants.h b/include/af/constants.h
index b0a91b0..a57c924 100644
--- a/include/af/constants.h
+++ b/include/af/constants.h
@@ -1,3 +1,11 @@
+/*******************************************************
+ * Copyright (c) 2014, ArrayFire
+ * All rights reserved.
+ *
+ * This file is distributed under 3-clause BSD license.
+ * The complete license agreement can be obtained at:
+ * http://arrayfire.com/licenses/BSD-3-Clause
+ ********************************************************/
 #include <af/defines.h>
 #ifdef __cplusplus
 namespace af
diff --git a/src/api/c/features.hpp b/src/api/c/features.hpp
index 5bb8915..6152fa4 100644
--- a/src/api/c/features.hpp
+++ b/src/api/c/features.hpp
@@ -1,3 +1,11 @@
+/*******************************************************
+ * Copyright (c) 2014, ArrayFire
+ * All rights reserved.
+ *
+ * This file is distributed under 3-clause BSD license.
+ * The complete license agreement can be obtained at:
+ * http://arrayfire.com/licenses/BSD-3-Clause
+ ********************************************************/
 #pragma once
 
 typedef struct {
diff --git a/src/api/cpp/constants.cpp b/src/api/cpp/constants.cpp
index 62b7967..239385f 100644
--- a/src/api/cpp/constants.cpp
+++ b/src/api/cpp/constants.cpp
@@ -1,3 +1,11 @@
+/*******************************************************
+ * Copyright (c) 2014, ArrayFire
+ * All rights reserved.
+ *
+ * This file is distributed under 3-clause BSD license.
+ * The complete license agreement can be obtained at:
+ * http://arrayfire.com/licenses/BSD-3-Clause
+ ********************************************************/
 #include <limits>
 #include <af/constants.h>
 
diff --git a/test/array.cpp b/test/array.cpp
index 47a593d..0b7f288 100644
--- a/test/array.cpp
+++ b/test/array.cpp
@@ -1,3 +1,11 @@
+/*******************************************************
+ * Copyright (c) 2014, ArrayFire
+ * All rights reserved.
+ *
+ * This file is distributed under 3-clause BSD license.
+ * The complete license agreement can be obtained at:
+ * http://arrayfire.com/licenses/BSD-3-Clause
+ ********************************************************/
 
 #include <gtest/gtest.h>
 #include <arrayfire.h>
diff --git a/test/diagonal.cpp b/test/diagonal.cpp
index 1ab0d33..c88f0fb 100644
--- a/test/diagonal.cpp
+++ b/test/diagonal.cpp
@@ -1,3 +1,11 @@
+/*******************************************************
+ * Copyright (c) 2014, ArrayFire
+ * All rights reserved.
+ *
+ * This file is distributed under 3-clause BSD license.
+ * The complete license agreement can be obtained at:
+ * http://arrayfire.com/licenses/BSD-3-Clause
+ ********************************************************/
 
 #include <gtest/gtest.h>
 #include <testHelpers.hpp>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list