[47/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/src/emitterutils.cpp
--
diff --git a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/src/emitterutils.cpp 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/src/emitterutils.cpp
new file mode 100644
index 000..4a4c982
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/src/emitterutils.cpp
@@ -0,0 +1,484 @@
+#include 
+#include 
+
+#include "emitterutils.h"
+#include "exp.h"
+#include "indentation.h"
+#include "regex_yaml.h"
+#include "regeximpl.h"
+#include "stringsource.h"
+#include "yaml-cpp/binary.h"  // IWYU pragma: keep
+#include "yaml-cpp/ostream_wrapper.h"
+
+namespace YAML {
+namespace Utils {
+namespace {
+enum { REPLACEMENT_CHARACTER = 0xFFFD };
+
+bool IsAnchorChar(int ch) {  // test for ns-anchor-char
+  switch (ch) {
+case ',':
+case '[':
+case ']':
+case '{':
+case '}':  // c-flow-indicator
+case ' ':
+case '\t':// s-white
+case 0xFEFF:  // c-byte-order-mark
+case 0xA:
+case 0xD:  // b-char
+  return false;
+case 0x85:
+  return true;
+  }
+
+  if (ch < 0x20) {
+return false;
+  }
+
+  if (ch < 0x7E) {
+return true;
+  }
+
+  if (ch < 0xA0) {
+return false;
+  }
+  if (ch >= 0xD800 && ch <= 0xDFFF) {
+return false;
+  }
+  if ((ch & 0xFFFE) == 0xFFFE) {
+return false;
+  }
+  if ((ch >= 0xFDD0) && (ch <= 0xFDEF)) {
+return false;
+  }
+  if (ch > 0x10) {
+return false;
+  }
+
+  return true;
+}
+
+int Utf8BytesIndicated(char ch) {
+  int byteVal = static_cast(ch);
+  switch (byteVal >> 4) {
+case 0:
+case 1:
+case 2:
+case 3:
+case 4:
+case 5:
+case 6:
+case 7:
+  return 1;
+case 12:
+case 13:
+  return 2;
+case 14:
+  return 3;
+case 15:
+  return 4;
+default:
+  return -1;
+  }
+}
+
+bool IsTrailingByte(char ch) { return (ch & 0xC0) == 0x80; }
+
+bool GetNextCodePointAndAdvance(int& codePoint,
+std::string::const_iterator& first,
+std::string::const_iterator last) {
+  if (first == last)
+return false;
+
+  int nBytes = Utf8BytesIndicated(*first);
+  if (nBytes < 1) {
+// Bad lead byte
+++first;
+codePoint = REPLACEMENT_CHARACTER;
+return true;
+  }
+
+  if (nBytes == 1) {
+codePoint = *first++;
+return true;
+  }
+
+  // Gather bits from trailing bytes
+  codePoint = static_cast(*first) & ~(0xFF << (7 - nBytes));
+  ++first;
+  --nBytes;
+  for (; nBytes > 0; ++first, --nBytes) {
+if ((first == last) || !IsTrailingByte(*first)) {
+  codePoint = REPLACEMENT_CHARACTER;
+  break;
+}
+codePoint <<= 6;
+codePoint |= *first & 0x3F;
+  }
+
+  // Check for illegal code points
+  if (codePoint > 0x10)
+codePoint = REPLACEMENT_CHARACTER;
+  else if (codePoint >= 0xD800 && codePoint <= 0xDFFF)
+codePoint = REPLACEMENT_CHARACTER;
+  else if ((codePoint & 0xFFFE) == 0xFFFE)
+codePoint = REPLACEMENT_CHARACTER;
+  else if (codePoint >= 0xFDD0 && codePoint <= 0xFDEF)
+codePoint = REPLACEMENT_CHARACTER;
+  return true;
+}
+
+void WriteCodePoint(ostream_wrapper& out, int codePoint) {
+  if (codePoint < 0 || codePoint > 0x10) {
+codePoint = REPLACEMENT_CHARACTER;
+  }
+  if (codePoint < 0x7F) {
+out << static_cast(codePoint);
+  } else if (codePoint < 0x7FF) {
+out << static_cast(0xC0 | (codePoint >> 6))
+<< static_cast(0x80 | (codePoint & 0x3F));
+  } else if (codePoint < 0x) {
+out << static_cast(0xE0 | (codePoint >> 12))
+<< static_cast(0x80 | ((codePoint >> 6) & 0x3F))
+<< static_cast(0x80 | (codePoint & 0x3F));
+  } else {
+out << static_cast(0xF0 | (codePoint >> 18))
+<< static_cast(0x80 | ((codePoint >> 12) & 0x3F))
+<< static_cast(0x80 | ((codePoint >> 6) & 0x3F))
+<< static_cast(0x80 | (codePoint & 0x3F));
+  }
+}
+
+bool IsValidPlainScalar(const std::string& str, FlowType::value flowType,
+bool allowOnlyAscii) {
+  if (str.empty()) {
+return false;
+  }
+
+  // check against null
+  if (str == "null") {
+return false;
+  }
+
+  // check the start
+  const RegEx& start = (flowType == FlowType::Flow ? Exp::PlainScalarInFlow()
+   : Exp::PlainScalar());
+  if (!start.Matches(str)) {
+return false;
+  }
+
+  // and check the end for plain whitespace (which can't be faithfully kept in 
a
+  // plain scalar)
+  if (!str.empty() && *str.rbegin() == ' ') {
+return false;
+  }
+
+  // then check until something is disallowed
+  static const RegEx& disallowed_flow =
+  Exp::EndScalarInFlow() || (Exp::BlankOrBreak() + Exp::Comment()) ||
+  Exp::NotPrintable() || Exp::Utf8_ByteOrderMark() || Exp::Break() ||
+  Exp::Tab();
+  static const RegEx& disallowed_block =
+  Exp::EndScalar() || (Exp::

[16/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-linked_ptr.h
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-linked_ptr.h
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-linked_ptr.h
new file mode 100644
index 000..b1362cd
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-linked_ptr.h
@@ -0,0 +1,233 @@
+// Copyright 2003 Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Authors: Dan Egnor (eg...@google.com)
+//
+// A "smart" pointer type with reference tracking.  Every pointer to a
+// particular object is kept on a circular linked list.  When the last pointer
+// to an object is destroyed or reassigned, the object is deleted.
+//
+// Used properly, this deletes the object when the last reference goes away.
+// There are several caveats:
+// - Like all reference counting schemes, cycles lead to leaks.
+// - Each smart pointer is actually two pointers (8 bytes instead of 4).
+// - Every time a pointer is assigned, the entire list of pointers to that
+//   object is traversed.  This class is therefore NOT SUITABLE when there
+//   will often be more than two or three pointers to a particular object.
+// - References are only tracked as long as linked_ptr<> objects are copied.
+//   If a linked_ptr<> is converted to a raw pointer and back, BAD THINGS
+//   will happen (double deletion).
+//
+// A good use of this class is storing object references in STL containers.
+// You can safely put linked_ptr<> in a vector<>.
+// Other uses may not be as good.
+//
+// Note: If you use an incomplete type with linked_ptr<>, the class
+// *containing* linked_ptr<> must have a constructor and destructor (even
+// if they do nothing!).
+//
+// Bill Gibbons suggested we use something like this.
+//
+// Thread Safety:
+//   Unlike other linked_ptr implementations, in this implementation
+//   a linked_ptr object is thread-safe in the sense that:
+// - it's safe to copy linked_ptr objects concurrently,
+// - it's safe to copy *from* a linked_ptr and read its underlying
+//   raw pointer (e.g. via get()) concurrently, and
+// - it's safe to write to two linked_ptrs that point to the same
+//   shared object concurrently.
+// TODO(w...@google.com): rename this to safe_linked_ptr to avoid
+// confusion with normal linked_ptr.
+
+#ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_LINKED_PTR_H_
+#define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_LINKED_PTR_H_
+
+#include 
+#include 
+
+#include "gtest/internal/gtest-port.h"
+
+namespace testing {
+namespace internal {
+
+// Protects copying of all linked_ptr objects.
+GTEST_API_ GTEST_DECLARE_STATIC_MUTEX_(g_linked_ptr_mutex);
+
+// This is used internally by all instances of linked_ptr<>.  It needs to be
+// a non-template class because different types of linked_ptr<> can refer to
+// the same object (linked_ptr(obj) vs linked_ptr(obj)).
+// So, it needs to be possible for different types of linked_ptr to participate
+// in the same circular linked list, so we need a single class type here.
+//
+// DO NOT USE THIS CLASS DIRECTLY YOURSELF.  Use linked_ptr.
+class linked_ptr_internal {
+ public:
+  // Create a new circle that includes only this instance.
+

[01/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
Repository: nifi-minifi-cpp
Updated Branches:
  refs/heads/MINIFI-68 [created] 918e296c6


http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/src/gtest_main.cc
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/src/gtest_main.cc 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/src/gtest_main.cc
new file mode 100644
index 000..f302822
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/src/gtest_main.cc
@@ -0,0 +1,38 @@
+// Copyright 2006, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+#include 
+
+#include "gtest/gtest.h"
+
+GTEST_API_ int main(int argc, char **argv) {
+  printf("Running main() from gtest_main.cc\n");
+  testing::InitGoogleTest(&argc, argv);
+  return RUN_ALL_TESTS();
+}



[43/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/aclocal.m4
--
diff --git a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/aclocal.m4 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/aclocal.m4
new file mode 100644
index 000..567ee74
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/aclocal.m4
@@ -0,0 +1,9799 @@
+# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
+# Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+m4_ifndef([AC_AUTOCONF_VERSION],
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
+[m4_warning([this file was generated for autoconf 2.68.
+You have another version of autoconf.  It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically 
`autoreconf'.])])
+
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
+#
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
+#   Written by Gordon Matzigkeit, 1996
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+m4_define([_LT_COPYING], [dnl
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
+#   Written by Gordon Matzigkeit, 1996
+#
+#   This file is part of GNU Libtool.
+#
+# GNU Libtool 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.
+#
+# As a special exception to the GNU General Public License,
+# if you distribute this file as part of a program or library that
+# is built using GNU Libtool, you may include this file under the
+# same distribution terms that you use for the rest of that program.
+#
+# GNU Libtool 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.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Libtool; see the file COPYING.  If not, a copy
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
+# obtained by writing to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+])
+
+# serial 57 LT_INIT
+
+
+# LT_PREREQ(VERSION)
+# --
+# Complain and exit if this libtool version is less that VERSION.
+m4_defun([LT_PREREQ],
+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
+   [m4_default([$3],
+  [m4_fatal([Libtool version $1 or higher is required],
+63)])],
+   [$2])])
+
+
+# _LT_CHECK_BUILDDIR
+# --
+# Complain if the absolute build directory name contains unusual characters
+m4_defun([_LT_CHECK_BUILDDIR],
+[case `pwd` in
+  *\ * | *\*)
+AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
+esac
+])
+
+
+# LT_INIT([OPTIONS])
+# --
+AC_DEFUN([LT_INIT],
+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
+AC_BEFORE([$0], [LT_LANG])dnl
+AC_BEFORE([$0], [LT_OUTPUT])dnl
+AC_BEFORE([$0], [LTDL_INIT])dnl
+m4_require([_LT_CHECK_BUILDDIR])dnl
+
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
+dnl unless we require an AC_DEFUNed macro:
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
+AC_REQUIRE([LTSUGAR_VERSION])dnl
+AC_REQUIRE([LTVERSION_VERSION])dnl
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
+m4_require([_LT_PROG_LTMAIN])dnl
+
+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
+
+dnl Parse OPTIONS
+_LT_SET_OPTIONS([$0], [$1])
+
+# This can be use

[29/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/config.guess
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/config.guess
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/config.guess
new file mode 100755
index 000..d622a44
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/config.guess
@@ -0,0 +1,1530 @@
+#! /bin/sh
+# Attempt to guess a canonical system name.
+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+#   2011, 2012 Free Software Foundation, Inc.
+
+timestamp='2012-02-10'
+
+# This file 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.
+#
+# 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.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see .
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+
+# Originally written by Per Bothner.  Please send patches (context
+# diff format) to  and include a ChangeLog
+# entry.
+#
+# This script attempts to guess a canonical system name similar to
+# config.sub.  If it succeeds, it prints the system name on stdout, and
+# exits with 0.  Otherwise, it exits with 1.
+#
+# You can get the latest version of this script from:
+# 
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION]
+
+Output the configuration name of the system \`$me' is run on.
+
+Operation modes:
+  -h, --help print this help, then exit
+  -t, --time-stamp   print date of last modification, then exit
+  -v, --version  print version number, then exit
+
+Report bugs and patches to ."
+
+version="\
+GNU config.guess ($timestamp)
+
+Originally written by Per Bothner.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+  case $1 in
+--time-stamp | --time* | -t )
+   echo "$timestamp" ; exit ;;
+--version | -v )
+   echo "$version" ; exit ;;
+--help | --h* | -h )
+   echo "$usage"; exit ;;
+-- ) # Stop option processing
+   shift; break ;;
+- )# Use stdin as input.
+   break ;;
+-* )
+   echo "$me: invalid option $1$help" >&2
+   exit 1 ;;
+* )
+   break ;;
+  esac
+done
+
+if test $# != 0; then
+  echo "$me: too many arguments$help" >&2
+  exit 1
+fi
+
+trap 'exit 1' 1 2 15
+
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
+# compiler to aid in system detection is discouraged as it requires
+# temporary files to be created and, as you can see below, it is a
+# headache to deal with in a portable fashion.
+
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
+# use `HOST_CC' if defined, but it is deprecated.
+
+# Portable tmp directory creation inspired by the Autoconf team.
+
+set_cc_for_build='
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && 
exit \$exitcode" 0 ;
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 
;
+: ${TMPDIR=/tmp} ;
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXX") 2>/dev/null` && test -n 
"$tmp" && test -d "$tmp" ; } ||
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) 
; } ||
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating 
insecure temp directory" >&2 ; } ||
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } 
;
+dummy=$tmp/dummy ;
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
+case $CC_FOR_BUILD,$HOST_CC,$CC in
+ ,,)echo "int x;" > $dummy.c ;
+   for c in cc gcc c89 c99 ; do
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
+CC_FOR_BUILD="$c"; break ;
+ fi ;
+   

[18/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest.h
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest.h
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest.h
new file mode 100644
index 000..6fa0a39
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest.h
@@ -0,0 +1,2291 @@
+// Copyright 2005, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: w...@google.com (Zhanyong Wan)
+//
+// The Google C++ Testing Framework (Google Test)
+//
+// This header file defines the public API for Google Test.  It should be
+// included by any test program that uses Google Test.
+//
+// IMPORTANT NOTE: Due to limitation of the C++ language, we have to
+// leave some internal implementation details in this header file.
+// They are clearly marked by comments like this:
+//
+//   // INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
+//
+// Such code is NOT meant to be used by a user directly, and is subject
+// to CHANGE WITHOUT NOTICE.  Therefore DO NOT DEPEND ON IT in a user
+// program!
+//
+// Acknowledgment: Google Test borrowed the idea of automatic test
+// registration from Barthelemy Dagenais' (barthel...@prologique.com)
+// easyUnit framework.
+
+#ifndef GTEST_INCLUDE_GTEST_GTEST_H_
+#define GTEST_INCLUDE_GTEST_GTEST_H_
+
+#include 
+#include 
+#include 
+
+#include "gtest/internal/gtest-internal.h"
+#include "gtest/internal/gtest-string.h"
+#include "gtest/gtest-death-test.h"
+#include "gtest/gtest-message.h"
+#include "gtest/gtest-param-test.h"
+#include "gtest/gtest-printers.h"
+#include "gtest/gtest_prod.h"
+#include "gtest/gtest-test-part.h"
+#include "gtest/gtest-typed-test.h"
+
+// Depending on the platform, different string classes are available.
+// On Linux, in addition to ::std::string, Google also makes use of
+// class ::string, which has the same interface as ::std::string, but
+// has a different implementation.
+//
+// The user can define GTEST_HAS_GLOBAL_STRING to 1 to indicate that
+// ::string is available AND is a distinct type to ::std::string, or
+// define it to 0 to indicate otherwise.
+//
+// If the user's ::std::string and ::string are the same class due to
+// aliasing, he should define GTEST_HAS_GLOBAL_STRING to 0.
+//
+// If the user doesn't define GTEST_HAS_GLOBAL_STRING, it is defined
+// heuristically.
+
+namespace testing {
+
+// Declares the flags.
+
+// This flag temporary enables the disabled tests.
+GTEST_DECLARE_bool_(also_run_disabled_tests);
+
+// This flag brings the debugger on an assertion failure.
+GTEST_DECLARE_bool_(break_on_failure);
+
+// This flag controls whether Google Test catches all test-thrown exceptions
+// and logs them as failures.
+GTEST_DECLARE_bool_(catch_exceptions);
+
+// This flag enables using colors in terminal output. Available values are
+// "yes" to enable colors, "no" (disable colors), or "auto" (the default)
+// to let Google Test decide.
+GTEST_DECLARE_string_(color);
+
+// This flag sets up the filter to select by name using a glob pattern
+// the tests to run. If the filter is not given all tests are executed.
+GTEST_DECLARE_string_(filter);
+
+// This flag causes the Google Test to list tests. None of the tests listed
+// are actually run if the flag is pro

[24/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/configure.ac
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/configure.ac 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/configure.ac
new file mode 100644
index 000..cc592e1
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/configure.ac
@@ -0,0 +1,68 @@
+m4_include(m4/acx_pthread.m4)
+
+# At this point, the Xcode project assumes the version string will be three
+# integers separated by periods and surrounded by square brackets (e.g.
+# "[1.0.1]"). It also asumes that there won't be any closing parenthesis
+# between "AC_INIT(" and the closing ")" including comments and strings.
+AC_INIT([Google C++ Testing Framework],
+[1.7.0],
+[googletestframew...@googlegroups.com],
+[gtest])
+
+# Provide various options to initialize the Autoconf and configure processes.
+AC_PREREQ([2.59])
+AC_CONFIG_SRCDIR([./LICENSE])
+AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_AUX_DIR([build-aux])
+AC_CONFIG_HEADERS([build-aux/config.h])
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([scripts/gtest-config], [chmod +x scripts/gtest-config])
+
+# Initialize Automake with various options. We require at least v1.9, prevent
+# pedantic complaints about package files, and enable various distribution
+# targets.
+AM_INIT_AUTOMAKE([1.9 dist-bzip2 dist-zip foreign subdir-objects])
+
+# Check for programs used in building Google Test.
+AC_PROG_CC
+AC_PROG_CXX
+AC_LANG([C++])
+AC_PROG_LIBTOOL
+
+# TODO(chandl...@google.com): Currently we aren't running the Python tests
+# against the interpreter detected by AM_PATH_PYTHON, and so we condition
+# HAVE_PYTHON by requiring "python" to be in the PATH, and that interpreter's
+# version to be >= 2.3. This will allow the scripts to use a "/usr/bin/env"
+# hashbang.
+PYTHON=  # We *do not* allow the user to specify a python interpreter
+AC_PATH_PROG([PYTHON],[python],[:])
+AS_IF([test "$PYTHON" != ":"],
+  [AM_PYTHON_CHECK_VERSION([$PYTHON],[2.3],[:],[PYTHON=":"])])
+AM_CONDITIONAL([HAVE_PYTHON],[test "$PYTHON" != ":"])
+
+# Configure pthreads.
+AC_ARG_WITH([pthreads],
+[AS_HELP_STRING([--with-pthreads],
+   [use pthreads (default is yes)])],
+[with_pthreads=$withval],
+[with_pthreads=check])
+
+have_pthreads=no
+AS_IF([test "x$with_pthreads" != "xno"],
+  [ACX_PTHREAD(
+[],
+[AS_IF([test "x$with_pthreads" != "xcheck"],
+   [AC_MSG_FAILURE(
+ [--with-pthreads was specified, but unable to be used])])])
+   have_pthreads="$acx_pthread_ok"])
+AM_CONDITIONAL([HAVE_PTHREADS],[test "x$have_pthreads" = "xyes"])
+AC_SUBST(PTHREAD_CFLAGS)
+AC_SUBST(PTHREAD_LIBS)
+
+# TODO(chandl...@google.com) Check for the necessary system headers.
+
+# TODO(chandl...@google.com) Check the types, structures, and other compiler
+# and architecture characteristics.
+
+# Output the generated files. No further autoconf macros may be used.
+AC_OUTPUT



[12/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-tuple.h
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-tuple.h
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-tuple.h
new file mode 100644
index 000..7b3dfc3
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-tuple.h
@@ -0,0 +1,1012 @@
+// This file was GENERATED by command:
+// pump.py gtest-tuple.h.pump
+// DO NOT EDIT BY HAND!!!
+
+// Copyright 2009 Google Inc.
+// All Rights Reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: w...@google.com (Zhanyong Wan)
+
+// Implements a subset of TR1 tuple needed by Google Test and Google Mock.
+
+#ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TUPLE_H_
+#define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TUPLE_H_
+
+#include   // For ::std::pair.
+
+// The compiler used in Symbian has a bug that prevents us from declaring the
+// tuple template as a friend (it complains that tuple is redefined).  This
+// hack bypasses the bug by declaring the members that should otherwise be
+// private as public.
+// Sun Studio versions < 12 also have the above bug.
+#if defined(__SYMBIAN32__) || (defined(__SUNPRO_CC) && __SUNPRO_CC < 0x590)
+# define GTEST_DECLARE_TUPLE_AS_FRIEND_ public:
+#else
+# define GTEST_DECLARE_TUPLE_AS_FRIEND_ \
+template  friend class tuple; \
+   private:
+#endif
+
+// GTEST_n_TUPLE_(T) is the type of an n-tuple.
+#define GTEST_0_TUPLE_(T) tuple<>
+#define GTEST_1_TUPLE_(T) tuple
+#define GTEST_2_TUPLE_(T) tuple
+#define GTEST_3_TUPLE_(T) tuple
+#define GTEST_4_TUPLE_(T) tuple
+#define GTEST_5_TUPLE_(T) tuple
+#define GTEST_6_TUPLE_(T) tuple
+#define GTEST_7_TUPLE_(T) tuple
+#define GTEST_8_TUPLE_(T) tuple
+#define GTEST_9_TUPLE_(T) tuple
+#define GTEST_10_TUPLE_(T) tuple
+
+// GTEST_n_TYPENAMES_(T) declares a list of n typenames.
+#define GTEST_0_TYPENAMES_(T)
+#define GTEST_1_TYPENAMES_(T) typename T##0
+#define GTEST_2_TYPENAMES_(T) typename T##0, typename T##1
+#define GTEST_3_TYPENAMES_(T) typename T##0, typename T##1, typename T##2
+#define GTEST_4_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
+typename T##3
+#define GTEST_5_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
+typename T##3, typename T##4
+#define GTEST_6_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
+typename T##3, typename T##4, typename T##5
+#define GTEST_7_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
+typename T##3, typename T##4, typename T##5, typename T##6
+#define GTEST_8_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
+typename T##3, typename T##4, typename T##5, typename T##6, typename T##7
+#define GTEST_9_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
+typename T##3, typename T##4, typename T##5, typename T##6, \
+typename T##7, typename T##8
+#define GTEST_10_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
+typename T##3, typename T##4, typename T##5, typename T##6, \
+typename T##7, typename T##8, typename T##9
+
+// In theory, defining stuff in the ::std namespace is undefined
+// behavior.  We can do this as we are playing the role of a standard
+// library vendor.
+namespace std {
+name

[25/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/configure
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/configure 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/configure
new file mode 100755
index 000..582a9a0
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/configure
@@ -0,0 +1,18222 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.68 for Google C++ Testing Framework 1.7.0.
+#
+# Report bugs to .
+#
+#
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
+# Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+##  ##
+## M4sh Initialization. ##
+##  ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+  emulate sh
+  NULLCMD=:
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '${1+"$@"}'='"$@"'
+  setopt NO_GLOB_SUBST
+else
+  case `(set -o) 2>/dev/null` in #(
+  *posix*) :
+set -o posix ;; #(
+  *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='print -r --'
+  as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='printf %s\n'
+  as_echo_n='printf %s'
+else
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; 
then
+as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+as_echo_n='/usr/ucb/echo -n'
+  else
+as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+as_echo_n_body='eval
+  arg=$1;
+  case $arg in #(
+  *"$as_nl"*)
+   expr "X$arg" : "X\\(.*\\)$as_nl";
+   arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+  esac;
+  expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+'
+export as_echo_n_body
+as_echo_n='sh -c $as_echo_n_body as_echo'
+  fi
+  export as_echo_body
+  as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+  PATH_SEPARATOR=:
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+  PATH_SEPARATOR=';'
+  }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order.  Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" ""   $as_nl"
+
+# Find who we are.  Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+  *[\\/]* ) as_myself=$0 ;;
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+  done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+  as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file 
name" >&2
+  exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there.  '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+if test "x$CONFIG_SHELL" = x; then
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) 
>/dev/null 2>&1; then :
+  emulate sh
+  NULLCMD=:
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '\${1+\"\$

[46/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/src/scanscalar.cpp
--
diff --git a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/src/scanscalar.cpp 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/src/scanscalar.cpp
new file mode 100644
index 000..8253b8d
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/src/scanscalar.cpp
@@ -0,0 +1,221 @@
+#include "scanscalar.h"
+
+#include 
+
+#include "exp.h"
+#include "regeximpl.h"
+#include "stream.h"
+#include "yaml-cpp/exceptions.h"  // IWYU pragma: keep
+
+namespace YAML {
+// ScanScalar
+// . This is where the scalar magic happens.
+//
+// . We do the scanning in three phases:
+//   1. Scan until newline
+//   2. Eat newline
+//   3. Scan leading blanks.
+//
+// . Depending on the parameters given, we store or stop
+//   and different places in the above flow.
+std::string ScanScalar(Stream& INPUT, ScanScalarParams& params) {
+  bool foundNonEmptyLine = false;
+  bool pastOpeningBreak = (params.fold == FOLD_FLOW);
+  bool emptyLine = false, moreIndented = false;
+  int foldedNewlineCount = 0;
+  bool foldedNewlineStartedMoreIndented = false;
+  std::size_t lastEscapedChar = std::string::npos;
+  std::string scalar;
+  params.leadingSpaces = false;
+
+  while (INPUT) {
+// 
+// Phase #1: scan until line ending
+
+std::size_t lastNonWhitespaceChar = scalar.size();
+bool escapedNewline = false;
+while (!params.end.Matches(INPUT) && !Exp::Break().Matches(INPUT)) {
+  if (!INPUT)
+break;
+
+  // document indicator?
+  if (INPUT.column() == 0 && Exp::DocIndicator().Matches(INPUT)) {
+if (params.onDocIndicator == BREAK)
+  break;
+else if (params.onDocIndicator == THROW)
+  throw ParserException(INPUT.mark(), ErrorMsg::DOC_IN_SCALAR);
+  }
+
+  foundNonEmptyLine = true;
+  pastOpeningBreak = true;
+
+  // escaped newline? (only if we're escaping on slash)
+  if (params.escape == '\\' && Exp::EscBreak().Matches(INPUT)) {
+// eat escape character and get out (but preserve trailing whitespace!)
+INPUT.get();
+lastNonWhitespaceChar = scalar.size();
+lastEscapedChar = scalar.size();
+escapedNewline = true;
+break;
+  }
+
+  // escape this?
+  if (INPUT.peek() == params.escape) {
+scalar += Exp::Escape(INPUT);
+lastNonWhitespaceChar = scalar.size();
+lastEscapedChar = scalar.size();
+continue;
+  }
+
+  // otherwise, just add the damn character
+  char ch = INPUT.get();
+  scalar += ch;
+  if (ch != ' ' && ch != '\t')
+lastNonWhitespaceChar = scalar.size();
+}
+
+// eof? if we're looking to eat something, then we throw
+if (!INPUT) {
+  if (params.eatEnd)
+throw ParserException(INPUT.mark(), ErrorMsg::EOF_IN_SCALAR);
+  break;
+}
+
+// doc indicator?
+if (params.onDocIndicator == BREAK && INPUT.column() == 0 &&
+Exp::DocIndicator().Matches(INPUT))
+  break;
+
+// are we done via character match?
+int n = params.end.Match(INPUT);
+if (n >= 0) {
+  if (params.eatEnd)
+INPUT.eat(n);
+  break;
+}
+
+// do we remove trailing whitespace?
+if (params.fold == FOLD_FLOW)
+  scalar.erase(lastNonWhitespaceChar);
+
+// 
+// Phase #2: eat line ending
+n = Exp::Break().Match(INPUT);
+INPUT.eat(n);
+
+// 
+// Phase #3: scan initial spaces
+
+// first the required indentation
+while (INPUT.peek() == ' ' && (INPUT.column() < params.indent ||
+   (params.detectIndent && 
!foundNonEmptyLine)))
+  INPUT.eat(1);
+
+// update indent if we're auto-detecting
+if (params.detectIndent && !foundNonEmptyLine)
+  params.indent = std::max(params.indent, INPUT.column());
+
+// and then the rest of the whitespace
+while (Exp::Blank().Matches(INPUT)) {
+  // we check for tabs that masquerade as indentation
+  if (INPUT.peek() == '\t' && INPUT.column() < params.indent &&
+  params.onTabInIndentation == THROW)
+throw ParserException(INPUT.mark(), ErrorMsg::TAB_IN_INDENTATION);
+
+  if (!params.eatLeadingWhitespace)
+break;
+
+  INPUT.eat(1);
+}
+
+// was this an empty line?
+bool nextEmptyLine = Exp::Break().Matches(INPUT);
+bool nextMoreIndented = Exp::Blank().Matches(INPUT);
+if (params.fold == FOLD_BLOCK && foldedNewlineCount == 0 && nextEmptyLine)
+  foldedNewlineStartedMoreIndented = moreIndented;
+
+// for block scalars, we always start with a newline, so we should ignore 
it
+// (not fold or keep)
+if (pastOpeningBreak) {
+  switch (params.fold) {
+case DONT_FOLD:
+  scalar += "\n";
+  break;
+case FO

[10/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-type-util.h.pump
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-type-util.h.pump
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-type-util.h.pump
new file mode 100644
index 000..251fdf0
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-type-util.h.pump
@@ -0,0 +1,297 @@
+$$ -*- mode: c++; -*-
+$var n = 50  $$ Maximum length of type lists we want to support.
+// Copyright 2008 Google Inc.
+// All Rights Reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: w...@google.com (Zhanyong Wan)
+
+// Type utilities needed for implementing typed and type-parameterized
+// tests.  This file is generated by a SCRIPT.  DO NOT EDIT BY HAND!
+//
+// Currently we support at most $n types in a list, and at most $n
+// type-parameterized tests in one type-parameterized test case.
+// Please contact googletestframew...@googlegroups.com if you need
+// more.
+
+#ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
+#define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
+
+#include "gtest/internal/gtest-port.h"
+
+// #ifdef __GNUC__ is too general here.  It is possible to use gcc without 
using
+// libstdc++ (which is where cxxabi.h comes from).
+# if GTEST_HAS_CXXABI_H_
+#  include 
+# elif defined(__HP_aCC)
+#  include 
+# endif  // GTEST_HASH_CXXABI_H_
+
+namespace testing {
+namespace internal {
+
+// GetTypeName() returns a human-readable name of type T.
+// NB: This function is also used in Google Mock, so don't move it inside of
+// the typed-test-only section below.
+template 
+std::string GetTypeName() {
+# if GTEST_HAS_RTTI
+
+  const char* const name = typeid(T).name();
+#  if GTEST_HAS_CXXABI_H_ || defined(__HP_aCC)
+  int status = 0;
+  // gcc's implementation of typeid(T).name() mangles the type name,
+  // so we have to demangle it.
+#   if GTEST_HAS_CXXABI_H_
+  using abi::__cxa_demangle;
+#   endif  // GTEST_HAS_CXXABI_H_
+  char* const readable_name = __cxa_demangle(name, 0, 0, &status);
+  const std::string name_str(status == 0 ? readable_name : name);
+  free(readable_name);
+  return name_str;
+#  else
+  return name;
+#  endif  // GTEST_HAS_CXXABI_H_ || __HP_aCC
+
+# else
+
+  return "";
+
+# endif  // GTEST_HAS_RTTI
+}
+
+#if GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P
+
+// AssertyTypeEq::type is defined iff T1 and T2 are the same
+// type.  This can be used as a compile-time assertion to ensure that
+// two types are equal.
+
+template 
+struct AssertTypeEq;
+
+template 
+struct AssertTypeEq {
+  typedef bool type;
+};
+
+// A unique type used as the default value for the arguments of class
+// template Types.  This allows us to simulate variadic templates
+// (e.g. Types, Type, and etc), which C++ doesn't
+// support directly.
+struct None {};
+
+// The following family of struct and struct templates are used to
+// represent type lists.  In particular, TypesN
+// represents a type list with N types (T1, T2, ..., and TN) in it.
+// Except for Types0, every struct in the family has two member types:
+// Head for the first type in the list, and Tail for the rest of the
+// list.
+
+// The empty type list.
+struct Types0 {};
+
+// Type lists of lengt

[34/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/fused-src/gmock_main.cc
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/fused-src/gmock_main.cc 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/fused-src/gmock_main.cc
new file mode 100644
index 000..bd5be03
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/fused-src/gmock_main.cc
@@ -0,0 +1,54 @@
+// Copyright 2008, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: w...@google.com (Zhanyong Wan)
+
+#include 
+#include "gmock/gmock.h"
+#include "gtest/gtest.h"
+
+// MS C++ compiler/linker has a bug on Windows (not on Windows CE), which
+// causes a link error when _tmain is defined in a static library and UNICODE
+// is enabled. For this reason instead of _tmain, main function is used on
+// Windows. See the following link to track the current status of this bug:
+// 
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=394464
  // NOLINT
+#if GTEST_OS_WINDOWS_MOBILE
+# include   // NOLINT
+
+GTEST_API_ int _tmain(int argc, TCHAR** argv) {
+#else
+GTEST_API_ int main(int argc, char** argv) {
+#endif  // GTEST_OS_WINDOWS_MOBILE
+  std::cout << "Running main() from gmock_main.cc\n";
+  // Since Google Mock depends on Google Test, InitGoogleMock() is
+  // also responsible for initializing Google Test.  Therefore there's
+  // no need for calling testing::InitGoogleTest() separately.
+  testing::InitGoogleMock(&argc, argv);
+  return RUN_ALL_TESTS();
+}



[15/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-param-util-generated.h
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-param-util-generated.h
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-param-util-generated.h
new file mode 100644
index 000..e805485
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-param-util-generated.h
@@ -0,0 +1,5143 @@
+// This file was GENERATED by command:
+// pump.py gtest-param-util-generated.h.pump
+// DO NOT EDIT BY HAND!!!
+
+// Copyright 2008 Google Inc.
+// All Rights Reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: vl...@google.com (Vlad Losev)
+
+// Type and function utilities for implementing parameterized tests.
+// This file is generated by a SCRIPT.  DO NOT EDIT BY HAND!
+//
+// Currently Google Test supports at most 50 arguments in Values,
+// and at most 10 arguments in Combine. Please contact
+// googletestframew...@googlegroups.com if you need more.
+// Please note that the number of arguments to Combine is limited
+// by the maximum arity of the implementation of tr1::tuple which is
+// currently set at 10.
+
+#ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PARAM_UTIL_GENERATED_H_
+#define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PARAM_UTIL_GENERATED_H_
+
+// scripts/fuse_gtest.py depends on gtest's own header being #included
+// *unconditionally*.  Therefore these #includes cannot be moved
+// inside #if GTEST_HAS_PARAM_TEST.
+#include "gtest/internal/gtest-param-util.h"
+#include "gtest/internal/gtest-port.h"
+
+#if GTEST_HAS_PARAM_TEST
+
+namespace testing {
+
+// Forward declarations of ValuesIn(), which is implemented in
+// include/gtest/gtest-param-test.h.
+template 
+internal::ParamGenerator<
+  typename ::testing::internal::IteratorTraits::value_type>
+ValuesIn(ForwardIterator begin, ForwardIterator end);
+
+template 
+internal::ParamGenerator ValuesIn(const T (&array)[N]);
+
+template 
+internal::ParamGenerator ValuesIn(
+const Container& container);
+
+namespace internal {
+
+// Used in the Values() function to provide polymorphic capabilities.
+template 
+class ValueArray1 {
+ public:
+  explicit ValueArray1(T1 v1) : v1_(v1) {}
+
+  template 
+  operator ParamGenerator() const { return ValuesIn(&v1_, &v1_ + 1); }
+
+ private:
+  // No implementation - assignment is unsupported.
+  void operator=(const ValueArray1& other);
+
+  const T1 v1_;
+};
+
+template 
+class ValueArray2 {
+ public:
+  ValueArray2(T1 v1, T2 v2) : v1_(v1), v2_(v2) {}
+
+  template 
+  operator ParamGenerator() const {
+const T array[] = {static_cast(v1_), static_cast(v2_)};
+return ValuesIn(array);
+  }
+
+ private:
+  // No implementation - assignment is unsupported.
+  void operator=(const ValueArray2& other);
+
+  const T1 v1_;
+  const T2 v2_;
+};
+
+template 
+class ValueArray3 {
+ public:
+  ValueArray3(T1 v1, T2 v2, T3 v3) : v1_(v1), v2_(v2), v3_(v3) {}
+
+  template 
+  operator ParamGenerator() const {
+const T array[] = {static_cast(v1_), static_cast(v2_),
+static_cast(v3_)};
+return ValuesIn(array);
+  }
+
+ private:
+  // No implementation - assignment is unsupported.
+  void operator=(const ValueArray3& other);
+
+  const T1 v1_;
+  const T2 

[08/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/m4/ltoptions.m4
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/m4/ltoptions.m4 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/m4/ltoptions.m4
new file mode 100644
index 000..5d9acd8
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/m4/ltoptions.m4
@@ -0,0 +1,384 @@
+# Helper functions for option handling.-*- Autoconf -*-
+#
+#   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
+#   Inc.
+#   Written by Gary V. Vaughan, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# serial 7 ltoptions.m4
+
+# This is to help aclocal find these macros, as it can't see m4_define.
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
+
+
+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
+# --
+m4_define([_LT_MANGLE_OPTION],
+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
+
+
+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
+# ---
+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
+# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
+# saved as a flag.
+m4_define([_LT_SET_OPTION],
+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
+_LT_MANGLE_DEFUN([$1], [$2]),
+[m4_warning([Unknown $1 option `$2'])])[]dnl
+])
+
+
+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
+# 
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+m4_define([_LT_IF_OPTION],
+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
+
+
+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
+# ---
+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
+# are set.
+m4_define([_LT_UNLESS_OPTIONS],
+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
+   [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
+ [m4_define([$0_found])])])[]dnl
+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
+])[]dnl
+])
+
+
+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
+# 
+# OPTION-LIST is a space-separated list of Libtool options associated
+# with MACRO-NAME.  If any OPTION has a matching handler declared with
+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
+# the unknown option and exit.
+m4_defun([_LT_SET_OPTIONS],
+[# Set options
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
+[_LT_SET_OPTION([$1], _LT_Option)])
+
+m4_if([$1],[LT_INIT],[
+  dnl
+  dnl Simply set some default values (i.e off) if boolean options were not
+  dnl specified:
+  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
+  ])
+  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
+  ])
+  dnl
+  dnl If no reference was made to various pairs of opposing options, then
+  dnl we run the default mode handler for the pair.  For example, if neither
+  dnl `shared' nor `disable-shared' was passed, we enable building of shared
+  dnl archives by default:
+  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
+  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
+  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
+  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
+  [_LT_ENABLE_FAST_INSTALL])
+  ])
+])# _LT_SET_OPTIONS
+
+
+## - ##
+## Macros to handle LT_INIT options. ##
+## - ##
+
+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
+# -
+m4_define([_LT_MANGLE_DEFUN],
+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
+
+
+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
+# ---
+m4_define([LT_OPTION_DEFINE],
+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
+])# LT_OPTION_DEFINE
+
+
+# dlopen
+# --
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
+])
+
+AU_DEFUN([AC_LIBTOOL_DLOPEN],
+[_LT_SET_OPTION([LT_INIT], [dlopen])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the `dlopen' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
+
+
+# win32-dll
+# -
+# Declare package support for building win32 dll's.
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
+[enable_win32_dll=yes
+
+case $host in
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
+

[51/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

Adding a Makefile for yaml-cpp and incorporating its library build as part of 
the overall process.

Providing parsing of config.yml to establish a processing graph as well as 
providing configuration for FlowController to handle XML and YAML.

Ignoring SIGPIPE signal.

Adjusting Makefile to correct assembly packages not being generated.

Providing includes for yaml-cpp build Makefile and having top level Makefile 
build libuuid regardless.


Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/918e296c
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/918e296c
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/918e296c

Branch: refs/heads/MINIFI-68
Commit: 918e296c627a58ab2a1acce04915b41486317faf
Parents: 9318a99
Author: Aldrin Piri 
Authored: Fri Jul 22 13:23:54 2016 -0400
Committer: Aldrin Piri 
Committed: Tue Aug 2 11:29:28 2016 -0400

--
 Makefile|46 +-
 README.md   | 2 +-
 conf/flow.yml   |55 +
 conf/minifi.properties  |   191 +
 conf/nifi.properties|   191 -
 inc/FlowController.h|40 +-
 inc/ProcessGroup.h  | 2 +
 main/MiNiFiMain.cpp |72 +-
 src/FlowController.cpp  |  1068 +-
 src/ProcessGroup.cpp|23 +
 src/ProcessSession.cpp  | 6 +-
 src/Processor.cpp   | 4 +-
 thirdparty/uuid/libuuid.a   |   Bin 1172996 -> 0 bytes
 thirdparty/uuid/tst_uuid|   Bin 29660 -> 29892 bytes
 .../yaml-cpp-yaml-cpp-0.5.3/.clang-format   |47 +
 thirdparty/yaml-cpp-yaml-cpp-0.5.3/.gitignore   | 1 +
 .../yaml-cpp-yaml-cpp-0.5.3/CMakeLists.txt  |   340 +
 .../yaml-cpp-yaml-cpp-0.5.3/CONTRIBUTING.md |17 +
 thirdparty/yaml-cpp-yaml-cpp-0.5.3/LICENSE  |19 +
 thirdparty/yaml-cpp-yaml-cpp-0.5.3/Makefile |40 +
 thirdparty/yaml-cpp-yaml-cpp-0.5.3/README.md|52 +
 .../include/yaml-cpp/anchor.h   |17 +
 .../include/yaml-cpp/binary.h   |67 +
 .../include/yaml-cpp/contrib/anchordict.h   |37 +
 .../include/yaml-cpp/contrib/graphbuilder.h |   147 +
 .../include/yaml-cpp/dll.h  |37 +
 .../include/yaml-cpp/emitfromevents.h   |57 +
 .../include/yaml-cpp/emitter.h  |   254 +
 .../include/yaml-cpp/emitterdef.h   |16 +
 .../include/yaml-cpp/emittermanip.h |   137 +
 .../include/yaml-cpp/emitterstyle.h |16 +
 .../include/yaml-cpp/eventhandler.h |40 +
 .../include/yaml-cpp/exceptions.h   |   231 +
 .../include/yaml-cpp/mark.h |29 +
 .../include/yaml-cpp/node/convert.h |   297 +
 .../include/yaml-cpp/node/detail/bool_type.h|26 +
 .../include/yaml-cpp/node/detail/impl.h |   177 +
 .../include/yaml-cpp/node/detail/iterator.h |65 +
 .../include/yaml-cpp/node/detail/iterator_fwd.h |28 +
 .../include/yaml-cpp/node/detail/memory.h   |46 +
 .../include/yaml-cpp/node/detail/node.h |   170 +
 .../include/yaml-cpp/node/detail/node_data.h|   127 +
 .../yaml-cpp/node/detail/node_iterator.h|   159 +
 .../include/yaml-cpp/node/detail/node_ref.h |97 +
 .../include/yaml-cpp/node/emit.h|25 +
 .../include/yaml-cpp/node/impl.h|   448 +
 .../include/yaml-cpp/node/iterator.h|31 +
 .../include/yaml-cpp/node/node.h|   145 +
 .../include/yaml-cpp/node/parse.h   |30 +
 .../include/yaml-cpp/node/ptr.h |29 +
 .../include/yaml-cpp/node/type.h|16 +
 .../include/yaml-cpp/noncopyable.h  |25 +
 .../include/yaml-cpp/null.h |24 +
 .../include/yaml-cpp/ostream_wrapper.h  |72 +
 .../include/yaml-cpp/parser.h   |48 +
 .../include/yaml-cpp/stlemitter.h   |51 +
 .../include/yaml-cpp/traits.h   |   103 +
 .../include/yaml-cpp/yaml.h |24 +
 thirdparty/yaml-cpp-yaml-cpp-0.5.3/install.txt  |24 +
 .../yaml-cpp-yaml-cpp-0.5.3/src/binary.cpp  |93 +
 .../src/collectionstack.h   |39 +
 .../src/contrib/graphbuilder.cpp|17 +
 .../src/contrib/graphbuilderadapter.cpp |94 +
 .../src/contrib/graphbuilderadapter.h   |79 +
 .../yaml-cpp-yaml-cpp-0.5.3/src/convert.cpp |75 +

[23/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/fused-src/gtest/gtest-all.cc
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/fused-src/gtest/gtest-all.cc
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/fused-src/gtest/gtest-all.cc
new file mode 100644
index 000..a9a03b2
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/fused-src/gtest/gtest-all.cc
@@ -0,0 +1,9592 @@
+// Copyright 2008, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: mhe...@google.com (Markus Heule)
+//
+// Google C++ Testing Framework (Google Test)
+//
+// Sometimes it's desirable to build Google Test by compiling a single file.
+// This file serves this purpose.
+
+// This line ensures that gtest.h can be compiled on its own, even
+// when it's fused.
+#include "gtest/gtest.h"
+
+// The following lines pull in the real gtest *.cc files.
+// Copyright 2005, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: w...@google.com (Zhanyong Wan)
+//
+// The Google C++ Testing Framework (Google Test)
+
+// Copyright 2007, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software with

[50/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/src/FlowController.cpp
--
diff --git a/src/FlowController.cpp b/src/FlowController.cpp
index b18953e..2684b04 100644
--- a/src/FlowController.cpp
+++ b/src/FlowController.cpp
@@ -27,17 +27,17 @@
 #include 
 #include 
 #include 
+#include 
 
 #include "FlowController.h"
 #include "ProcessContext.h"
 
-FlowController::FlowController(std::string name)
-: _name(name)
-{
+FlowController::FlowController(std::string name) :
+   _name(name) {
uuid_generate(_uuid);
 
// Setup the default values
-   _xmlFileName = DEFAULT_FLOW_XML_FILE_NAME;
+   _configurationFileName = DEFAULT_FLOW_XML_FILE_NAME;
_maxEventDrivenThreads = DEFAULT_MAX_EVENT_DRIVEN_THREAD;
_maxTimerDrivenThreads = DEFAULT_MAX_TIMER_DRIVEN_THREAD;
_running = false;
@@ -48,34 +48,29 @@ FlowController::FlowController(std::string name)
 
// NiFi config properties
_configure = Configure::getConfigure();
-   _configure->get(Configure::nifi_flow_configuration_file, _xmlFileName);
-   _logger->log_info("FlowController NiFi XML file %s", 
_xmlFileName.c_str());
+   _configure->get(Configure::nifi_flow_configuration_file, 
_configurationFileName);
+   _logger->log_info("FlowController NiFi XML file %s", 
_configurationFileName.c_str());
// Create repos for flow record and provenance
 
_logger->log_info("FlowController %s created", _name.c_str());
 }
 
-FlowController::~FlowController()
-{
+FlowController::~FlowController() {
stop(true);
unload();
delete _protocol;
 }
 
-bool FlowController::isRunning()
-{
+bool FlowController::isRunning() {
return (_running);
 }
 
-bool FlowController::isInitialized()
-{
+bool FlowController::isInitialized() {
return (_initialized);
 }
 
-void FlowController::stop(bool force)
-{
-   if (_running)
-   {
+void FlowController::stop(bool force) {
+   if (_running) {
_logger->log_info("Stop Flow Controller");
this->_timerScheduler.stop();
// Wait for sometime for thread stop
@@ -86,14 +81,11 @@ void FlowController::stop(bool force)
}
 }
 
-void FlowController::unload()
-{
-   if (_running)
-   {
+void FlowController::unload() {
+   if (_running) {
stop(true);
}
-   if (_initialized)
-   {
+   if (_initialized) {
_logger->log_info("Unload Flow Controller");
if (_root)
delete _root;
@@ -105,43 +97,34 @@ void FlowController::unload()
return;
 }
 
-void FlowController::reload(std::string xmlFile)
-{
+void FlowController::reload(std::string xmlFile) {
_logger->log_info("Starting to reload Flow Controller with xml %s", 
xmlFile.c_str());
stop(true);
unload();
-   std::string oldxmlFile = this->_xmlFileName;
-   this->_xmlFileName = xmlFile;
-   load();
+   std::string oldxmlFile = this->_configurationFileName;
+   this->_configurationFileName = xmlFile;
+   load(ConfigFormat::XML);
start();
-   if (!this->_root)
-   {
-   this->_xmlFileName = oldxmlFile;
+   if (!this->_root) {
+   this->_configurationFileName = oldxmlFile;
_logger->log_info("Rollback Flow Controller to xml %s", 
oldxmlFile.c_str());
stop(true);
unload();
-   load();
+   load(ConfigFormat::XML);
start();
}
 }
 
-Processor *FlowController::createProcessor(std::string name, uuid_t uuid)
-{
+Processor *FlowController::createProcessor(std::string name, uuid_t uuid) {
Processor *processor = NULL;
-   if (name == GenerateFlowFile::ProcessorName)
-   {
+   _logger->log_trace("Received request to create a processor for name 
%s", name.c_str());
+   if (name == GenerateFlowFile::ProcessorName) {
processor = new GenerateFlowFile(name, uuid);
-   }
-   else if (name == LogAttribute::ProcessorName)
-   {
+   } else if (name == LogAttribute::ProcessorName) {
processor = new LogAttribute(name, uuid);
-   }
-   else if (name == RealTimeDataCollector::ProcessorName)
-   {
+   } else if (name == RealTimeDataCollector::ProcessorName) {
processor = new RealTimeDataCollector(name, uuid);
-   }
-   else
-   {
+   } else {
_logger->log_error("No Processor defined for %s", name.c_str());
return NULL;
}
@@ -152,29 +135,24 @@ Processor *FlowController::createProcessor(std::string 
name, uuid_t uuid)
return processor;
 }
 
-ProcessGroup *FlowController::createRootProcessGroup(std::string name, uuid_t 
uuid)
-{
+ProcessGroup *FlowController::createRootProcessGroup(std::string name, uuid_t 
uui

[40/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/ltmain.sh
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/ltmain.sh 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/ltmain.sh
new file mode 100644
index 000..c2852d8
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/ltmain.sh
@@ -0,0 +1,9661 @@
+
+# libtool (GNU libtool) 2.4.2
+# Written by Gordon Matzigkeit , 1996
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
+# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions.  There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool 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.
+#
+# As a special exception to the GNU General Public License,
+# if you distribute this file as part of a program or library that
+# is built using GNU Libtool, you may include this file under the
+# same distribution terms that you use for the rest of that program.
+#
+# GNU Libtool 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.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Libtool; see the file COPYING.  If not, a copy
+# can be downloaded from http://www.gnu.org/licenses/gpl.html,
+# or obtained by writing to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+# Usage: $progname [OPTION]... [MODE-ARG]...
+#
+# Provide generalized library-building support services.
+#
+#   --config show all configuration variables
+#   --debug  enable verbose shell tracing
+#   -n, --dry-rundisplay commands without modifying any files
+#   --features   display basic configuration information and exit
+#   --mode=MODE  use operation mode MODE
+#   --preserve-dup-deps  don't remove duplicate dependency libraries
+#   --quiet, --silentdon't print informational messages
+#   --no-quiet, --no-silent
+#print informational messages (default)
+#   --no-warndon't display warning messages
+#   --tag=TAGuse configuration variables from tag TAG
+#   -v, --verboseprint more informational messages than default
+#   --no-verbose don't print the extra informational messages
+#   --versionprint version information
+#   -h, --help, --help-all   print short, long, or detailed help message
+#
+# MODE must be one of the following:
+#
+# clean  remove files from the build directory
+# compilecompile a source file into a libtool object
+# executeautomatically set library path, then run a program
+# finish complete the installation of libtool libraries
+# installinstall libraries or executables
+# link   create a library or an executable
+# uninstall  remove libraries from an installed directory
+#
+# MODE-ARGS vary depending on the MODE.  When passed as first option,
+# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
+# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
+#
+# When reporting a bug, please describe a test case to reproduce it and
+# include the following information:
+#
+# host-triplet:$host
+# shell:   $SHELL
+# compiler:$LTCC
+# compiler flags:  $LTCFLAGS
+# linker:  $LD (gnu? $with_gnu_ld)
+# $progname:   (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
+# automake:$automake_version
+# autoconf:$autoconf_version
+#
+# Report bugs to .
+# GNU libtool home page: .
+# General help using GNU software: .
+
+PROGRAM=libtool
+PACKAGE=libtool
+VERSION="2.4.2 Debian-2.4.2-1ubuntu1"
+TIMESTAMP=""
+package_revision=1.3337
+
+# Be Bourne compatible
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+  emulate sh
+  NULLCMD=:
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '${1+"$@"}'='"$@"'
+  setopt NO_GLOB_SUBST
+else
+  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac

[36/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/fused-src/gmock-gtest-all.cc
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/fused-src/gmock-gtest-all.cc
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/fused-src/gmock-gtest-all.cc
new file mode 100644
index 000..1a63a8c
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/fused-src/gmock-gtest-all.cc
@@ -0,0 +1,11443 @@
+// Copyright 2008, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: mhe...@google.com (Markus Heule)
+//
+// Google C++ Testing Framework (Google Test)
+//
+// Sometimes it's desirable to build Google Test by compiling a single file.
+// This file serves this purpose.
+
+// This line ensures that gtest.h can be compiled on its own, even
+// when it's fused.
+#include "gtest/gtest.h"
+
+// The following lines pull in the real gtest *.cc files.
+// Copyright 2005, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: w...@google.com (Zhanyong Wan)
+//
+// The Google C++ Testing Framework (Google Test)
+
+// Copyright 2007, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior writ

[38/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/configure
--
diff --git a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/configure 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/configure
new file mode 100755
index 000..d29b296
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/configure
@@ -0,0 +1,18535 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.68 for Google C++ Mocking Framework 1.7.0.
+#
+# Report bugs to .
+#
+#
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
+# Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+##  ##
+## M4sh Initialization. ##
+##  ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+  emulate sh
+  NULLCMD=:
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '${1+"$@"}'='"$@"'
+  setopt NO_GLOB_SUBST
+else
+  case `(set -o) 2>/dev/null` in #(
+  *posix*) :
+set -o posix ;; #(
+  *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='print -r --'
+  as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='printf %s\n'
+  as_echo_n='printf %s'
+else
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; 
then
+as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+as_echo_n='/usr/ucb/echo -n'
+  else
+as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+as_echo_n_body='eval
+  arg=$1;
+  case $arg in #(
+  *"$as_nl"*)
+   expr "X$arg" : "X\\(.*\\)$as_nl";
+   arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+  esac;
+  expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+'
+export as_echo_n_body
+as_echo_n='sh -c $as_echo_n_body as_echo'
+  fi
+  export as_echo_body
+  as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+  PATH_SEPARATOR=:
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+  PATH_SEPARATOR=';'
+  }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order.  Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" ""   $as_nl"
+
+# Find who we are.  Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+  *[\\/]* ) as_myself=$0 ;;
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+  done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+  as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file 
name" >&2
+  exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there.  '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+if test "x$CONFIG_SHELL" = x; then
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) 
>/dev/null 2>&1; then :
+  emulate sh
+  NULLCMD=:
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
+  setopt

[19/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest-param-test.h.pump
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest-param-test.h.pump
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest-param-test.h.pump
new file mode 100644
index 000..2dc9303
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest-param-test.h.pump
@@ -0,0 +1,487 @@
+$$ -*- mode: c++; -*-
+$var n = 50  $$ Maximum length of Values arguments we want to support.
+$var maxtuple = 10  $$ Maximum number of Combine arguments we want to support.
+// Copyright 2008, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Authors: vl...@google.com (Vlad Losev)
+//
+// Macros and functions for implementing parameterized tests
+// in Google C++ Testing Framework (Google Test)
+//
+// This file is generated by a SCRIPT.  DO NOT EDIT BY HAND!
+//
+#ifndef GTEST_INCLUDE_GTEST_GTEST_PARAM_TEST_H_
+#define GTEST_INCLUDE_GTEST_GTEST_PARAM_TEST_H_
+
+
+// Value-parameterized tests allow you to test your code with different
+// parameters without writing multiple copies of the same test.
+//
+// Here is how you use value-parameterized tests:
+
+#if 0
+
+// To write value-parameterized tests, first you should define a fixture
+// class. It is usually derived from testing::TestWithParam (see below for
+// another inheritance scheme that's sometimes useful in more complicated
+// class hierarchies), where the type of your parameter values.
+// TestWithParam is itself derived from testing::Test. T can be any
+// copyable type. If it's a raw pointer, you are responsible for managing the
+// lifespan of the pointed values.
+
+class FooTest : public ::testing::TestWithParam {
+  // You can implement all the usual class fixture members here.
+};
+
+// Then, use the TEST_P macro to define as many parameterized tests
+// for this fixture as you want. The _P suffix is for "parameterized"
+// or "pattern", whichever you prefer to think.
+
+TEST_P(FooTest, DoesBlah) {
+  // Inside a test, access the test parameter with the GetParam() method
+  // of the TestWithParam class:
+  EXPECT_TRUE(foo.Blah(GetParam()));
+  ...
+}
+
+TEST_P(FooTest, HasBlahBlah) {
+  ...
+}
+
+// Finally, you can use INSTANTIATE_TEST_CASE_P to instantiate the test
+// case with any set of parameters you want. Google Test defines a number
+// of functions for generating test parameters. They return what we call
+// (surprise!) parameter generators. Here is a  summary of them, which
+// are all in the testing namespace:
+//
+//
+//  Range(begin, end [, step]) - Yields values {begin, begin+step,
+//   begin+step+step, ...}. The values do not
+//   include end. step defaults to 1.
+//  Values(v1, v2, ..., vN)- Yields values {v1, v2, ..., vN}.
+//  ValuesIn(container)- Yields values from a C-style array, an STL
+//  ValuesIn(begin,end)  container, or an iterator range [begin, end).
+//  Bool() - Yields sequence {false, true}.
+//  Combine(g1, g2, ..., gN)   - Yields all combinations (the Cartesian product
+//   for the math savvy) of the values generated
+//   by the N generators.
+/

[44/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/README
--
diff --git a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/README 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/README
new file mode 100644
index 000..ed2e69b
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/README
@@ -0,0 +1,369 @@
+Google C++ Mocking Framework
+
+
+http://code.google.com/p/googlemock/
+
+Overview
+
+
+Google's framework for writing and using C++ mock classes on a variety
+of platforms (Linux, Mac OS X, Windows, Windows CE, Symbian, etc).
+Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s
+specifics in mind, it can help you derive better designs of your
+system and write better tests.
+
+Google Mock:
+
+- provides a declarative syntax for defining mocks,
+- can easily define partial (hybrid) mocks, which are a cross of real
+  and mock objects,
+- handles functions of arbitrary types and overloaded functions,
+- comes with a rich set of matchers for validating function arguments,
+- uses an intuitive syntax for controlling the behavior of a mock,
+- does automatic verification of expectations (no record-and-replay
+  needed),
+- allows arbitrary (partial) ordering constraints on
+  function calls to be expressed,
+- lets a user extend it by defining new matchers and actions.
+- does not use exceptions, and
+- is easy to learn and use.
+
+Please see the project page above for more information as well as the
+mailing list for questions, discussions, and development.  There is
+also an IRC channel on OFTC (irc.oftc.net) #gtest available.  Please
+join us!
+
+Please note that code under scripts/generator/ is from the cppclean
+project (http://code.google.com/p/cppclean/) and under the Apache
+License, which is different from Google Mock's license.
+
+Requirements for End Users
+--
+
+Google Mock is implemented on top of the Google Test C++ testing
+framework (http://code.google.com/p/googletest/), and includes the
+latter as part of the SVN repositary and distribution package.  You
+must use the bundled version of Google Test when using Google Mock, or
+you may get compiler/linker errors.
+
+You can also easily configure Google Mock to work with another testing
+framework of your choice; although it will still need Google Test as
+an internal dependency.  Please read
+http://code.google.com/p/googlemock/wiki/ForDummies#Using_Google_Mock_with_Any_Testing_Framework
+for how to do it.
+
+Google Mock depends on advanced C++ features and thus requires a more
+modern compiler.  The following are needed to use Google Mock:
+
+### Linux Requirements ###
+
+These are the base requirements to build and use Google Mock from a source
+package (as described below):
+
+  * GNU-compatible Make or "gmake"
+  * POSIX-standard shell
+  * POSIX(-2) Regular Expressions (regex.h)
+  * C++98-standard-compliant compiler (e.g. GCC 3.4 or newer)
+
+### Windows Requirements ###
+
+  * Microsoft Visual C++ 8.0 SP1 or newer
+
+### Mac OS X Requirements ###
+
+  * Mac OS X 10.4 Tiger or newer
+  * Developer Tools Installed
+
+Requirements for Contributors
+-
+
+We welcome patches.  If you plan to contribute a patch, you need to
+build Google Mock and its own tests from an SVN checkout (described
+below), which has further requirements:
+
+  * Automake version 1.9 or newer
+  * Autoconf version 2.59 or newer
+  * Libtool / Libtoolize
+  * Python version 2.3 or newer (for running some of the tests and
+re-generating certain source files from templates)
+
+Getting the Source
+--
+
+There are two primary ways of getting Google Mock's source code: you
+can download a stable source release in your preferred archive format,
+or directly check out the source from our Subversion (SVN) repositary.
+The SVN checkout requires a few extra steps and some extra software
+packages on your system, but lets you track development and make
+patches much more easily, so we highly encourage it.
+
+### Source Package ###
+
+Google Mock is released in versioned source packages which can be
+downloaded from the download page [1].  Several different archive
+formats are provided, but the only difference is the tools needed to
+extract their contents, and the size of the resulting file.  Download
+whichever you are most comfortable with.
+
+  [1] http://code.google.com/p/googlemock/downloads/list
+
+Once downloaded expand the archive using whichever tools you prefer
+for that type.  This will always result in a new directory with the
+name "gmock-X.Y.Z" which contains all of the source code.  Here are
+some examples on Linux:
+
+  tar -xvzf gmock-X.Y.Z.tar.gz
+  tar -xvjf gmock-X.Y.Z.tar.bz2
+  unzip gmock-X.Y.Z.zip
+
+### SVN Checkout ###
+
+To check out the main branch (also known as th

[22/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/fused-src/gtest/gtest.h
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/fused-src/gtest/gtest.h
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/fused-src/gtest/gtest.h
new file mode 100644
index 000..4f3804f
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/fused-src/gtest/gtest.h
@@ -0,0 +1,20061 @@
+// Copyright 2005, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: w...@google.com (Zhanyong Wan)
+//
+// The Google C++ Testing Framework (Google Test)
+//
+// This header file defines the public API for Google Test.  It should be
+// included by any test program that uses Google Test.
+//
+// IMPORTANT NOTE: Due to limitation of the C++ language, we have to
+// leave some internal implementation details in this header file.
+// They are clearly marked by comments like this:
+//
+//   // INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
+//
+// Such code is NOT meant to be used by a user directly, and is subject
+// to CHANGE WITHOUT NOTICE.  Therefore DO NOT DEPEND ON IT in a user
+// program!
+//
+// Acknowledgment: Google Test borrowed the idea of automatic test
+// registration from Barthelemy Dagenais' (barthel...@prologique.com)
+// easyUnit framework.
+
+#ifndef GTEST_INCLUDE_GTEST_GTEST_H_
+#define GTEST_INCLUDE_GTEST_GTEST_H_
+
+#include 
+#include 
+#include 
+
+// Copyright 2005, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Authors: w...@google.com (Zhanyong Wan), eef...@gmail.com (Sean Mcafee)
+//
+// The Google C++ Testing Framework (Google Test)
+//
+// This header file declares functions and macros used internally by
+// Google Test.  They are subject to change without notice.
+
+#ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_IN

[37/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/configure.ac
--
diff --git a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/configure.ac 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/configure.ac
new file mode 100644
index 000..d268d5d
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/configure.ac
@@ -0,0 +1,146 @@
+m4_include(gtest/m4/acx_pthread.m4)
+
+AC_INIT([Google C++ Mocking Framework],
+[1.7.0],
+[googlem...@googlegroups.com],
+[gmock])
+
+# Provide various options to initialize the Autoconf and configure processes.
+AC_PREREQ([2.59])
+AC_CONFIG_SRCDIR([./LICENSE])
+AC_CONFIG_AUX_DIR([build-aux])
+AC_CONFIG_HEADERS([build-aux/config.h])
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([scripts/gmock-config], [chmod +x scripts/gmock-config])
+
+# Initialize Automake with various options. We require at least v1.9, prevent
+# pedantic complaints about package files, and enable various distribution
+# targets.
+AM_INIT_AUTOMAKE([1.9 dist-bzip2 dist-zip foreign subdir-objects])
+
+# Check for programs used in building Google Test.
+AC_PROG_CC
+AC_PROG_CXX
+AC_LANG([C++])
+AC_PROG_LIBTOOL
+
+# TODO(chandl...@google.com): Currently we aren't running the Python tests
+# against the interpreter detected by AM_PATH_PYTHON, and so we condition
+# HAVE_PYTHON by requiring "python" to be in the PATH, and that interpreter's
+# version to be >= 2.3. This will allow the scripts to use a "/usr/bin/env"
+# hashbang.
+PYTHON=  # We *do not* allow the user to specify a python interpreter
+AC_PATH_PROG([PYTHON],[python],[:])
+AS_IF([test "$PYTHON" != ":"],
+  [AM_PYTHON_CHECK_VERSION([$PYTHON],[2.3],[:],[PYTHON=":"])])
+AM_CONDITIONAL([HAVE_PYTHON],[test "$PYTHON" != ":"])
+
+# TODO(chandl...@google.com) Check for the necessary system headers.
+
+# Configure pthreads.
+AC_ARG_WITH([pthreads],
+[AS_HELP_STRING([--with-pthreads],
+   [use pthreads (default is yes)])],
+[with_pthreads=$withval],
+[with_pthreads=check])
+
+have_pthreads=no
+AS_IF([test "x$with_pthreads" != "xno"],
+  [ACX_PTHREAD(
+[],
+[AS_IF([test "x$with_pthreads" != "xcheck"],
+   [AC_MSG_FAILURE(
+ [--with-pthreads was specified, but unable to be used])])])
+   have_pthreads="$acx_pthread_ok"])
+AM_CONDITIONAL([HAVE_PTHREADS],[test "x$have_pthreads" == "xyes"])
+AC_SUBST(PTHREAD_CFLAGS)
+AC_SUBST(PTHREAD_LIBS)
+
+# GoogleMock currently has hard dependencies upon GoogleTest above and beyond
+# running its own test suite, so we both provide our own version in
+# a subdirectory and provide some logic to use a custom version or a system
+# installed version.
+AC_ARG_WITH([gtest],
+[AS_HELP_STRING([--with-gtest],
+[Specifies how to find the gtest package. If no
+arguments are given, the default behavior, a
+system installed gtest will be used if present,
+and an internal version built otherwise. If a
+path is provided, the gtest built or installed at
+that prefix will be used.])],
+[],
+[with_gtest=yes])
+AC_ARG_ENABLE([external-gtest],
+  [AS_HELP_STRING([--disable-external-gtest],
+  [Disables any detection or use of a system
+  installed or user provided gtest. Any option to
+  '--with-gtest' is ignored. (Default is 
enabled.)])
+  ], [], [enable_external_gtest=yes])
+AS_IF([test "x$with_gtest" == "xno"],
+  [AC_MSG_ERROR([dnl
+Support for GoogleTest was explicitly disabled. Currently GoogleMock has a hard
+dependency upon GoogleTest to build, please provide a version, or allow
+GoogleMock to use any installed version and fall back upon its internal
+version.])])
+
+# Setup various GTEST variables. TODO(chandl...@google.com): When these are
+# used below, they should be used such that any pre-existing values always
+# trump values we set them to, so that they can be used to selectively override
+# details of the detection process.
+AC_ARG_VAR([GTEST_CONFIG],
+   [The exact path of Google Test's 'gtest-config' script.])
+AC_ARG_VAR([GTEST_CPPFLAGS],
+   [C-like preprocessor flags for Google Test.])
+AC_ARG_VAR([GTEST_CXXFLAGS],
+   [C++ compile flags for Google Test.])
+AC_ARG_VAR([GTEST_LDFLAGS],
+   [Linker path and option flags for Google Test.])
+AC_ARG_VAR([GTEST_LIBS],
+   [Library linking flags for Google Test.])
+AC_ARG_VAR([GTEST_VERSION],
+   [The version of Google Test available.])
+HAVE_BUILT_GTEST="no"
+
+GTEST_MIN_VERSION="1.7.0"
+
+AS_IF([test "x${enable_external_gtest}" = "xyes"],

[11/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-type-util.h
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-type-util.h
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-type-util.h
new file mode 100644
index 000..e46f7cf
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-type-util.h
@@ -0,0 +1,3331 @@
+// This file was GENERATED by command:
+// pump.py gtest-type-util.h.pump
+// DO NOT EDIT BY HAND!!!
+
+// Copyright 2008 Google Inc.
+// All Rights Reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: w...@google.com (Zhanyong Wan)
+
+// Type utilities needed for implementing typed and type-parameterized
+// tests.  This file is generated by a SCRIPT.  DO NOT EDIT BY HAND!
+//
+// Currently we support at most 50 types in a list, and at most 50
+// type-parameterized tests in one type-parameterized test case.
+// Please contact googletestframew...@googlegroups.com if you need
+// more.
+
+#ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
+#define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
+
+#include "gtest/internal/gtest-port.h"
+
+// #ifdef __GNUC__ is too general here.  It is possible to use gcc without 
using
+// libstdc++ (which is where cxxabi.h comes from).
+# if GTEST_HAS_CXXABI_H_
+#  include 
+# elif defined(__HP_aCC)
+#  include 
+# endif  // GTEST_HASH_CXXABI_H_
+
+namespace testing {
+namespace internal {
+
+// GetTypeName() returns a human-readable name of type T.
+// NB: This function is also used in Google Mock, so don't move it inside of
+// the typed-test-only section below.
+template 
+std::string GetTypeName() {
+# if GTEST_HAS_RTTI
+
+  const char* const name = typeid(T).name();
+#  if GTEST_HAS_CXXABI_H_ || defined(__HP_aCC)
+  int status = 0;
+  // gcc's implementation of typeid(T).name() mangles the type name,
+  // so we have to demangle it.
+#   if GTEST_HAS_CXXABI_H_
+  using abi::__cxa_demangle;
+#   endif  // GTEST_HAS_CXXABI_H_
+  char* const readable_name = __cxa_demangle(name, 0, 0, &status);
+  const std::string name_str(status == 0 ? readable_name : name);
+  free(readable_name);
+  return name_str;
+#  else
+  return name;
+#  endif  // GTEST_HAS_CXXABI_H_ || __HP_aCC
+
+# else
+
+  return "";
+
+# endif  // GTEST_HAS_RTTI
+}
+
+#if GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P
+
+// AssertyTypeEq::type is defined iff T1 and T2 are the same
+// type.  This can be used as a compile-time assertion to ensure that
+// two types are equal.
+
+template 
+struct AssertTypeEq;
+
+template 
+struct AssertTypeEq {
+  typedef bool type;
+};
+
+// A unique type used as the default value for the arguments of class
+// template Types.  This allows us to simulate variadic templates
+// (e.g. Types, Type, and etc), which C++ doesn't
+// support directly.
+struct None {};
+
+// The following family of struct and struct templates are used to
+// represent type lists.  In particular, TypesN
+// represents a type list with N types (T1, T2, ..., and TN) in it.
+// Except for Types0, every struct in the family has two member types:
+// Head for the first type in the list, and Tail for the rest of the
+// list.
+
+// The empty type list.
+struct Types0 {};
+
+// Type lists of lengt

[05/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/src/gtest-death-test.cc
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/src/gtest-death-test.cc
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/src/gtest-death-test.cc
new file mode 100644
index 000..a6023fc
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/src/gtest-death-test.cc
@@ -0,0 +1,1344 @@
+// Copyright 2005, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: w...@google.com (Zhanyong Wan), vl...@google.com (Vlad Losev)
+//
+// This file implements death tests.
+
+#include "gtest/gtest-death-test.h"
+#include "gtest/internal/gtest-port.h"
+
+#if GTEST_HAS_DEATH_TEST
+
+# if GTEST_OS_MAC
+#  include 
+# endif  // GTEST_OS_MAC
+
+# include 
+# include 
+# include 
+
+# if GTEST_OS_LINUX
+#  include 
+# endif  // GTEST_OS_LINUX
+
+# include 
+
+# if GTEST_OS_WINDOWS
+#  include 
+# else
+#  include 
+#  include 
+# endif  // GTEST_OS_WINDOWS
+
+# if GTEST_OS_QNX
+#  include 
+# endif  // GTEST_OS_QNX
+
+#endif  // GTEST_HAS_DEATH_TEST
+
+#include "gtest/gtest-message.h"
+#include "gtest/internal/gtest-string.h"
+
+// Indicates that this translation unit is part of Google Test's
+// implementation.  It must come before gtest-internal-inl.h is
+// included, or there will be a compiler error.  This trick is to
+// prevent a user from accidentally including gtest-internal-inl.h in
+// his code.
+#define GTEST_IMPLEMENTATION_ 1
+#include "src/gtest-internal-inl.h"
+#undef GTEST_IMPLEMENTATION_
+
+namespace testing {
+
+// Constants.
+
+// The default death test style.
+static const char kDefaultDeathTestStyle[] = "fast";
+
+GTEST_DEFINE_string_(
+death_test_style,
+internal::StringFromGTestEnv("death_test_style", kDefaultDeathTestStyle),
+"Indicates how to run a death test in a forked child process: "
+"\"threadsafe\" (child process re-executes the test binary "
+"from the beginning, running only the specific death test) or "
+"\"fast\" (child process runs the death test immediately "
+"after forking).");
+
+GTEST_DEFINE_bool_(
+death_test_use_fork,
+internal::BoolFromGTestEnv("death_test_use_fork", false),
+"Instructs to use fork()/_exit() instead of clone() in death tests. "
+"Ignored and always uses fork() on POSIX systems where clone() is not "
+"implemented. Useful when running under valgrind or similar tools if "
+"those do not support clone(). Valgrind 3.3.1 will just fail if "
+"it sees an unsupported combination of clone() flags. "
+"It is not recommended to use this flag w/o valgrind though it will "
+"work in 99% of the cases. Once valgrind is fixed, this flag will "
+"most likely be removed.");
+
+namespace internal {
+GTEST_DEFINE_string_(
+internal_run_death_test, "",
+"Indicates the file, line number, temporal index of "
+"the single death test to run, and a file descriptor to "
+"which a success code may be sent, all separated by "
+"the '|' characters.  This flag is specified if and only if the current "
+"process is a sub-process launched for running a thread-safe "
+"death test.  FOR INTERNAL USE ONLY.");
+}  // namespace internal
+
+#if GTEST_HAS_DEATH_TEST
+
+namespace internal {
+
+// Valid only for fast death tests. Indicate

[35/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/fused-src/gmock/gmock.h
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/fused-src/gmock/gmock.h 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/fused-src/gmock/gmock.h
new file mode 100644
index 000..e8dd7fc
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/fused-src/gmock/gmock.h
@@ -0,0 +1,14198 @@
+// Copyright 2007, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: w...@google.com (Zhanyong Wan)
+
+// Google Mock - a framework for writing C++ mock classes.
+//
+// This is the main header file a user should include.
+
+#ifndef GMOCK_INCLUDE_GMOCK_GMOCK_H_
+#define GMOCK_INCLUDE_GMOCK_GMOCK_H_
+
+// This file implements the following syntax:
+//
+//   ON_CALL(mock_object.Method(...))
+// .With(...) ?
+// .WillByDefault(...);
+//
+// where With() is optional and WillByDefault() must appear exactly
+// once.
+//
+//   EXPECT_CALL(mock_object.Method(...))
+// .With(...) ?
+// .Times(...) ?
+// .InSequence(...) *
+// .WillOnce(...) *
+// .WillRepeatedly(...) ?
+// .RetiresOnSaturation() ? ;
+//
+// where all clauses are optional and WillOnce() can be repeated.
+
+// Copyright 2007, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: w...@google.com (Zhanyong Wan)
+
+// Google Mock - a framework for writing C++ mock classes.
+//
+// This file implements some commonly used actions.
+
+#ifndef GMOCK_INCLUDE_GMOCK_GMOCK_ACTIONS_H_
+#define GMOCK_INCLUDE_GMOCK_GMOCK_ACTIONS_H_
+
+#ifndef _WIN32_WCE
+# include 
+#endif
+
+#include 
+#include 
+
+// Copyright 2007, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions a

[13/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-port.h
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-port.h
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-port.h
new file mode 100644
index 000..dc4fe0c
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/internal/gtest-port.h
@@ -0,0 +1,1947 @@
+// Copyright 2005, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Authors: w...@google.com (Zhanyong Wan)
+//
+// Low-level types and utilities for porting Google Test to various
+// platforms.  They are subject to change without notice.  DO NOT USE
+// THEM IN USER CODE.
+//
+// This file is fundamental to Google Test.  All other Google Test source
+// files are expected to #include this.  Therefore, it cannot #include
+// any other Google Test header.
+
+#ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_
+#define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_
+
+// The user can define the following macros in the build script to
+// control Google Test's behavior.  If the user doesn't define a macro
+// in this list, Google Test will define it.
+//
+//   GTEST_HAS_CLONE  - Define it to 1/0 to indicate that clone(2)
+//  is/isn't available.
+//   GTEST_HAS_EXCEPTIONS - Define it to 1/0 to indicate that exceptions
+//  are enabled.
+//   GTEST_HAS_GLOBAL_STRING  - Define it to 1/0 to indicate that ::string
+//  is/isn't available (some systems define
+//  ::string, which is different to std::string).
+//   GTEST_HAS_GLOBAL_WSTRING - Define it to 1/0 to indicate that ::string
+//  is/isn't available (some systems define
+//  ::wstring, which is different to std::wstring).
+//   GTEST_HAS_POSIX_RE   - Define it to 1/0 to indicate that POSIX regular
+//  expressions are/aren't available.
+//   GTEST_HAS_PTHREAD- Define it to 1/0 to indicate that 
+//  is/isn't available.
+//   GTEST_HAS_RTTI   - Define it to 1/0 to indicate that RTTI is/isn't
+//  enabled.
+//   GTEST_HAS_STD_WSTRING- Define it to 1/0 to indicate that
+//  std::wstring does/doesn't work (Google Test can
+//  be used where std::wstring is unavailable).
+//   GTEST_HAS_TR1_TUPLE  - Define it to 1/0 to indicate tr1::tuple
+//  is/isn't available.
+//   GTEST_HAS_SEH- Define it to 1/0 to indicate whether the
+//  compiler supports Microsoft's "Structured
+//  Exception Handling".
+//   GTEST_HAS_STREAM_REDIRECTION
+//- Define it to 1/0 to indicate whether the
+//  platform supports I/O stream redirection using
+//  dup() and dup2().
+//   GTEST_USE_OWN_TR1_TUPLE  - Define it to 1/0 to indicate whether Google
+//  Test's own tr1 tuple implementation should be
+//  used.  Unused

[28/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/depcomp
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/depcomp 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/depcomp
new file mode 100755
index 000..bd0ac08
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/depcomp
@@ -0,0 +1,688 @@
+#! /bin/sh
+# depcomp - compile a program generating dependencies as side-effects
+
+scriptversion=2011-12-04.11; # UTC
+
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
+# 2011 Free Software Foundation, Inc.
+
+# 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, or (at your option)
+# any later version.
+
+# 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.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see .
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Originally written by Alexandre Oliva .
+
+case $1 in
+  '')
+ echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+  -h | --h*)
+cat <<\EOF
+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
+
+Run PROGRAMS ARGS to compile a file, generating dependencies
+as side-effects.
+
+Environment variables:
+  depmode Dependency tracking mode.
+  source  Source file read by `PROGRAMS ARGS'.
+  object  Object file output by `PROGRAMS ARGS'.
+  DEPDIR  directory where to store dependencies.
+  depfile Dependency file to output.
+  tmpdepfile  Temporary file to use when outputting dependencies.
+  libtool Whether libtool is used (yes/no).
+
+Report bugs to .
+EOF
+exit $?
+;;
+  -v | --v*)
+echo "depcomp $scriptversion"
+exit $?
+;;
+esac
+
+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
+  echo "depcomp: Variables source, object and depmode must be set" 1>&2
+  exit 1
+fi
+
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
+depfile=${depfile-`echo "$object" |
+  sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
+
+rm -f "$tmpdepfile"
+
+# Some modes work just like other modes, but use different flags.  We
+# parameterize here, but still list the modes in the big case below,
+# to make depend.m4 easier to write.  Note that we *cannot* use a case
+# here, because this file can only contain one case statement.
+if test "$depmode" = hp; then
+  # HP compiler uses -M and no extra arg.
+  gccflag=-M
+  depmode=gcc
+fi
+
+if test "$depmode" = dashXmstdout; then
+   # This is just like dashmstdout with a different argument.
+   dashmflag=-xM
+   depmode=dashmstdout
+fi
+
+cygpath_u="cygpath -u -f -"
+if test "$depmode" = msvcmsys; then
+   # This is just like msvisualcpp but w/o cygpath translation.
+   # Just convert the backslash-escaped backslashes to single forward
+   # slashes to satisfy depend.m4
+   cygpath_u='sed s,,/,g'
+   depmode=msvisualcpp
+fi
+
+if test "$depmode" = msvc7msys; then
+   # This is just like msvc7 but w/o cygpath translation.
+   # Just convert the backslash-escaped backslashes to single forward
+   # slashes to satisfy depend.m4
+   cygpath_u='sed s,,/,g'
+   depmode=msvc7
+fi
+
+case "$depmode" in
+gcc3)
+## gcc 3 implements dependency tracking that does exactly what
+## we want.  Yay!  Note: for some reason libtool 1.4 doesn't like
+## it if -MD -MP comes after the -MF stuff.  Hmm.
+## Unfortunately, FreeBSD c89 acceptance of flags depends upon
+## the command line argument order; so add the flags where they
+## appear in depend2.am.  Note that the slowdown incurred here
+## affects only configure: in makefiles, %FASTDEP% shortcuts this.
+  for arg
+  do
+case $arg in
+-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
+*)  set fnord "$@" "$arg" ;;
+esac
+shift # fnord
+shift # $arg
+  done
+  "$@"
+  stat=$?
+  if test $stat -eq 0; then :
+  else
+rm -f "$tmpdepfile"
+exit $stat
+  fi
+  mv "$tmpdepfile" "$depfile"
+  ;;
+
+gcc)
+## There are various ways to get dependency output from gcc.  Here's
+## why we pick this rather obscure method:
+## - Don'

[30/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/aclocal.m4
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/aclocal.m4 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/aclocal.m4
new file mode 100644
index 000..e7df9fe
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/aclocal.m4
@@ -0,0 +1,1198 @@
+# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
+# Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+m4_ifndef([AC_AUTOCONF_VERSION],
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
+[m4_warning([this file was generated for autoconf 2.68.
+You have another version of autoconf.  It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically 
`autoreconf'.])])
+
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
+# Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 1
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# 
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.11'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version.  Point them to the right macro.
+m4_if([$1], [1.11.3], [],
+  [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too.  Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# ---
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+[AM_AUTOMAKE_VERSION([1.11.3])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
+
+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 1
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory.  The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run.  This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+#fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+#fails if $ac_aux_dir is absolute,
+#fails when called from a subdirectory in a VPATH build with
+#  a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir.  In an in-source build this is usually
+# harmless because $srcdir is `.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+#   MISSING="\${SHELL} $am_aux_

[49/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/dll.h
--
diff --git a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/dll.h 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/dll.h
new file mode 100644
index 000..827e0f1
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/dll.h
@@ -0,0 +1,37 @@
+#ifndef DLL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
+#define DLL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
+
+#if defined(_MSC_VER) ||\
+(defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
+ (__GNUC__ >= 4))  // GCC supports "pragma once" correctly since 3.4
+#pragma once
+#endif
+
+// The following ifdef block is the standard way of creating macros which make
+// exporting
+// from a DLL simpler. All files within this DLL are compiled with the
+// yaml_cpp_EXPORTS
+// symbol defined on the command line. this symbol should not be defined on any
+// project
+// that uses this DLL. This way any other project whose source files include
+// this file see
+// YAML_CPP_API functions as being imported from a DLL, whereas this DLL sees
+// symbols
+// defined with this macro as being exported.
+#undef YAML_CPP_API
+
+#ifdef YAML_CPP_DLL  // Using or Building YAML-CPP DLL (definition defined
+ // manually)
+#ifdef yaml_cpp_EXPORTS  // Building YAML-CPP DLL (definition created by CMake
+ // or defined manually)
+// #pragma message( "Defining YAML_CPP_API for DLL export" )
+#define YAML_CPP_API __declspec(dllexport)
+#else  // yaml_cpp_EXPORTS
+// #pragma message( "Defining YAML_CPP_API for DLL import" )
+#define YAML_CPP_API __declspec(dllimport)
+#endif  // yaml_cpp_EXPORTS
+#else   // YAML_CPP_DLL
+#define YAML_CPP_API
+#endif  // YAML_CPP_DLL
+
+#endif  // DLL_H_62B23520_7C8E_11DE_8A39_0800200C9A66

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/emitfromevents.h
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/emitfromevents.h 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/emitfromevents.h
new file mode 100644
index 000..f14b051
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/emitfromevents.h
@@ -0,0 +1,57 @@
+#ifndef EMITFROMEVENTS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
+#define EMITFROMEVENTS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
+
+#if defined(_MSC_VER) ||\
+(defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
+ (__GNUC__ >= 4))  // GCC supports "pragma once" correctly since 3.4
+#pragma once
+#endif
+
+#include 
+
+#include "yaml-cpp/anchor.h"
+#include "yaml-cpp/emitterstyle.h"
+#include "yaml-cpp/eventhandler.h"
+
+namespace YAML {
+struct Mark;
+}  // namespace YAML
+
+namespace YAML {
+class Emitter;
+
+class EmitFromEvents : public EventHandler {
+ public:
+  EmitFromEvents(Emitter& emitter);
+
+  virtual void OnDocumentStart(const Mark& mark);
+  virtual void OnDocumentEnd();
+
+  virtual void OnNull(const Mark& mark, anchor_t anchor);
+  virtual void OnAlias(const Mark& mark, anchor_t anchor);
+  virtual void OnScalar(const Mark& mark, const std::string& tag,
+anchor_t anchor, const std::string& value);
+
+  virtual void OnSequenceStart(const Mark& mark, const std::string& tag,
+   anchor_t anchor, EmitterStyle::value style);
+  virtual void OnSequenceEnd();
+
+  virtual void OnMapStart(const Mark& mark, const std::string& tag,
+  anchor_t anchor, EmitterStyle::value style);
+  virtual void OnMapEnd();
+
+ private:
+  void BeginNode();
+  void EmitProps(const std::string& tag, anchor_t anchor);
+
+ private:
+  Emitter& m_emitter;
+
+  struct State {
+enum value { WaitingForSequenceEntry, WaitingForKey, WaitingForValue };
+  };
+  std::stack m_stateStack;
+};
+}
+
+#endif  // EMITFROMEVENTS_H_62B23520_7C8E_11DE_8A39_0800200C9A66

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/emitter.h
--
diff --git a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/emitter.h 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/emitter.h
new file mode 100644
index 000..cc49659
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/emitter.h
@@ -0,0 +1,254 @@
+#ifndef EMITTER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
+#define EMITTER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
+
+#if defined(_MSC_VER) ||\
+(defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
+ (__GNUC__ >= 4))  // G

[03/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/src/gtest-printers.cc
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/src/gtest-printers.cc
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/src/gtest-printers.cc
new file mode 100644
index 000..75fa408
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/src/gtest-printers.cc
@@ -0,0 +1,363 @@
+// Copyright 2007, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Author: w...@google.com (Zhanyong Wan)
+
+// Google Test - The Google C++ Testing Framework
+//
+// This file implements a universal value printer that can print a
+// value of any type T:
+//
+//   void ::testing::internal::UniversalPrinter::Print(value, ostream_ptr);
+//
+// It uses the << operator when possible, and prints the bytes in the
+// object otherwise.  A user can override its behavior for a class
+// type Foo by defining either operator<<(::std::ostream&, const Foo&)
+// or void PrintTo(const Foo&, ::std::ostream*) in the namespace that
+// defines Foo.
+
+#include "gtest/gtest-printers.h"
+#include 
+#include 
+#include   // NOLINT
+#include 
+#include "gtest/internal/gtest-port.h"
+
+namespace testing {
+
+namespace {
+
+using ::std::ostream;
+
+// Prints a segment of bytes in the given object.
+void PrintByteSegmentInObjectTo(const unsigned char* obj_bytes, size_t start,
+size_t count, ostream* os) {
+  char text[5] = "";
+  for (size_t i = 0; i != count; i++) {
+const size_t j = start + i;
+if (i != 0) {
+  // Organizes the bytes into groups of 2 for easy parsing by
+  // human.
+  if ((j % 2) == 0)
+*os << ' ';
+  else
+*os << '-';
+}
+GTEST_SNPRINTF_(text, sizeof(text), "%02X", obj_bytes[j]);
+*os << text;
+  }
+}
+
+// Prints the bytes in the given value to the given ostream.
+void PrintBytesInObjectToImpl(const unsigned char* obj_bytes, size_t count,
+  ostream* os) {
+  // Tells the user how big the object is.
+  *os << count << "-byte object <";
+
+  const size_t kThreshold = 132;
+  const size_t kChunkSize = 64;
+  // If the object size is bigger than kThreshold, we'll have to omit
+  // some details by printing only the first and the last kChunkSize
+  // bytes.
+  // TODO(wan): let the user control the threshold using a flag.
+  if (count < kThreshold) {
+PrintByteSegmentInObjectTo(obj_bytes, 0, count, os);
+  } else {
+PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os);
+*os << " ... ";
+// Rounds up to 2-byte boundary.
+const size_t resume_pos = (count - kChunkSize + 1)/2*2;
+PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os);
+  }
+  *os << ">";
+}
+
+}  // namespace
+
+namespace internal2 {
+
+// Delegates to PrintBytesInObjectToImpl() to print the bytes in the
+// given object.  The delegation simplifies the implementation, which
+// uses the << operator and thus is easier done outside of the
+// ::testing::internal namespace, which contains a << operator that
+// sometimes conflicts with the one in STL.
+void PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count,
+  ostream* os) {
+  PrintBytesInObjectToImpl(obj_bytes, count, os);
+}
+
+}  // namespace internal2
+
+n

[20/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest-param-test.h
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest-param-test.h
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest-param-test.h
new file mode 100644
index 000..d6702c8
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest-param-test.h
@@ -0,0 +1,1421 @@
+// This file was GENERATED by command:
+// pump.py gtest-param-test.h.pump
+// DO NOT EDIT BY HAND!!!
+
+// Copyright 2008, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Authors: vl...@google.com (Vlad Losev)
+//
+// Macros and functions for implementing parameterized tests
+// in Google C++ Testing Framework (Google Test)
+//
+// This file is generated by a SCRIPT.  DO NOT EDIT BY HAND!
+//
+#ifndef GTEST_INCLUDE_GTEST_GTEST_PARAM_TEST_H_
+#define GTEST_INCLUDE_GTEST_GTEST_PARAM_TEST_H_
+
+
+// Value-parameterized tests allow you to test your code with different
+// parameters without writing multiple copies of the same test.
+//
+// Here is how you use value-parameterized tests:
+
+#if 0
+
+// To write value-parameterized tests, first you should define a fixture
+// class. It is usually derived from testing::TestWithParam (see below for
+// another inheritance scheme that's sometimes useful in more complicated
+// class hierarchies), where the type of your parameter values.
+// TestWithParam is itself derived from testing::Test. T can be any
+// copyable type. If it's a raw pointer, you are responsible for managing the
+// lifespan of the pointed values.
+
+class FooTest : public ::testing::TestWithParam {
+  // You can implement all the usual class fixture members here.
+};
+
+// Then, use the TEST_P macro to define as many parameterized tests
+// for this fixture as you want. The _P suffix is for "parameterized"
+// or "pattern", whichever you prefer to think.
+
+TEST_P(FooTest, DoesBlah) {
+  // Inside a test, access the test parameter with the GetParam() method
+  // of the TestWithParam class:
+  EXPECT_TRUE(foo.Blah(GetParam()));
+  ...
+}
+
+TEST_P(FooTest, HasBlahBlah) {
+  ...
+}
+
+// Finally, you can use INSTANTIATE_TEST_CASE_P to instantiate the test
+// case with any set of parameters you want. Google Test defines a number
+// of functions for generating test parameters. They return what we call
+// (surprise!) parameter generators. Here is a  summary of them, which
+// are all in the testing namespace:
+//
+//
+//  Range(begin, end [, step]) - Yields values {begin, begin+step,
+//   begin+step+step, ...}. The values do not
+//   include end. step defaults to 1.
+//  Values(v1, v2, ..., vN)- Yields values {v1, v2, ..., vN}.
+//  ValuesIn(container)- Yields values from a C-style array, an STL
+//  ValuesIn(begin,end)  container, or an iterator range [begin, end).
+//  Bool() - Yields sequence {false, true}.
+//  Combine(g1, g2, ..., gN)   - Yields all combinations (the Cartesian product
+//   for the math savvy) of the values generated
+//   by the N generators.
+//
+// For more details, see comments at the definitions of these functions below
+// 

[42/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/config.guess
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/config.guess 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/config.guess
new file mode 100755
index 000..d622a44
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/config.guess
@@ -0,0 +1,1530 @@
+#! /bin/sh
+# Attempt to guess a canonical system name.
+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+#   2011, 2012 Free Software Foundation, Inc.
+
+timestamp='2012-02-10'
+
+# This file 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.
+#
+# 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.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see .
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+
+# Originally written by Per Bothner.  Please send patches (context
+# diff format) to  and include a ChangeLog
+# entry.
+#
+# This script attempts to guess a canonical system name similar to
+# config.sub.  If it succeeds, it prints the system name on stdout, and
+# exits with 0.  Otherwise, it exits with 1.
+#
+# You can get the latest version of this script from:
+# 
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION]
+
+Output the configuration name of the system \`$me' is run on.
+
+Operation modes:
+  -h, --help print this help, then exit
+  -t, --time-stamp   print date of last modification, then exit
+  -v, --version  print version number, then exit
+
+Report bugs and patches to ."
+
+version="\
+GNU config.guess ($timestamp)
+
+Originally written by Per Bothner.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+  case $1 in
+--time-stamp | --time* | -t )
+   echo "$timestamp" ; exit ;;
+--version | -v )
+   echo "$version" ; exit ;;
+--help | --h* | -h )
+   echo "$usage"; exit ;;
+-- ) # Stop option processing
+   shift; break ;;
+- )# Use stdin as input.
+   break ;;
+-* )
+   echo "$me: invalid option $1$help" >&2
+   exit 1 ;;
+* )
+   break ;;
+  esac
+done
+
+if test $# != 0; then
+  echo "$me: too many arguments$help" >&2
+  exit 1
+fi
+
+trap 'exit 1' 1 2 15
+
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
+# compiler to aid in system detection is discouraged as it requires
+# temporary files to be created and, as you can see below, it is a
+# headache to deal with in a portable fashion.
+
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
+# use `HOST_CC' if defined, but it is deprecated.
+
+# Portable tmp directory creation inspired by the Autoconf team.
+
+set_cc_for_build='
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && 
exit \$exitcode" 0 ;
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 
;
+: ${TMPDIR=/tmp} ;
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXX") 2>/dev/null` && test -n 
"$tmp" && test -d "$tmp" ; } ||
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) 
; } ||
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating 
insecure temp directory" >&2 ; } ||
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } 
;
+dummy=$tmp/dummy ;
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
+case $CC_FOR_BUILD,$HOST_CC,$CC in
+ ,,)echo "int x;" > $dummy.c ;
+   for c in cc gcc c89 c99 ; do
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
+CC_FOR_BUILD="$c"; break ;
+ fi ;
+   done ;
+   if test

[17/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest_pred_impl.h
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest_pred_impl.h
 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest_pred_impl.h
new file mode 100644
index 000..30ae712
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/include/gtest/gtest_pred_impl.h
@@ -0,0 +1,358 @@
+// Copyright 2006, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+// This file is AUTOMATICALLY GENERATED on 10/31/2011 by command
+// 'gen_gtest_pred_impl.py 5'.  DO NOT EDIT BY HAND!
+//
+// Implements a family of generic predicate assertion macros.
+
+#ifndef GTEST_INCLUDE_GTEST_GTEST_PRED_IMPL_H_
+#define GTEST_INCLUDE_GTEST_GTEST_PRED_IMPL_H_
+
+// Makes sure this header is not included before gtest.h.
+#ifndef GTEST_INCLUDE_GTEST_GTEST_H_
+# error Do not include gtest_pred_impl.h directly.  Include gtest.h instead.
+#endif  // GTEST_INCLUDE_GTEST_GTEST_H_
+
+// This header implements a family of generic predicate assertion
+// macros:
+//
+//   ASSERT_PRED_FORMAT1(pred_format, v1)
+//   ASSERT_PRED_FORMAT2(pred_format, v1, v2)
+//   ...
+//
+// where pred_format is a function or functor that takes n (in the
+// case of ASSERT_PRED_FORMATn) values and their source expression
+// text, and returns a testing::AssertionResult.  See the definition
+// of ASSERT_EQ in gtest.h for an example.
+//
+// If you don't care about formatting, you can use the more
+// restrictive version:
+//
+//   ASSERT_PRED1(pred, v1)
+//   ASSERT_PRED2(pred, v1, v2)
+//   ...
+//
+// where pred is an n-ary function or functor that returns bool,
+// and the values v1, v2, ..., must support the << operator for
+// streaming to std::ostream.
+//
+// We also define the EXPECT_* variations.
+//
+// For now we only support predicates whose arity is at most 5.
+// Please email googletestframew...@googlegroups.com if you need
+// support for higher arities.
+
+// GTEST_ASSERT_ is the basic statement to which all of the assertions
+// in this file reduce.  Don't use this in your code.
+
+#define GTEST_ASSERT_(expression, on_failure) \
+  GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
+  if (const ::testing::AssertionResult gtest_ar = (expression)) \
+; \
+  else \
+on_failure(gtest_ar.failure_message())
+
+
+// Helper function for implementing {EXPECT|ASSERT}_PRED1.  Don't use
+// this in your code.
+template 
+AssertionResult AssertPred1Helper(const char* pred_text,
+  const char* e1,
+  Pred pred,
+  const T1& v1) {
+  if (pred(v1)) return AssertionSuccess();
+
+  return AssertionFailure() << pred_text << "("
+<< e1 << ") evaluates to false, where"
+<< "\n" << e1 << " evaluates to " << v1;
+}
+
+// Internal macro for implementing {EXPECT|ASSERT}_PRED_FORMAT1.
+// Don't use this in your code.
+#define GTEST_PRED_FORMAT1_(pred_format, v1, on_failure)\
+  GTEST_ASSERT_(pred_format(#v1, v1), \
+on_failure)
+
+// Internal macro for implementing {EXPECT|ASSERT}_PRED1.  Don't use
+// this in your code.
+#define GTEST_PRED1_(pred, v1, on_failure)\
+  GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
+ 

[27/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/ltmain.sh
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/ltmain.sh 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/ltmain.sh
new file mode 100644
index 000..c2852d8
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/ltmain.sh
@@ -0,0 +1,9661 @@
+
+# libtool (GNU libtool) 2.4.2
+# Written by Gordon Matzigkeit , 1996
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
+# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions.  There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool 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.
+#
+# As a special exception to the GNU General Public License,
+# if you distribute this file as part of a program or library that
+# is built using GNU Libtool, you may include this file under the
+# same distribution terms that you use for the rest of that program.
+#
+# GNU Libtool 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.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Libtool; see the file COPYING.  If not, a copy
+# can be downloaded from http://www.gnu.org/licenses/gpl.html,
+# or obtained by writing to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+# Usage: $progname [OPTION]... [MODE-ARG]...
+#
+# Provide generalized library-building support services.
+#
+#   --config show all configuration variables
+#   --debug  enable verbose shell tracing
+#   -n, --dry-rundisplay commands without modifying any files
+#   --features   display basic configuration information and exit
+#   --mode=MODE  use operation mode MODE
+#   --preserve-dup-deps  don't remove duplicate dependency libraries
+#   --quiet, --silentdon't print informational messages
+#   --no-quiet, --no-silent
+#print informational messages (default)
+#   --no-warndon't display warning messages
+#   --tag=TAGuse configuration variables from tag TAG
+#   -v, --verboseprint more informational messages than default
+#   --no-verbose don't print the extra informational messages
+#   --versionprint version information
+#   -h, --help, --help-all   print short, long, or detailed help message
+#
+# MODE must be one of the following:
+#
+# clean  remove files from the build directory
+# compilecompile a source file into a libtool object
+# executeautomatically set library path, then run a program
+# finish complete the installation of libtool libraries
+# installinstall libraries or executables
+# link   create a library or an executable
+# uninstall  remove libraries from an installed directory
+#
+# MODE-ARGS vary depending on the MODE.  When passed as first option,
+# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
+# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
+#
+# When reporting a bug, please describe a test case to reproduce it and
+# include the following information:
+#
+# host-triplet:$host
+# shell:   $SHELL
+# compiler:$LTCC
+# compiler flags:  $LTCFLAGS
+# linker:  $LD (gnu? $with_gnu_ld)
+# $progname:   (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
+# automake:$automake_version
+# autoconf:$autoconf_version
+#
+# Report bugs to .
+# GNU libtool home page: .
+# General help using GNU software: .
+
+PROGRAM=libtool
+PACKAGE=libtool
+VERSION="2.4.2 Debian-2.4.2-1ubuntu1"
+TIMESTAMP=""
+package_revision=1.3337
+
+# Be Bourne compatible
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+  emulate sh
+  NULLCMD=:
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '${1+"$@"}'='"$@"'
+  setopt NO_GLOB_SUBST
+else
+  case `(set -o) 2>/dev/null` in *po

[26/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/missing
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/missing 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/missing
new file mode 100755
index 000..86a8fc3
--- /dev/null
+++ 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/gtest/build-aux/missing
@@ -0,0 +1,331 @@
+#! /bin/sh
+# Common stub for a few missing GNU programs while installing.
+
+scriptversion=2012-01-06.13; # UTC
+
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
+# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+# Originally by Fran,cois Pinard , 1996.
+
+# 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, or (at your option)
+# any later version.
+
+# 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.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see .
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+if test $# -eq 0; then
+  echo 1>&2 "Try \`$0 --help' for more information"
+  exit 1
+fi
+
+run=:
+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
+sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
+
+# In the cases where this matters, `missing' is being run in the
+# srcdir already.
+if test -f configure.ac; then
+  configure_ac=configure.ac
+else
+  configure_ac=configure.in
+fi
+
+msg="missing on your system"
+
+case $1 in
+--run)
+  # Try to run requested program, and just exit if it succeeds.
+  run=
+  shift
+  "$@" && exit 0
+  # Exit code 63 means version mismatch.  This often happens
+  # when the user try to use an ancient version of a tool on
+  # a file that requires a minimum version.  In this case we
+  # we should proceed has if the program had been absent, or
+  # if --run hadn't been passed.
+  if test $? = 63; then
+run=:
+msg="probably too old"
+  fi
+  ;;
+
+  -h|--h|--he|--hel|--help)
+echo "\
+$0 [OPTION]... PROGRAM [ARGUMENT]...
+
+Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
+error status if there is no known handling for PROGRAM.
+
+Options:
+  -h, --help  display this help and exit
+  -v, --version   output version information and exit
+  --run   try to run the given command, and emulate it if it fails
+
+Supported PROGRAM values:
+  aclocal  touch file \`aclocal.m4'
+  autoconf touch file \`configure'
+  autoheader   touch file \`config.h.in'
+  autom4te touch the output file, or create a stub one
+  automake touch all \`Makefile.in' files
+  bisoncreate \`y.tab.[ch]', if possible, from existing .[ch]
+  flex create \`lex.yy.c', if possible, from existing .c
+  help2man touch the output file
+  lex  create \`lex.yy.c', if possible, from existing .c
+  makeinfo touch the output file
+  yacc create \`y.tab.[ch]', if possible, from existing .[ch]
+
+Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
+\`g' are ignored when checking the name.
+
+Send bug reports to ."
+exit $?
+;;
+
+  -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+echo "missing $scriptversion (GNU Automake)"
+exit $?
+;;
+
+  -*)
+echo 1>&2 "$0: Unknown \`$1' option"
+echo 1>&2 "Try \`$0 --help' for more information"
+exit 1
+;;
+
+esac
+
+# normalize program name to check for.
+program=`echo "$1" | sed '
+  s/^gnu-//; t
+  s/^gnu//; t
+  s/^g//; t'`
+
+# Now exit if we have it, but it failed.  Also exit now if we
+# don't have it and --version was passed (most likely to detect
+# the program).  This is about non-GNU programs, so use $1 not
+# $program.
+case $1 in
+  lex*|yacc*)
+# Not GNU programs, they don't have --version.
+;;
+
+  *)
+if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+   # We have it, but it failed.
+   exit 1
+elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+   # Could not run --version or --help.  This is probably someone
+   # running `$TOOL --version' or `$TOOL --help' to check whether
+   # $TOOL exists and not knowing $TOOL uses missing.
+   exit 1
+fi
+;;
+esac
+
+# If it does not exist, or fails to run (possibly an outdated version),
+# try to e

[48/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/node/node.h
--
diff --git a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/node/node.h 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/node/node.h
new file mode 100644
index 000..1207f6e
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/node/node.h
@@ -0,0 +1,145 @@
+#ifndef NODE_NODE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
+#define NODE_NODE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
+
+#if defined(_MSC_VER) ||\
+(defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
+ (__GNUC__ >= 4))  // GCC supports "pragma once" correctly since 3.4
+#pragma once
+#endif
+
+#include 
+
+#include "yaml-cpp/dll.h"
+#include "yaml-cpp/emitterstyle.h"
+#include "yaml-cpp/mark.h"
+#include "yaml-cpp/node/detail/bool_type.h"
+#include "yaml-cpp/node/detail/iterator_fwd.h"
+#include "yaml-cpp/node/ptr.h"
+#include "yaml-cpp/node/type.h"
+
+namespace YAML {
+namespace detail {
+class node;
+class node_data;
+struct iterator_value;
+}  // namespace detail
+}  // namespace YAML
+
+namespace YAML {
+class YAML_CPP_API Node {
+ public:
+  friend class NodeBuilder;
+  friend class NodeEvents;
+  friend struct detail::iterator_value;
+  friend class detail::node;
+  friend class detail::node_data;
+  template 
+  friend class detail::iterator_base;
+  template 
+  friend struct as_if;
+
+  typedef YAML::iterator iterator;
+  typedef YAML::const_iterator const_iterator;
+
+  Node();
+  explicit Node(NodeType::value type);
+  template 
+  explicit Node(const T& rhs);
+  explicit Node(const detail::iterator_value& rhs);
+  Node(const Node& rhs);
+  ~Node();
+
+  YAML::Mark Mark() const;
+  NodeType::value Type() const;
+  bool IsDefined() const;
+  bool IsNull() const { return Type() == NodeType::Null; }
+  bool IsScalar() const { return Type() == NodeType::Scalar; }
+  bool IsSequence() const { return Type() == NodeType::Sequence; }
+  bool IsMap() const { return Type() == NodeType::Map; }
+
+  // bool conversions
+  YAML_CPP_OPERATOR_BOOL();
+  bool operator!() const { return !IsDefined(); }
+
+  // access
+  template 
+  T as() const;
+  template 
+  T as(const S& fallback) const;
+  const std::string& Scalar() const;
+
+  const std::string& Tag() const;
+  void SetTag(const std::string& tag);
+
+  // style
+  // WARNING: This API might change in future releases.
+  EmitterStyle::value Style() const;
+  void SetStyle(EmitterStyle::value style);
+
+  // assignment
+  bool is(const Node& rhs) const;
+  template 
+  Node& operator=(const T& rhs);
+  Node& operator=(const Node& rhs);
+  void reset(const Node& rhs = Node());
+
+  // size/iterator
+  std::size_t size() const;
+
+  const_iterator begin() const;
+  iterator begin();
+
+  const_iterator end() const;
+  iterator end();
+
+  // sequence
+  template 
+  void push_back(const T& rhs);
+  void push_back(const Node& rhs);
+
+  // indexing
+  template 
+  const Node operator[](const Key& key) const;
+  template 
+  Node operator[](const Key& key);
+  template 
+  bool remove(const Key& key);
+
+  const Node operator[](const Node& key) const;
+  Node operator[](const Node& key);
+  bool remove(const Node& key);
+
+  // map
+  template 
+  void force_insert(const Key& key, const Value& value);
+
+ private:
+  enum Zombie { ZombieNode };
+  explicit Node(Zombie);
+  explicit Node(detail::node& node, detail::shared_memory_holder pMemory);
+
+  void EnsureNodeExists() const;
+
+  template 
+  void Assign(const T& rhs);
+  void Assign(const char* rhs);
+  void Assign(char* rhs);
+
+  void AssignData(const Node& rhs);
+  void AssignNode(const Node& rhs);
+
+ private:
+  bool m_isValid;
+  mutable detail::shared_memory_holder m_pMemory;
+  mutable detail::node* m_pNode;
+};
+
+YAML_CPP_API bool operator==(const Node& lhs, const Node& rhs);
+
+YAML_CPP_API Node Clone(const Node& node);
+
+template 
+struct convert;
+}
+
+#endif  // NODE_NODE_H_62B23520_7C8E_11DE_8A39_0800200C9A66

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/node/parse.h
--
diff --git a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/node/parse.h 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/node/parse.h
new file mode 100644
index 000..0ea4948
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/include/yaml-cpp/node/parse.h
@@ -0,0 +1,30 @@
+#ifndef VALUE_PARSE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
+#define VALUE_PARSE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
+
+#if defined(_MSC_VER) ||\
+(defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
+ (__GNUC__ >= 4))  // GCC supports "pragma once" correctly since 3.4
+#pragma onc

[39/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/missing
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/missing 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/missing
new file mode 100755
index 000..86a8fc3
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/missing
@@ -0,0 +1,331 @@
+#! /bin/sh
+# Common stub for a few missing GNU programs while installing.
+
+scriptversion=2012-01-06.13; # UTC
+
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
+# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+# Originally by Fran,cois Pinard , 1996.
+
+# 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, or (at your option)
+# any later version.
+
+# 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.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see .
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+if test $# -eq 0; then
+  echo 1>&2 "Try \`$0 --help' for more information"
+  exit 1
+fi
+
+run=:
+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
+sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
+
+# In the cases where this matters, `missing' is being run in the
+# srcdir already.
+if test -f configure.ac; then
+  configure_ac=configure.ac
+else
+  configure_ac=configure.in
+fi
+
+msg="missing on your system"
+
+case $1 in
+--run)
+  # Try to run requested program, and just exit if it succeeds.
+  run=
+  shift
+  "$@" && exit 0
+  # Exit code 63 means version mismatch.  This often happens
+  # when the user try to use an ancient version of a tool on
+  # a file that requires a minimum version.  In this case we
+  # we should proceed has if the program had been absent, or
+  # if --run hadn't been passed.
+  if test $? = 63; then
+run=:
+msg="probably too old"
+  fi
+  ;;
+
+  -h|--h|--he|--hel|--help)
+echo "\
+$0 [OPTION]... PROGRAM [ARGUMENT]...
+
+Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
+error status if there is no known handling for PROGRAM.
+
+Options:
+  -h, --help  display this help and exit
+  -v, --version   output version information and exit
+  --run   try to run the given command, and emulate it if it fails
+
+Supported PROGRAM values:
+  aclocal  touch file \`aclocal.m4'
+  autoconf touch file \`configure'
+  autoheader   touch file \`config.h.in'
+  autom4te touch the output file, or create a stub one
+  automake touch all \`Makefile.in' files
+  bisoncreate \`y.tab.[ch]', if possible, from existing .[ch]
+  flex create \`lex.yy.c', if possible, from existing .c
+  help2man touch the output file
+  lex  create \`lex.yy.c', if possible, from existing .c
+  makeinfo touch the output file
+  yacc create \`y.tab.[ch]', if possible, from existing .[ch]
+
+Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
+\`g' are ignored when checking the name.
+
+Send bug reports to ."
+exit $?
+;;
+
+  -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+echo "missing $scriptversion (GNU Automake)"
+exit $?
+;;
+
+  -*)
+echo 1>&2 "$0: Unknown \`$1' option"
+echo 1>&2 "Try \`$0 --help' for more information"
+exit 1
+;;
+
+esac
+
+# normalize program name to check for.
+program=`echo "$1" | sed '
+  s/^gnu-//; t
+  s/^gnu//; t
+  s/^g//; t'`
+
+# Now exit if we have it, but it failed.  Also exit now if we
+# don't have it and --version was passed (most likely to detect
+# the program).  This is about non-GNU programs, so use $1 not
+# $program.
+case $1 in
+  lex*|yacc*)
+# Not GNU programs, they don't have --version.
+;;
+
+  *)
+if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+   # We have it, but it failed.
+   exit 1
+elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+   # Could not run --version or --help.  This is probably someone
+   # running `$TOOL --version' or `$TOOL --help' to check whether
+   # $TOOL exists and not knowing $TOOL uses missing.
+   exit 1
+fi
+;;
+esac
+
+# If it does not exist, or fails to run (possibly an outdated version),
+# try to emulate it.
+case $program

[41/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/depcomp
--
diff --git 
a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/depcomp 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/depcomp
new file mode 100755
index 000..bd0ac08
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/build-aux/depcomp
@@ -0,0 +1,688 @@
+#! /bin/sh
+# depcomp - compile a program generating dependencies as side-effects
+
+scriptversion=2011-12-04.11; # UTC
+
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
+# 2011 Free Software Foundation, Inc.
+
+# 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, or (at your option)
+# any later version.
+
+# 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.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see .
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Originally written by Alexandre Oliva .
+
+case $1 in
+  '')
+ echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+  -h | --h*)
+cat <<\EOF
+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
+
+Run PROGRAMS ARGS to compile a file, generating dependencies
+as side-effects.
+
+Environment variables:
+  depmode Dependency tracking mode.
+  source  Source file read by `PROGRAMS ARGS'.
+  object  Object file output by `PROGRAMS ARGS'.
+  DEPDIR  directory where to store dependencies.
+  depfile Dependency file to output.
+  tmpdepfile  Temporary file to use when outputting dependencies.
+  libtool Whether libtool is used (yes/no).
+
+Report bugs to .
+EOF
+exit $?
+;;
+  -v | --v*)
+echo "depcomp $scriptversion"
+exit $?
+;;
+esac
+
+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
+  echo "depcomp: Variables source, object and depmode must be set" 1>&2
+  exit 1
+fi
+
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
+depfile=${depfile-`echo "$object" |
+  sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
+
+rm -f "$tmpdepfile"
+
+# Some modes work just like other modes, but use different flags.  We
+# parameterize here, but still list the modes in the big case below,
+# to make depend.m4 easier to write.  Note that we *cannot* use a case
+# here, because this file can only contain one case statement.
+if test "$depmode" = hp; then
+  # HP compiler uses -M and no extra arg.
+  gccflag=-M
+  depmode=gcc
+fi
+
+if test "$depmode" = dashXmstdout; then
+   # This is just like dashmstdout with a different argument.
+   dashmflag=-xM
+   depmode=dashmstdout
+fi
+
+cygpath_u="cygpath -u -f -"
+if test "$depmode" = msvcmsys; then
+   # This is just like msvisualcpp but w/o cygpath translation.
+   # Just convert the backslash-escaped backslashes to single forward
+   # slashes to satisfy depend.m4
+   cygpath_u='sed s,,/,g'
+   depmode=msvisualcpp
+fi
+
+if test "$depmode" = msvc7msys; then
+   # This is just like msvc7 but w/o cygpath translation.
+   # Just convert the backslash-escaped backslashes to single forward
+   # slashes to satisfy depend.m4
+   cygpath_u='sed s,,/,g'
+   depmode=msvc7
+fi
+
+case "$depmode" in
+gcc3)
+## gcc 3 implements dependency tracking that does exactly what
+## we want.  Yay!  Note: for some reason libtool 1.4 doesn't like
+## it if -MD -MP comes after the -MF stuff.  Hmm.
+## Unfortunately, FreeBSD c89 acceptance of flags depends upon
+## the command line argument order; so add the flags where they
+## appear in depend2.am.  Note that the slowdown incurred here
+## affects only configure: in makefiles, %FASTDEP% shortcuts this.
+  for arg
+  do
+case $arg in
+-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
+*)  set fnord "$@" "$arg" ;;
+esac
+shift # fnord
+shift # $arg
+  done
+  "$@"
+  stat=$?
+  if test $stat -eq 0; then :
+  else
+rm -f "$tmpdepfile"
+exit $stat
+  fi
+  mv "$tmpdepfile" "$depfile"
+  ;;
+
+gcc)
+## There are various ways to get dependency output from gcc.  Here's
+## why we pick this rather obscure method:
+## - Don't want to use -MD because

[45/51] [partial] nifi-minifi-cpp git commit: MINIFI-68 Adding yaml-cpp source and updating LICENSE to reflect its inclusion.

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/918e296c/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/CMakeLists.txt
--
diff --git a/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/CMakeLists.txt 
b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/CMakeLists.txt
new file mode 100644
index 000..572d044
--- /dev/null
+++ b/thirdparty/yaml-cpp-yaml-cpp-0.5.3/test/gmock-1.7.0/CMakeLists.txt
@@ -0,0 +1,171 @@
+
+# CMake build script for Google Mock.
+#
+# To run the tests for Google Mock itself on Linux, use 'make test' or
+# ctest.  You can select which tests to run using 'ctest -R regex'.
+# For more options, run 'ctest --help'.
+
+# BUILD_SHARED_LIBS is a standard CMake variable, but we declare it here to
+# make it prominent in the GUI.
+option(BUILD_SHARED_LIBS "Build shared libraries (DLLs)." OFF)
+
+option(gmock_build_tests "Build all of Google Mock's own tests." OFF)
+
+# A directory to find Google Test sources.
+if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt")
+  set(gtest_dir gtest)
+else()
+  set(gtest_dir ../gtest)
+endif()
+
+# Defines pre_project_set_up_hermetic_build() and set_up_hermetic_build().
+include("${gtest_dir}/cmake/hermetic_build.cmake" OPTIONAL)
+
+if (COMMAND pre_project_set_up_hermetic_build)
+  # Google Test also calls hermetic setup functions from add_subdirectory,
+  # although its changes will not affect things at the current scope.
+  pre_project_set_up_hermetic_build()
+endif()
+
+
+#
+# Project-wide settings
+
+# Name of the project.
+#
+# CMake files in this project can refer to the root source directory
+# as ${gmock_SOURCE_DIR} and to the root binary directory as
+# ${gmock_BINARY_DIR}.
+# Language "C" is required for find_package(Threads).
+project(gmock CXX C)
+cmake_minimum_required(VERSION 2.6.2)
+
+if (COMMAND set_up_hermetic_build)
+  set_up_hermetic_build()
+endif()
+
+# Instructs CMake to process Google Test's CMakeLists.txt and add its
+# targets to the current scope.  We are placing Google Test's binary
+# directory in a subdirectory of our own as VC compilation may break
+# if they are the same (the default).
+add_subdirectory("${gtest_dir}" "${gmock_BINARY_DIR}/gtest")
+
+# Although Google Test's CMakeLists.txt calls this function, the
+# changes there don't affect the current scope.  Therefore we have to
+# call it again here.
+config_compiler_and_linker()  # from ${gtest_dir}/cmake/internal_utils.cmake
+
+# Adds Google Mock's and Google Test's header directories to the search path.
+include_directories("${gmock_SOURCE_DIR}/include"
+"${gmock_SOURCE_DIR}"
+"${gtest_SOURCE_DIR}/include"
+# This directory is needed to build directly from Google
+# Test sources.
+"${gtest_SOURCE_DIR}")
+
+
+#
+# Defines the gmock & gmock_main libraries.  User tests should link
+# with one of them.
+
+# Google Mock libraries.  We build them using more strict warnings than what
+# are used for other targets, to ensure that Google Mock can be compiled by
+# a user aggressive about warnings.
+cxx_library(gmock
+"${cxx_strict}"
+"${gtest_dir}/src/gtest-all.cc"
+src/gmock-all.cc)
+
+cxx_library(gmock_main
+"${cxx_strict}"
+"${gtest_dir}/src/gtest-all.cc"
+src/gmock-all.cc
+src/gmock_main.cc)
+
+
+#
+# Google Mock's own tests.
+#
+# You can skip this section if you aren't interested in testing
+# Google Mock itself.
+#
+# The tests are not built by default.  To build them, set the
+# gmock_build_tests option to ON.  You can do it by running ccmake
+# or specifying the -Dgmock_build_tests=ON flag when running cmake.
+
+if (gmock_build_tests)
+  # This must be set in the root directory for the tests to be run by
+  # 'make test' or ctest.
+  enable_testing()
+
+  
+  # C++ tests built with standard compiler flags.
+
+  cxx_test(gmock-actions_test gmock_main)
+  cxx_test(gmock-cardinalities_test gmock_main)
+  cxx_test(gmock_ex_test gmock_main)
+  cxx_test(gmock-generated-actions_test gmock_main)
+  cxx_test(gmock-generated-function-mockers_test gmock_main)
+  cxx_test(gmock-generated-internal-utils_test gmock_main)
+  cxx_test(gmock-generated-matchers_test gmock_main)
+  cxx_test(gmock-internal-utils_test gmock_main)
+  cxx_test(gmock-matchers_test gmock_main)
+  cxx_test(gmock-more-actions_test gmock_main)
+  cxx_test(gmock-nice-strict_test gmock_main)
+  cxx_test(gmock-port_test gmock_main)
+  cxx_test(gmock-spec-builders_test gmock_main)
+  cxx_test(gmoc

[18/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk21.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk21.html 
b/thirdparty/libxml2/doc/APIchunk21.html
new file mode 100644
index 000..c655198
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk21.html
@@ -0,0 +1,399 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index o-o for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex o-o for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter o:object?xmlXPathNumberFunction
+xmlXPathStringFunction
+objects_xmlXPathContext
+xmlXPathCompareValues
+xmlXPathContextSetCache
+xmlXPathDivValues
+xmlXPathEqualValues
+xmlXPathFreeNodeSetList
+xmlXPathNotEqualValues
+objects:xmlXPathAddValues
+xmlXPathCompareValues
+xmlXPathModValues
+xmlXPathMultValues
+xmlXPathSubValues
+obligatedxmlParseEntityRef
+obsoletexmlNormalizeWindowsPath
+obsolete:XML_SCHEMAS_ELEM_TOPLEVEL
+occupiedxmlCanonicPath
+xmlPathToURI
+occurXML_SCHEMAS_TYPE_VARIETY_ABSENT
+xmlParseComment
+xmlParseMarkupDecl
+occuredxmlCtxtGetLastError
+xmlDictCreate
+xmlDictCreateSub
+xmlGetLastError
+xmlHashCreate
+xmlHashCreateDict
+xmlListRemoveFirst
+xmlListRemoveLast
+xmlTextReaderErrorFunc
+occurencesxmlAutomataNewCountTrans
+xmlAutomataNewCountTrans2
+xmlAutomataNewOnceTrans
+xmlAutomataNewOnceTrans2
+occurredxmlMemStrdupLoc
+xmlMemoryStrdup
+occurrencexmlStrcasestr
+xmlStrchr
+xmlStrstr
+xmlStrsub
+xmlXPathSubstringAfterFunction
+xmlXPathSubstringBeforeFunction
+occurrencesxmlXPathTranslateFunction
+occursxmlNormalizeURIPath
+xmlParseSDDecl
+xmlStrPrintf
+xmlStrVPrintf
+octetsUTF8ToHtml
+UTF8Toisolat1
+docbEncodeEntities
+htmlEncodeEntities
+isolat1ToUTF8
+xmlCharEncodingInputFunc
+xmlCharEncodingOutputFunc
+of:xmlParseSDDecl
+offxmlGetNoNsProp
+xmlGetNsProp
+xmlGetProp
+xmlHasNsProp
+xmlHasProp
+xmlLineNumbersDefault
+xmlParseExternalID
+okay_xmlParserCtxt
+old_xmlDoc
+globalNamespace
+xmlDocSetRootElement
+xmlKeepBlanksDefault
+xmlLineNumbersDefault
+xmlListCopy
+xmlNewGlobalNs
+xmlOutputBufferCreateFilenameDefault
+xmlParserInputBufferCreateFilenameDefault
+xmlParserInputBufferGrow
+xmlParserInputBufferRead
+xmlRegisterNodeDefault
+xmlReplaceNode
+xmlXPathConvertBoolean
+xmlXPathConvertNumber
+xmlXPathConvertString
+oldNsxmlDOMWrapAdoptNode
+xmlDOMWrapCloneNode
+xmlDOMWrapRemoveNode
+olderLIBXML_SAX1_ENABLED
+xmlParseNamespace
+omittedhtmlHandleOmittedElem
+xmlXPathLocalNameFunction
+xmlXPathNamespaceURIFunction
+xmlXPathNormalizeFunction
+xmlXPathStringFunction
+xmlXPathStringLengthFunction
+oncehtmlInitAutoClose
+xmlAutomataNewOnceTrans
+xmlAutomataNewOnceTrans2
+xmlCleanupThreads
+xmlEncodeEntities
+xmlInitParser
+xmlInitializeCatalog
+xmlLoadCatalog
+xmlLoadCatalogs
+xmlParseAttributeType
+xmlParseElementDecl
+xmlParseElementMixedContentDecl
+xmlParsePI
+xmlParseStartTag
+xmlTextReaderCurrentDoc
+xmlTextReaderPreserve
+xmlTextReaderPreservePattern
+xmlValidateDocumentFinal
+xmlValidateDtdFinal
+xmlXPathNodeSetMerge
+xmlXPtrLocationSetMerge
+onesXML_COMPLET

[26/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk11.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk11.html 
b/thirdparty/libxml2/doc/APIchunk11.html
new file mode 100644
index 000..9f94a1f
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk11.html
@@ -0,0 +1,339 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index b-b for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex b-b for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter b:backxmlBufferDetach
+xmlChildElementCount
+xmlEntityReferenceFunc
+xmlFirstElementChild
+xmlKeepBlanksDefault
+xmlLastElementChild
+xmlNanoFTPGet
+xmlNanoFTPList
+xmlNextElementSibling
+xmlPreviousElementSibling
+xmlRelaxNGDump
+xmlSetEntityReferenceFunc
+badXML_MAX_LOOKUP_LIMIT
+badlyxmlParseExternalID
+bahaviourxmlTextReaderNormalization
+balancedxmlParseBalancedChunkMemory
+xmlParseBalancedChunkMemoryRecover
+xmlParseInNodeContext
+barxmlXPathTranslateFunction
+base64xmlTextWriterWriteBase64
+basedxmlGetCompressMode
+xmlGetDocCompressMode
+xmlGetNodePath
+xmlNewEntityInputStream
+xmlNewInputFromFile
+xmlNewStringInputStream
+xmlParseURI
+xmlParseURIReference
+xmlRelaxNGNewValidCtxt
+xmlSchemaNewStringValue
+xmlSchemaNewValidCtxt
+xmlSchemaSAXPlug
+xmlSchemaSAXUnplug
+xmlSchemaValidateStream
+xmlSchematronNewValidCtxt
+xmlSetCompressMode
+xmlSetDocCompressMode
+xmlStrcat
+xmlStrdup
+xmlStrsub
+xmlURIEscape
+basicallygetSystemId
+xmlIsMixedElement
+xmlSAX2GetSystemId
+xmlValidateAttributeDecl
+xmlValidateDocument
+xmlValidateDocumentFinal
+xmlValidateDtdFinal
+xmlValidateElementDecl
+xmlValidateNotationDecl
+xmlValidateOneAttribute
+xmlValidateOneElement
+xmlValidateOneNamespace
+xmlValidateRoot
+basisxmlSubstituteEntitiesDefault
+bearxmlParseAttributeType
+becomesxmlAddAttributeDecl
+beforehtmlInitAutoClose
+xmlBuildRelativeURI
+xmlCatalogAdd
+xmlCleanupParser
+xmlCleanupThreads
+xmlCurrentChar
+xmlGcMemSetup
+xmlInitParser
+xmlMemSetup
+xmlTextReaderRelaxNGSetSchema
+xmlTextReaderRelaxNGValidate
+xmlTextReaderRelaxNGValidateCtxt
+xmlTextReaderSchemaValidate
+xmlTextReaderSchemaValidateCtxt
+xmlTextReaderSetParserProp
+xmlTextReaderSetSchema
+xmlValidGetValidElements
+xmlXPathNextPreceding
+xmlXPathStringFunction
+beginningxmlBufShrink
+xmlBufferAddHead
+xmlBufferShrink
+xmlByteConsumed
+xmlListInsert
+xmlListPushFront
+xmlStringCurrentChar
+xmlTextReaderByteConsumed
+xmlValidGetValidElements
+begins_xmlParserNodeInfo
+behavesIS_LETTER_CH
+behaviorhtmlSAXParseDoc
+xmlCurrentChar
+xmlKeepBlanksDefault
+xmlSubstituteEntitiesDefault
+behaviourXML_MAX_LOOKUP_LIMIT
+htmlNodeDump
+htmlNodeDumpFile
+htmlNodeDumpFileFormat
+htmlNodeDumpFormatOutput
+htmlNodeDumpOutput
+resolveEntity
+resolveEntitySAXFunc
+xmlBufNodeDump
+xmlBufShrink
+xmlElemDump
+xmlFreeNode
+xmlFreeNodeList
+xmlModuleOpen
+xmlModuleSymbol
+xmlNodeDump
+xmlNodeDumpOutput
+xmlNodeGetSpacePreserve
+xmlNodeSetSpacePreserve
+xmlSAX2ResolveEntity
+xmlTextReaderSetParserProp
+xmlUTF8Strsize
+below_xmlParserCtxt
+xmlChe

[38/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/bakefile/libxml2.bkl
--
diff --git a/thirdparty/libxml2/bakefile/libxml2.bkl 
b/thirdparty/libxml2/bakefile/libxml2.bkl
new file mode 100644
index 000..f314465
--- /dev/null
+++ b/thirdparty/libxml2/bakefile/libxml2.bkl
@@ -0,0 +1,749 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+   
+
+
+
+
+
+
+
+ 
+
+
+
+
+0,1
+,DLL
+0
+If set to zero a STATIC libxml library will be 
built
+
+
+
+
+
+0,1
+,Unicode
+0
+Compile Unicode build?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+debug,release
+Debug,Release
+release
+
+Type of compiled binaries
+
+
+
+
+
+
+
+
+
+
+
+
+1
+0
+
+
+
+
+
+
+_UNICODE
+
+
+
+
+
+
+__WXDEBUG__
+
+
+
+
+
+
+on
+off
+
+
+
+
+
+on
+off
+
+
+
+
+off
+speed
+
+
+
+
+
+max
+no
+
+
+
+
+
+
+
+
+
+
+default
+-Wall
+
+
+
+
+  
+
+
+
+
+
+
+   
+   
+   
+   
+   
+   
+   
+   
+   
+
+   
+   0
+   1
+   
+
+
+c:\iconv
+The iconv library main folder
+
+
+
+   0,1
+0
+Enable TRIO string manipulator
+
+
+   
+   
+   native
+   
+   
+   
+   no,ctls,native,posix
+   native
+   Enable thread safety
+   
+
+
+
+   0,1
+1
+Enable FTP client
+
+
+
+   0,1
+1
+Enable HTTP client
+
+
+
+   0,1
+1
+Enable C14N support
+
+
+
+   0,1
+1
+Enable catalog support
+
+
+
+   0,1
+1
+Enable DocBook support
+
+   
+
+   0,1
+1
+Enable XPath support
+
+   
+
+   0,1
+1
+Enable XPointer support
+
+   
+
+   0,1
+1
+Enable XInclude support
+
+   
+   
+   
+   1
+   
+   
+   
+   0,1
+   1
+   Enable iconv support
+   
+   
+   
+
+   0,1
+0
+Enable iso8859x support
+
+   
+   
+   
+   0
+   
+   
+   
+   0,1
+   0
+   Enable ZLIB support
+   
+   
+   
+
+   0,1
+1
+Enable regular expressions
+
+   
+
+   0,1
+1
+Enable tree api
+
+   
+
+   0,1
+1
+Enable xmlReader api
+
+   
+
+   0,1
+1
+Enable xmlWriter api
+
+   
+
+   0,1
+1
+Enable xmlDocWalker api
+
+   
+
+   0,1
+1
+Enable xmlPattern api
+
+   
+
+   0,1
+1
+Enable push api
+
+   
+
+   0,1
+1
+Enable DTD validation support
+
+   
+
+   0,1
+1
+Enable SAX1 api
+
+   
+
+   0,1
+1
+Enable XML Schema support
+
+   
+
+   0,1
+1
+Enable deprecated APIs
+
+   
+
+   0,1
+1
+Enable serialization support
+  
+   
+
+   0,1
+0
+Build Python bindings
+
+
+
+ 
+
+
+
+   
+
+
+
+$(FORMAT)
+
+
+   
+   
+   1
+   0
+   
+
+   
+   ..
+   
+   
+   $(XMLBASEDIR)$(DIRSEP)bin
+   
+   2
+   6
+   16
+   
+   
+   
+   
+   $(__DEFINE_ARG)_REENTRANT 
$(__DEFINE_ARG)HAVE_WIN32_THREADS
+   
+   
+   $(__DEFINE_ARG)_REENTRANT 
$(__DEFINE_ARG)HAVE_WIN32_THREADS $(__DEFINE_ARG)HAVE_COMPILER_TLS
+   
+   
+   $(__DEFINE_ARG)_REENTRANT $(__DEFINE_ARG)HAVE_PTHREAD_H
+   
+   
+   
+   
+   $(THREADS_DEF) 
$(__DEFINE_ARG)__MT__
+   $(THREADS_DEF) 
$(__DEFINE_ARG)__MT__
+

[49/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/ChangeLog
--
diff --git a/thirdparty/libxml2/ChangeLog b/thirdparty/libxml2/ChangeLog
new file mode 100644
index 000..08725dd
--- /dev/null
+++ b/thirdparty/libxml2/ChangeLog
@@ -0,0 +1,19678 @@
+Fri Jul 10 16:11:34 CEST 2009 Daniel Veillard 
+
+   * parser.c: fix a regression in entity parsing when using the reader
+ introduced because we were not reusing _private on entities parsing
+ context
+
+Thu Jul  9 10:21:00 CEST 2009 Daniel Veillard 
+
+   Aleksey Sanin support for c14n 1.1
+   * c14n.c include/libxml/c14n.h: adds support for C14N 1.1,
+ new flags at the API level
+   * runtest.c Makefile.am testC14N.c xmllint.c: add support in CLI
+ tools and test binaries
+   * result/c14n/1-1-without-comments/* test/c14n/1-1-without-comments/*:
+ add a new batch of tests
+
+Thu Jul  9 08:52:35 CEST 2009 Daniel Veillard 
+
+   * config.h.in: update of libtool seems to have modified it
+   * python/libxml2class.txt: python update modified the order
+ of classes apparently
+
+Thu Jul  9 08:43:06 CEST 2009 Daniel Veillard 
+
+   * tree.c: avoid calling xmlAddID with NULL values
+   * parser.c: add a few xmlInitParser in some entry points
+
+Fri Jun 19 19:51:08 CEST 2009 Rob Richards 
+
+   * parser.c: use options from current parser context when creating 
+ a parser context within xmlParseCtxtExternalEntity
+   * xmlwriter.c: fix error message when unable to create output file
+
+Thu Jun  4 11:17:23 CEST 2009 Daniel Veillard 
+
+   * c14n.c debugXML.c doc/examples/io2.c parser.c schematron.c
+ valid.c xmlschemas.c xmlwriter.c xpath.c: use %s to printf string
+ patch by Christian Persch, fixes #581612
+
+Thu Jun  4 11:06:07 CEST 2009 Daniel Veillard 
+
+   * parser.c threads.c: change the threading initialization sequence
+ as suggested by Igor Novoseltsev to avoid crash if xmlInitParser()
+ is called from a thread which is not the main one, should fix
+ #584605
+
+Fri May 15 17:54:48 CEST 2009 Daniel Veillard 
+
+   * HTMLparser.c: make sure we keep line numbers fixes #580705
+ based Aaron Patterson patch
+
+Tue May 12 09:13:58 CEST 2009 Daniel Veillard 
+
+   * HTMLparser.c: a broken HTML table attributes initialization,
+ fixes #581803, by Roland Steiner 
+
+Tue May 12 08:54:20 CEST 2009 Daniel Veillard 
+
+   * libxml2.doap: adding RDF dope file.
+
+Tue May 12 08:42:52 CEST 2009 Daniel Veillard 
+
+   * configure.in: adapt the extra version detection code to git
+
+Wed Apr 29 16:09:38 CEST 2009 Rob Richards 
+
+   * parser.c: do not set error code in xmlNsWarn
+
+Wed Apr 15 11:18:24 CEST 2009 Daniel Veillard 
+
+   * include/libxml/parser.h include/libxml/xmlwriter.h
+ include/libxml/relaxng.h include/libxml/xmlversion.h.in
+ include/libxml/xmlwin32version.h.in include/libxml/valid.h
+ include/libxml/xmlschemas.h include/libxml/xmlerror.h: change
+ ATTRIBUTE_PRINTF into LIBXML_ATTR_FORMAT to avoid macro name
+ collisions with other packages and headers as reported by
+ Belgabor and Mike Hommey
+
+Thu Apr  2 13:57:15 CEST 2009 Daniel Veillard 
+
+   * error.c: fix structured error handling problems #564217
+
+Thu Mar 26 19:08:08 CET 2009 Rob Richards 
+
+   * parser.c: use options from current parser context when creating 
+ an entity parser context
+
+Wed Mar 25 11:40:34 CET 2009 Daniel Veillard 
+
+   * doc/*: updated SVN URL for GNOME as pointed by Vincent Lefevre
+ and regenerated docs
+
+Wed Mar 25 11:21:26 CET 2009 Daniel Veillard 
+
+   * parser.c: hide the nbParse* variables used for debugging
+ as pointed by Mike Hommey
+
+Wed Mar 25 10:50:05 CET 2009 Daniel Veillard 
+
+   * include/wsockcompat.h win32/Makefile.bcb xpath.c: fixes for
+ Borland/CodeGear/Embarcadero compilers by Eric Zurcher
+
+Wed Mar 25 10:43:07 CET 2009 Daniel Veillard 
+
+   * xpath.c: xmlXPathRegisterNs should not allow enpty prefixes
+
+Mon Mar 23 20:27:15 CET 2009 Daniel Veillard 
+
+   * tree.c: add a missing check in xmlAddSibling, patch by Kris Breuker
+   * xmlIO.c: avoid xmlAllocOutputBuffer using XML_BUFFER_EXACT which
+ leads to performances problems especially on Windows.
+
+Tue Mar  3 14:30.28 HKT 2009 William Brack 
+
+   * trio.h: changed include of config.h to be surrounded by
+ quotation marks #570806
+
+Sat Feb 21 10:20:34 CET 2009 Daniel Veillard 
+
+   * threads.c parser.c: more warnings about xmlCleanupThreads and
+ xmlCleanupParser to avoid troubles like #571409
+
+Fri Feb 20 09:40:04 CET 2009 Daniel Veillard 
+
+   * xmlwriter.c: cleanups and error reports when xmlTextWriterVSprintf
+ fails, by Jinmei Tatuya
+
+Fri Fe

[41/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/README
--
diff --git a/thirdparty/libxml2/README b/thirdparty/libxml2/README
new file mode 100644
index 000..749e671
--- /dev/null
+++ b/thirdparty/libxml2/README
@@ -0,0 +1,39 @@
+
+  XML toolkit from the GNOME project
+
+Full documentation is available on-line at
+http://xmlsoft.org/
+
+This code is released under the MIT Licence see the Copyright file.
+
+To build on an Unixised setup:
+   ./configure ; make ; make install
+To build on Windows:
+   see instructions on win32/Readme.txt
+
+To assert build quality:
+   on an Unixised setup:
+  run make tests
+   otherwise:
+   There is 3 standalone tools runtest.c runsuite.c testapi.c, which
+   should compile as part of the build or as any application would.
+   Launch them from this directory to get results, runtest checks 
+   the proper functionning of libxml2 main APIs while testapi does
+   a full coverage check. Report failures to the list.
+
+To report bugs, follow the instructions at: 
+  http://xmlsoft.org/bugs.html
+
+A mailing-list x...@gnome.org is available, to subscribe:
+http://mail.gnome.org/mailman/listinfo/xml
+
+The list archive is at:
+http://mail.gnome.org/archives/xml/
+
+All technical answers asked privately will be automatically answered on
+the list and archived for public access unless privacy is explicitly
+required and justified.
+
+Daniel Veillard
+
+$Id$

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/README.tests
--
diff --git a/thirdparty/libxml2/README.tests b/thirdparty/libxml2/README.tests
new file mode 100644
index 000..8d86f2a
--- /dev/null
+++ b/thirdparty/libxml2/README.tests
@@ -0,0 +1,39 @@
+   README.tests
+
+   Instructions for standalone test regressions of libxml2
+
+libxml2-tests-$version.tar.gz contains 3 standalone C programs as well
+as a large amount of tests and results coming from libxml2 itself and
+from W3C, NIST, Sun Microsystems, Microsoft and James Clark. Each C
+program has a different testing purpose:
+
+  runtest.c : runs libxml2 basic internal regression tests
+  runsuite.c: runs libxml2 against external regression tests
+  testapi.c : exercises the library public entry points
+  testchar.c: exercise the check of character ranges and UTF-8 validation
+
+The command:
+
+  make check
+or
+  make -f Makefile.tests check
+
+should be sufficient on an Unix system to build and exercise the tests
+for the version of the library installed on the system. Note however
+that there isn't backward compatibility provided so if the installed
+version is older than the testsuite one, failing to compile or run the tests
+is likely. In any event this won't work with an installed libxml2 older
+than 2.6.20.
+
+Building on other platforms should be a matter of compiling the C files
+like any other program using libxml2, running the test should be done
+simply by launching the resulting executables.
+
+Also note the availability of a "make valgrind" target which will run the
+above tests under valgrind to check for memory errors (but this relies
+on the availability of the valgrind command and take far more time to
+complete).
+
+Daniel Veillard
+Mon May  7 2012
+

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/SAX.c
--
diff --git a/thirdparty/libxml2/SAX.c b/thirdparty/libxml2/SAX.c
new file mode 100644
index 000..292af57
--- /dev/null
+++ b/thirdparty/libxml2/SAX.c
@@ -0,0 +1,180 @@
+/*
+ * SAX.c : Old SAX v1 handlers to build a tree.
+ * Deprecated except for compatibility
+ *
+ * See Copyright for the status of this software.
+ *
+ * Daniel Veillard 
+ */
+
+
+#define IN_LIBXML
+#include "libxml.h"
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#ifdef LIBXML_LEGACY_ENABLED
+#ifdef LIBXML_SAX1_ENABLED
+/**
+ * initxmlDefaultSAXHandler:
+ * @hdlr:  the SAX handler
+ * @warning:  flag if non-zero sets the handler warning procedure
+ *
+ * Initialize the default XML SAX version 1 handler
+ * DEPRECATED: use xmlSAX2InitDefaultSAXHandler() for the new SAX2 blocks
+ */
+void
+initxmlDefaultSAXHandler(xmlSAXHandlerV1 *hdlr, int warning)
+{
+
+if(hdlr->initialized == 1)
+   return;
+
+hdlr->internalSubset = xmlSAX2InternalSubset;
+hdlr->externalSubset = xmlSAX2ExternalSubset;
+hdlr->isStandalone = xmlSAX2IsStandalone;
+hdlr->hasInternalSubset = xmlSAX2HasInternalSubset;
+hdlr->hasExternalSubset = xmlSAX2HasExternalSubset;
+hdlr->resolveEntity = xmlSAX2ResolveEntity;
+hdlr->getEntity = xml

[30/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/debugXML.c
--
diff --git a/thirdparty/libxml2/debugXML.c b/thirdparty/libxml2/debugXML.c
new file mode 100644
index 000..b05fdff
--- /dev/null
+++ b/thirdparty/libxml2/debugXML.c
@@ -0,0 +1,3428 @@
+/*
+ * debugXML.c : This is a set of routines used for debugging the tree
+ *  produced by the XML parser.
+ *
+ * See Copyright for the status of this software.
+ *
+ * Daniel Veillard 
+ */
+
+#define IN_LIBXML
+#include "libxml.h"
+#ifdef LIBXML_DEBUG_ENABLED
+
+#include 
+#ifdef HAVE_STDLIB_H
+#include 
+#endif
+#ifdef HAVE_STRING_H
+#include 
+#endif
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#ifdef LIBXML_SCHEMAS_ENABLED
+#include 
+#endif
+
+#define DUMP_TEXT_TYPE 1
+
+typedef struct _xmlDebugCtxt xmlDebugCtxt;
+typedef xmlDebugCtxt *xmlDebugCtxtPtr;
+struct _xmlDebugCtxt {
+FILE *output;   /* the output file */
+char shift[101];/* used for indenting */
+int depth;  /* current depth */
+xmlDocPtr doc;  /* current document */
+xmlNodePtr node;   /* current node */
+xmlDictPtr dict;   /* the doc dictionnary */
+int check;  /* do just checkings */
+int errors; /* number of errors found */
+int nodict;/* if the document has no dictionnary */
+int options;   /* options */
+};
+
+static void xmlCtxtDumpNodeList(xmlDebugCtxtPtr ctxt, xmlNodePtr node);
+
+static void
+xmlCtxtDumpInitCtxt(xmlDebugCtxtPtr ctxt)
+{
+int i;
+
+ctxt->depth = 0;
+ctxt->check = 0;
+ctxt->errors = 0;
+ctxt->output = stdout;
+ctxt->doc = NULL;
+ctxt->node = NULL;
+ctxt->dict = NULL;
+ctxt->nodict = 0;
+ctxt->options = 0;
+for (i = 0; i < 100; i++)
+ctxt->shift[i] = ' ';
+ctxt->shift[100] = 0;
+}
+
+static void
+xmlCtxtDumpCleanCtxt(xmlDebugCtxtPtr ctxt ATTRIBUTE_UNUSED)
+{
+ /* remove the ATTRIBUTE_UNUSED when this is added */
+}
+
+/**
+ * xmlNsCheckScope:
+ * @node: the node
+ * @ns: the namespace node
+ *
+ * Check that a given namespace is in scope on a node.
+ *
+ * Returns 1 if in scope, -1 in case of argument error,
+ * -2 if the namespace is not in scope, and -3 if not on
+ * an ancestor node.
+ */
+static int
+xmlNsCheckScope(xmlNodePtr node, xmlNsPtr ns)
+{
+xmlNsPtr cur;
+
+if ((node == NULL) || (ns == NULL))
+return(-1);
+
+if ((node->type != XML_ELEMENT_NODE) &&
+   (node->type != XML_ATTRIBUTE_NODE) &&
+   (node->type != XML_DOCUMENT_NODE) &&
+   (node->type != XML_TEXT_NODE) &&
+   (node->type != XML_HTML_DOCUMENT_NODE) &&
+   (node->type != XML_XINCLUDE_START))
+   return(-2);
+
+while ((node != NULL) &&
+   ((node->type == XML_ELEMENT_NODE) ||
+(node->type == XML_ATTRIBUTE_NODE) ||
+(node->type == XML_TEXT_NODE) ||
+   (node->type == XML_XINCLUDE_START))) {
+   if ((node->type == XML_ELEMENT_NODE) ||
+   (node->type == XML_XINCLUDE_START)) {
+   cur = node->nsDef;
+   while (cur != NULL) {
+   if (cur == ns)
+   return(1);
+   if (xmlStrEqual(cur->prefix, ns->prefix))
+   return(-2);
+   cur = cur->next;
+   }
+   }
+   node = node->parent;
+}
+/* the xml namespace may be declared on the document node */
+if ((node != NULL) &&
+((node->type == XML_DOCUMENT_NODE) ||
+(node->type == XML_HTML_DOCUMENT_NODE))) {
+xmlNsPtr oldNs = ((xmlDocPtr) node)->oldNs;
+if (oldNs == ns)
+return(1);
+}
+return(-3);
+}
+
+static void
+xmlCtxtDumpSpaces(xmlDebugCtxtPtr ctxt)
+{
+if (ctxt->check)
+return;
+if ((ctxt->output != NULL) && (ctxt->depth > 0)) {
+if (ctxt->depth < 50)
+fprintf(ctxt->output, "%s", &ctxt->shift[100 - 2 * ctxt->depth]);
+else
+fprintf(ctxt->output, "%s", ctxt->shift);
+}
+}
+
+/**
+ * xmlDebugErr:
+ * @ctxt:  a debug context
+ * @error:  the error code
+ *
+ * Handle a debug error.
+ */
+static void
+xmlDebugErr(xmlDebugCtxtPtr ctxt, int error, const char *msg)
+{
+ctxt->errors++;
+__xmlRaiseError(NULL, NULL, NULL,
+   NULL, ctxt->node, XML_FROM_CHECK,
+   error, XML_ERR_ERROR, NULL, 0,
+   NULL, NULL, NULL, 0, 0,
+   "%s", msg);
+}
+static void
+xmlDebugErr2(xmlDebugCtxtPtr ctxt, int error, const char *msg, int extra)
+{
+ctxt->errors++;
+__xmlRaiseError(NULL, NULL, NULL,
+   NULL, ctxt->node, XML_FROM_CHECK,
+   error, XML_ERR_ERROR, NULL, 0,
+   NULL, NULL, NULL, 0, 0,
+

[04/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/ChangeLog.xsl
--
diff --git a/thirdparty/libxml2/doc/ChangeLog.xsl 
b/thirdparty/libxml2/doc/ChangeLog.xsl
new file mode 100644
index 000..7073ba2
--- /dev/null
+++ b/thirdparty/libxml2/doc/ChangeLog.xsl
@@ -0,0 +1,117 @@
+
+
+http://www.w3.org/1999/XSL/Transform";>
+
+  
+  
+
+  
+  http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+
+  libxml2
+
+  
+  API Menu
+  
+
+  
+  
+
+
+  Main Menu
+  Developer Menu
+  Modules Index
+  Code Examples
+  API Menu
+  Parser API
+  Tree API
+  Reader API
+  XML Guidelines
+
+  
+
+  
+http://bugzilla.gnome.org/show_bug.cgi?id={@number}";>
+
+  
+  
+  
+
+  
+
+  
+
+
+
+
+   
+
+   
+
+  
+
+
+  
+
+  
+ChangeLog last entries of 
+  
+
+
+   
+ 
+   
+
+
+  
+   
+ 
+  
+
+  
+
+  
+
+  
+
+
+  
+
+  
+
+  
+
+  
+
+  
+   
+   Daniel Veillard
+  
+
+  
+
+  
+
+  
+
+  
+
+  
+
+  
+
+  
+
+  
+  
+
+

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/DOM.gif
--
diff --git a/thirdparty/libxml2/doc/DOM.gif b/thirdparty/libxml2/doc/DOM.gif
new file mode 100644
index 000..a44882f
Binary files /dev/null and b/thirdparty/libxml2/doc/DOM.gif differ

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/DOM.html
--
diff --git a/thirdparty/libxml2/doc/DOM.html b/thirdparty/libxml2/doc/DOM.html
new file mode 100644
index 000..5b2517c
--- /dev/null
+++ b/thirdparty/libxml2/doc/DOM.html
@@ -0,0 +1,17 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+DOM Principleshttp://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeDOM 
PrinciplesDeveloper MenuMain MenuReference ManualCode 
ExamplesXML 
 GuidelinesTutorialThe Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, stylesheetAPI 
IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FTPhttp://www.zlatkovic.
 com/projects/libxml/">Windows binarieshttp://opencsw.org/packages/libxml2";>Solaris binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
Trackerhttp://www.w3.org/DOM/";>DOM stands for the Document
+Object Model; this is an API for accessing XML or HTML structured
+documents. Native support for DOM in Gnome is on the way (module gnome-dom),
+and will be based on gnome-xml. This will be a far cleaner interface to
+manipulate XML files within Gnome since it won't expose the

[33/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/config.sub
--
diff --git a/thirdparty/libxml2/config.sub b/thirdparty/libxml2/config.sub
new file mode 100755
index 000..6467c95
--- /dev/null
+++ b/thirdparty/libxml2/config.sub
@@ -0,0 +1,1807 @@
+#! /bin/sh
+# Configuration validation subroutine script.
+#   Copyright 1992-2015 Free Software Foundation, Inc.
+
+timestamp='2015-01-01'
+
+# This file 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 3 of the License, or
+# (at your option) any later version.
+#
+# 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.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see .
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that
+# program.  This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
+
+
+# Please send patches to .
+#
+# Configuration subroutine to validate and canonicalize a configuration type.
+# Supply the specified configuration type as an argument.
+# If it is invalid, we print an error message on stderr and exit with code 1.
+# Otherwise, we print the canonical config type on stdout and succeed.
+
+# You can get the latest version of this script from:
+# 
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
+
+# This file is supposed to be the same for all GNU packages
+# and recognize all the CPU types, system types and aliases
+# that are meaningful with *any* GNU software.
+# Each package is responsible for reporting which valid configurations
+# it does not support.  The user should be able to distinguish
+# a failure to support a valid configuration from a meaningless
+# configuration.
+
+# The goal of this file is to map all the various variations of a given
+# machine specification into a single specification in the form:
+#  CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+# or in some cases, the newer four-part form:
+#  CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
+# It is wrong to echo any other type of specification.
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION] CPU-MFR-OPSYS
+   $0 [OPTION] ALIAS
+
+Canonicalize a configuration name.
+
+Operation modes:
+  -h, --help print this help, then exit
+  -t, --time-stamp   print date of last modification, then exit
+  -v, --version  print version number, then exit
+
+Report bugs and patches to ."
+
+version="\
+GNU config.sub ($timestamp)
+
+Copyright 1992-2015 Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+  case $1 in
+--time-stamp | --time* | -t )
+   echo "$timestamp" ; exit ;;
+--version | -v )
+   echo "$version" ; exit ;;
+--help | --h* | -h )
+   echo "$usage"; exit ;;
+-- ) # Stop option processing
+   shift; break ;;
+- )# Use stdin as input.
+   break ;;
+-* )
+   echo "$me: invalid option $1$help"
+   exit 1 ;;
+
+*local*)
+   # First pass through any local machine types.
+   echo $1
+   exit ;;
+
+* )
+   break ;;
+  esac
+done
+
+case $# in
+ 0) echo "$me: missing argument$help" >&2
+exit 1;;
+ 1) ;;
+ *) echo "$me: too many arguments$help" >&2
+exit 1;;
+esac
+
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
+# Here we must recognize all the valid KERNEL-OS combinations.
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+case $maybe_os in
+  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | 
kfreebsd*-gnu* | \
+  knetbsd*-gnu* | netbsd*-gnu* | \
+  kopensolaris*-gnu* | \
+  storm-chaos* | os2-emx* | rtmk-nova*)
+os=-$maybe_os
+basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+;;
+  android-linux)
+os=-linux-android
+basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
+;;
+  *)
+basic_machine=`echo $1 | sed 's/-[^-]*$//'`
+if [ $basic_machine != $1 ]
+then os=`echo $1 | sed 's/.*-/-/'`
+else os=; f

[03/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/XMLinfo.html
--
diff --git a/thirdparty/libxml2/doc/XMLinfo.html 
b/thirdparty/libxml2/doc/XMLinfo.html
new file mode 100644
index 000..44a7b36
--- /dev/null
+++ b/thirdparty/libxml2/doc/XMLinfo.html
@@ -0,0 +1,35 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+XMLhttp://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of 
GnomeXML<
 /tr>Main MenuHomeReference ManualIntroductionFAQDeveloper MenuReporting bugs and g
 etting helpHow to helpDownloadsReleasesXMLXSLTValidation & 
DTDsEncodings supportCatalog supportNamespacesContributionsCode ExamplesAPI MenuXML 
GuidelinesRecent 
ChangesRelated linkshttp://mail.gnome.org/
 archives/xml/">Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FTPhttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sou
 rceforge.net/">Tcl bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
Trackerhttp://www.w3.org/TR/REC-xml";>XML is a standard for
+markup-based structured documents. Here is an 
example XML
+document:
+
+  
+   Welcome to Gnome
+  
+  
+   The Linux adventure
+   

bla bla bla ...

+ +

...

+
+
The first line specifies that it is an XML document and gives useful +information about its encoding. Then the rest of the document is a text +format whose structure is specified by tags between brackets. Each +tag opened has to be closed. XML is pedantic about this. However, if +a tag is empty (no content), a single tag can serve as both the opening and +closing tag if it ends with /> rather than with +>. Note that, for example, the image tag has no content (just +an attribute) and is closed by ending the tag with />.XML can be applied successfully to a wide range of tasks, ranging from +long term structured document maintenance (where it follows the steps of +SGML) to simple data encoding mechanisms like configuration file formatting +(glade), spreadsheets (gnumeric), or even shorter lived documents such as +WebDAV where it is used to encode remote calls between a client and a +server.Daniel Veillard http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/XSLT.html -- diff --git a/thirdparty/libxml2/doc/XSLT.html b/thirdparty/libxml2/doc/XSLT.html new file mode 100644 index 000..264a677 --- /dev/null +++ b/thirdparty/libxml2/doc/XSLT.html @@ -0,0 +1,13 @@ + +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> +http://www.w3.org/1999/xhtml";> +TD {font-family: Verdana,Arial,Helvetica} +BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; margin-right: 0em} +H1 {font-family: Verdana,Arial,Helvetica} +H2 {font-family: Verdana,Arial,Helvetica} +H3 {font-family: Verdana,Arial,Helvetica} +A:link, A:visited, A:active { text-decoration: underline } +XSLThttp://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeXSLTalign="center">cellpadding="2" width="100%">bgcolor="#8b7765">width="100%" bgcolor="#00">cellspacing="1" cellpadding="3">align="center">Main Menubgcolor="#fffacd">enctype="application/x-www-form-urlencoded" method="get">type="text" size="20" value="" />value="Search ..." />Homehref="html/index.html">Reference Manualhref="intro.html">Introductionhref="FAQ.html">FAQstyle="font-weight:bold">Developer Menuhref="bugs.html">Reporting bugs and getting helpHow to helpDownloadsReleasesXMLXSLTValidation & DTDsEncodings supportCatalog supportNamespacesContributionsCode ExamplesAPI MenuXML GuidelinesRecent ChangesRelated

[56/56] [abbrv] nifi-minifi-cpp git commit: MINIFI-6: Add Site2Site Adjust README

2016-08-02 Thread aldrin
MINIFI-6: Add Site2Site
Adjust README


Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/e170f7aa
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/e170f7aa
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/e170f7aa

Branch: refs/heads/master
Commit: e170f7aa47919ac8deb3a9df5b6e98f0e15754cc
Parents: 7956696
Author: Bin Qiu 
Authored: Thu Jul 14 09:13:34 2016 -0700
Committer: Aldrin Piri 
Committed: Tue Aug 2 11:37:42 2016 -0400

--
 Makefile |4 +-
 README.md|   56 +-
 conf/flow.xml|  215 -
 conf/flowServer.xml  |  130 +++
 conf/flow_Site2SiteServer.xml|  140 +++
 conf/nifi.properties |6 +
 inc/Exception.h  |2 +
 inc/FlowControlProtocol.h|5 +
 inc/FlowController.h |   11 +
 inc/ProcessGroup.h   |   42 +
 inc/RealTimeDataCollector.h  |  131 +++
 inc/RemoteProcessorGroupPort.h   |   96 +++
 inc/Site2SiteClientProtocol.h|  633 ++
 inc/Site2SitePeer.h  |  359 
 inc/TimeUtil.h   |2 +-
 main/MiNiFiMain.cpp  |2 +-
 src/FlowControlProtocol.cpp  |2 +
 src/FlowController.cpp   |  223 -
 src/GenerateFlowFile.cpp |1 +
 src/LogAttribute.cpp |5 +-
 src/ProcessGroup.cpp |3 +
 src/ProcessSession.cpp   |   22 +-
 src/RealTimeDataCollector.cpp|  482 +++
 src/RemoteProcessorGroupPort.cpp |   99 +++
 src/Site2SiteClientProtocol.cpp  | 1313 +
 src/Site2SitePeer.cpp|  434 ++
 target/conf/flow.xml |  131 ++-
 target/conf/flowServer.xml   |  130 +++
 target/conf/flow_Site2SiteServer.xml |  140 +++
 target/conf/nifi.properties  |2 +-
 thirdparty/uuid/tst_uuid |  Bin 191032 -> 29660 bytes
 31 files changed, 4753 insertions(+), 68 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/e170f7aa/Makefile
--
diff --git a/Makefile b/Makefile
index 3128422..963f473 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ LDDIRECTORY=-L./build -L./thirdparty/uuid 
-L./thirdparty/libxml2/.libs/ #-L/usr/
 #LDFLAGS=-lminifi -lxml2 -lleveldb -pthread -luuid
 LDFLAGS=-static -lminifi -lxml2 -pthread -luuid
 else ifeq ($(ARCH), linux)
-CFLAGS=-O0 -fexceptions -fpermissive -Wno-write-strings -std=c++11 -fPIC -Wall 
-g -Wno-unused-private-field
+CFLAGS=-O0 -fexceptions -fpermissive -Wno-write-strings -std=c++11 -fPIC -Wall 
-g
 INCLUDES=-I./inc -I./src -I./thirdparty -I./test 
-I./thirdparty/libxml2/include #-I/usr/local/opt/leveldb/include/
 LDDIRECTORY=-L./build -L./thirdparty/uuid -L./thirdparty/libxml2/.libs/ 
#-L/usr/local/opt/leveldb/lib
 #LDFLAGS=-lminifi -lxml2 -lleveldb -pthread -luuid
@@ -37,7 +37,7 @@ else
 CFLAGS=-O0 -fexceptions -fpermissive -Wno-write-strings -std=c++11 -fPIC -Wall 
-g -Wno-unused-private-field
 INCLUDES=-I./inc -I./src -I./test -I/usr/include/libxml2 
#-I/usr/local/opt/leveldb/include/
 LDDIRECTORY=-L./build #-L/usr/local/opt/leveldb/out-static/
-LDFLAGS=-lminifi -lxml2 -pthread -luuid#--llevedb
+LDFLAGS=-lminifi -lxml2 -pthread -luuid #--llevedb
 endif
 
 

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/e170f7aa/README.md
--
diff --git a/README.md b/README.md
index d575cb1..6c4137e 100644
--- a/README.md
+++ b/README.md
@@ -37,8 +37,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 
or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 ## Dependencies
-   * [LevelDB](https://github.com/google/leveldb) - tested with v1.18
- MAC: brew install leveldb
* gcc - 4.8.4
* g++ - 4.8.4
* [libxml2](http://xmlsoft.org/) - tested with 2.9.1
@@ -48,26 +46,58 @@ limitations under the License.
 
 ## Build instructions
 
-Build application
+Build application, it will build minifi exe under build and copy over to 
target directory
  
-   $ make clean
$ make
 
-Build tests
-   
-   $ make tests
-
 Clean 

$ make clean
 
-
 ## Running 
 
 Running application
-The nifi flow.xml and nifi.properties are in target/conf
-   $ ./target/minifi
 
-Runnning tests 
+   $ ./target/minifi
 
-   $ ./build/FlowFileRecordTest 
+The Native MiNiFi example flow.xml is in target/conf
+It show cases a Native MiNiFi client which can generate flowfile, log flowfile 
and push it to the NiFi server.
+Also it can pull flowf

[39/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/TODO
--
diff --git a/thirdparty/libxml2/TODO b/thirdparty/libxml2/TODO
new file mode 100644
index 000..9c32224
--- /dev/null
+++ b/thirdparty/libxml2/TODO
@@ -0,0 +1,278 @@
+124907 HTML parse buffer problem when parsing larse in-memory docs
+124110 DTD validation && wrong namespace
+123564 xmllint --html --format
+
+   TODO for the XML parser and stuff:
+  ==
+
+  $Id$
+
+this tend to be outdated :-\ ...
+
+DOCS:
+=
+
+- use case of using XInclude to load for example a description.
+  order document + product base -(XSLT)-> quote with XIncludes 
+   |
+  HTML output with description of parts <---(XSLT)--
+
+TODO:
+=
+- XInclude at the SAX level (libSRVG)
+- fix the C code prototype to bring back doc/libxml-undocumented.txt
+  to a reasonable level
+- Computation of base when HTTP redirect occurs, might affect HTTP
+  interfaces.
+- Computation of base in XInclude. Relativization of URIs.
+- listing all attributes in a node.
+- Better checking of external parsed entities TAG 1234
+- Go through erratas and do the cleanup.
+  http://www.w3.org/XML/xml-19980210-errata ... started ...
+- jamesh suggestion: SAX like functions to save a document ie. call a
+  function to open a new element with given attributes, write character
+  data, close last element, etc
+  + inversted SAX, initial patch in April 2002 archives.
+- htmlParseDoc has parameter encoding which is not used.
+  Function htmlCreateDocParserCtxt ignore it.
+- fix realloc() usage.
+- Stricten the UTF8 conformance (Martin Duerst):
+  http://www.w3.org/2001/06/utf-8-test/.
+  The bad files are in http://www.w3.org/2001/06/utf-8-wrong/.
+- xml:id normalized value
+
+TODO:
+=
+
+- move all string manipulation functions (xmlStrdup, xmlStrlen, etc.) to
+  global.c. Bjorn noted that the following files depends on parser.o solely
+  because of these string functions: entities.o, global.o, hash.o, tree.o,
+  xmlIO.o, and xpath.o.
+
+- Optimization of tag strings allocation ?
+
+- maintain coherency of namespace when doing cut'n paste operations
+  => the functions are coded, but need testing
+
+- function to rebuild the ID table
+- functions to rebuild the DTD hash tables (after DTD changes).
+   
+
+EXTENSIONS:
+===
+
+- Tools to produce man pages from the SGML docs.
+
+- Add Xpointer recognition/API
+
+- Add Xlink recognition/API
+  => started adding an xlink.[ch] with a unified API for XML and HTML.
+ it's crap :-(
+
+- Implement XSchemas
+  => Really need to be done 
+  - datatype are complete, but structure support is very limited.
+
+- extend the shell with:
+   - edit
+   - load/save
+   - mv (yum, yum, but it's harder because directories are ordered in
+ our case, mvup and mvdown would be required)
+
+
+Done:
+=
+
+- Add HTML validation using the XHTML DTD
+  - problem: do we want to keep and maintain the code for handling
+DTD/System ID cache directly in libxml ?
+  => not really done that way, but there are new APIs to check elements
+ or attributes. Otherwise XHTML validation directly ...
+
+- XML Schemas datatypes except Base64 and BinHex
+
+- Relax NG validation
+
+- XmlTextReader streaming API + validation
+
+- Add a DTD cache prefilled with xhtml DTDs and entities and a program to
+  manage them -> like the /usr/bin/install-catalog from SGML
+  right place seems $datadir/xmldtds
+  Maybe this is better left to user apps
+  => use a catalog instead , and xhtml1-dtd package
+
+- Add output to XHTML
+  => XML serializer automatically recognize the DTd and apply the specific
+ rules.
+
+- Fix output of 
+
+- compliance to XML-Namespace checking, see section 6 of
+  http://www.w3.org/TR/REC-xml-names/
+
+- Correct standalone checking/emitting (hard)
+  2.9 Standalone Document Declaration
+
+- Implement OASIS XML Catalog support
+  http://www.oasis-open.org/committees/entity/
+
+- Get OASIS testsuite to a more friendly result, check all the results
+  once stable. the check-xml-test-suite.py script does this
+
+- Implement XSLT
+  => libxslt
+
+- Finish XPath
+  => attributes addressing troubles
+  => defaulted attributes handling
+  => namespace axis ?
+  done as XSLT got debugged
+
+- bug reported by Michael Meallin on validation problems
+  => Actually means I need to add support (and warn) for non-deterministic
+ content model.
+- Handle undefined namespaces in entity contents better ... at least
+  issue a warning
+- DOM needs
+  int xmlPruneProp(xmlNodePtr node, xmlAtttrPtr attr);
+  => done it's actually xmlRemoveProp xmlUnsetProp xmlUnsetNsProp
+
+- HTML: handling of Script and style data elements, need special code in
+  the parser and saving functions (handling of < > " ' ...):
+  http://www.w3.org/TR/html4/types.html#type-script
+  A

[55/56] [abbrv] nifi-minifi-cpp git commit: MINIFI-6: Add Site2Site Adjust README

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/e170f7aa/src/RealTimeDataCollector.cpp
--
diff --git a/src/RealTimeDataCollector.cpp b/src/RealTimeDataCollector.cpp
new file mode 100644
index 000..c7118ff
--- /dev/null
+++ b/src/RealTimeDataCollector.cpp
@@ -0,0 +1,482 @@
+/**
+ * @file RealTimeDataCollector.cpp
+ * RealTimeDataCollector class implementation
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#include "RealTimeDataCollector.h"
+#include "ProcessContext.h"
+#include "ProcessSession.h"
+
+const std::string 
RealTimeDataCollector::ProcessorName("RealTimeDataCollector");
+Property RealTimeDataCollector::FILENAME("File Name", "File Name for the real 
time processor to process", "data.osp");
+Property RealTimeDataCollector::REALTIMESERVERNAME("Real Time Server Name", 
"Real Time Server Name", "localhost");
+Property RealTimeDataCollector::REALTIMESERVERPORT("Real Time Server Port", 
"Real Time Server Port", "1");
+Property RealTimeDataCollector::BATCHSERVERNAME("Batch Server Name", "Batch 
Server Name", "localhost");
+Property RealTimeDataCollector::BATCHSERVERPORT("Batch Server Port", "Batch 
Server Port", "10001");
+Property RealTimeDataCollector::ITERATION("Iteration",
+   "If true, sample osp file will be iterated", "true");
+Property RealTimeDataCollector::REALTIMEMSGID("Real Time Message ID", "Real 
Time Message ID", "41");
+Property RealTimeDataCollector::BATCHMSGID("Batch Message ID", "Batch Message 
ID", "172, 30, 48");
+Property RealTimeDataCollector::REALTIMEINTERVAL("Real Time Interval", "Real 
Time Data Collection Interval in msec", "10 ms");
+Property RealTimeDataCollector::BATCHINTERVAL("Batch Time Interval", "Batch 
Processing Interval in msec", "100 ms");
+Property RealTimeDataCollector::BATCHMAXBUFFERSIZE("Batch Max Buffer Size", 
"Batch Buffer Maximum size in bytes", "262144");
+Relationship RealTimeDataCollector::Success("success", "success operational on 
the flow record");
+
+void RealTimeDataCollector::initialize()
+{
+   //! Set the supported properties
+   std::set properties;
+   properties.insert(FILENAME);
+   properties.insert(REALTIMESERVERNAME);
+   properties.insert(REALTIMESERVERPORT);
+   properties.insert(BATCHSERVERNAME);
+   properties.insert(BATCHSERVERPORT);
+   properties.insert(ITERATION);
+   properties.insert(REALTIMEMSGID);
+   properties.insert(BATCHMSGID);
+   properties.insert(REALTIMEINTERVAL);
+   properties.insert(BATCHINTERVAL);
+   properties.insert(BATCHMAXBUFFERSIZE);
+
+   setSupportedProperties(properties);
+   //! Set the supported relationships
+   std::set relationships;
+   relationships.insert(Success);
+   setSupportedRelationships(relationships);
+
+}
+
+int RealTimeDataCollector::connectServer(const char *host, uint16_t port)
+{
+   in_addr_t addr;
+   int sock = 0;
+   struct hostent *h;
+#ifdef __MACH__
+   h = gethostbyname(host);
+#else
+   char buf[1024];
+   struct hostent he;
+   int hh_errno;
+   gethostbyname_r(host, &he, buf, sizeof(buf), &h, &hh_errno);
+#endif
+   memcpy((char *) &addr, h->h_addr_list[0], h->h_length);
+   sock = socket(AF_INET, SOCK_STREAM, 0);
+   if (sock < 0)
+   {
+   _logger->log_error("Could not create socket to hostName %s", 
host);
+   return 0;
+   }
+
+#ifndef __MACH__
+   int opt = 1;
+   bool nagle_off = true;
+
+   if (nagle_off)
+   {
+   if (setsockopt(sock, SOL_TCP, TCP_NODELAY, (void *)&opt, 
sizeof(opt)) < 0)
+   {
+   _logger->log_error("setsockopt() TCP_NODELAY failed");
+   close(sock);
+   return 0;
+   }
+   if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,
+   (char *)&opt, sizeof(opt)) < 0)
+   {
+   _logger->log_error("setsockopt() SO_REUSEADDR failed");
+   close(sock);
+   

[14/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk25.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk25.html 
b/thirdparty/libxml2/doc/APIchunk25.html
new file mode 100644
index 000..dec65ba
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk25.html
@@ -0,0 +1,451 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index t-t for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex t-t for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter t:tag_htmlElemDesc
+htmlAutoCloseTag
+htmlIsAutoClosed
+htmlTagLookup
+startElement
+startElementSAXFunc
+xmlNodeSetName
+xmlParseEndTag
+xmlParseStartTag
+xmlSAX2StartElement
+xmlTextWriterFullEndElement
+taggedisStandalone
+isStandaloneSAXFunc
+xmlNewNsProp
+xmlNewNsPropEatName
+xmlSAX2IsStandalone
+tagshtmlAutoCloseTag
+htmlGetMetaEncoding
+htmlHandleOmittedElem
+htmlInitAutoClose
+htmlIsAutoClosed
+htmlSetMetaEncoding
+takexmlLockLibrary
+takenxmlDocSetRootElement
+takesxmlSchemaValidateFacetWhtsp
+tatkesxmlExpExpDerive
+tellXML_COMPLETE_ATTRS
+XML_DETECT_IDS
+XML_SKIP_IDS
+_htmlElemDesc
+tellsxmlTextReaderPreserve
+xmlTextReaderPreservePattern
+temporary_xmlValidCtxt
+_xmlXPathContext
+xmlIOHTTPOpenW
+terminalxmlRegExecErrInfo
+xmlRegExecNextValues
+terminalsxmlExpParse
+terminatedhtmlCtxtReadDoc
+htmlReadDoc
+startElement
+startElementSAXFunc
+xmlBufferCCat
+xmlBufferCat
+xmlCtxtReadDoc
+xmlDocDumpMemory
+xmlExpParse
+xmlGetNsList
+xmlOutputBufferWriteEscape
+xmlOutputBufferWriteString
+xmlParseBalancedChunkMemory
+xmlParseBalancedChunkMemoryRecover
+xmlReadDoc
+xmlReaderForDoc
+xmlReaderNewDoc
+xmlSAX2StartElement
+xmlStrdupFunc
+terminationxmlStrcat
+xmlStrdup
+termsxmlBuildRelativeURI
+testxmlParserHandleReference
+xmlXPathEqualValues
+xmlXPathNotEqualValues
+tested_xmlParserInput
+xmlDOMWrapAdoptNode
+xmlDOMWrapReconcileNamespaces
+xmlDOMWrapRemoveNode
+testingxmlRegexpCompile
+text-xmlStreamPushNode
+xmlStreamWantsAnyNode
+text-nodexmlIsBlankNode
+textDecl?xmlParseExternalSubset
+theirxmlCharEncOutFunc
+xmlEncodeEntities
+xmlEncodeEntitiesReentrant
+xmlLoadCatalogs
+xmlNewTextChild
+xmlNodeListGetRawString
+xmlNodeListGetString
+xmlParseEntityRef
+xmlUnlinkNode
+xmlXPathAddValues
+xmlXPathDivValues
+xmlXPathIdFunction
+xmlXPathModValues
+xmlXPathMultValues
+xmlXPathSubValues
+xmlXPathValueFlipSign
+themxmlExpGetLanguage
+xmlExpGetStart
+xmlExpNewOr
+xmlExpNewSeq
+xmlNanoFTPRead
+xmlNanoHTTPRead
+xmlParseAttValue
+xmlParseAttributeType
+xmlRegExecErrInfo
+xmlRegExecNextValues
+these_htmlElemDesc
+xmlCheckUTF8
+xmlParseSDDecl
+they_htmlElemDesc
+xmlBufferDetach
+xmlCreatePushParserCtxt
+xmlStrEqual
+xmlStrQEqual
+xmlStrcat
+xmlStrdup
+xmlUnlinkNode
+thirdxmlHashAddEntry3
+xmlHashLookup3
+xmlHashQLookup3
+xmlHashRemoveEntry3
+xmlHashScan3
+xmlHashScanFull3
+xmlHashScannerFull
+xmlHashUpdateEntry3
+xmlXPathSubstringFunction
+xmlXPathTranslateFunction
+this?_xmlSchemaType
+thosexmlCheckLanguageID
+xmlKeepBlanksDefault
+xmlParseSDDecl
+xmlSchemaValidateSetLocator
+xmlSear

[10/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk5.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk5.html 
b/thirdparty/libxml2/doc/APIchunk5.html
new file mode 100644
index 000..da60d1a
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk5.html
@@ -0,0 +1,293 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index O-P for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex O-P for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter O:OBSOLETE:xmlHandleEntity
+ONCE_xmlElementContent
+OPT_xmlElementContent
+OUTxmlNanoHTTPMethod
+xmlNanoHTTPMethodRedir
+xmlRegExecErrInfo
+xmlRegExecNextValues
+OUT:htmlDocDumpMemory
+htmlDocDumpMemoryFormat
+xmlDocDumpFormatMemory
+xmlDocDumpMemory
+ObsoleteXML_SCHEMAS_ANYATTR_LAX
+XML_SCHEMAS_ANYATTR_SKIP
+XML_SCHEMAS_ANYATTR_STRICT
+XML_SCHEMAS_ELEM_NSDEFAULT
+_xmlSchema
+_xmlSchemaElement
+_xmlSchemaFacet
+_xmlSchemaType
+ObtainxmlTextReaderLocatorBaseURI
+xmlTextReaderLocatorLineNumber
+OghamxmlUCSIsOgham
+OldItalicxmlUCSIsOldItalic
+OneINPUT_CHUNK
+xmlCleanupParser
+xmlParseAttributeType
+xmlSetGenericErrorFunc
+xmlValidateElementDecl
+OpenxmlIOHTTPOpenW
+OpensxmlModuleOpen
+OpticalCharacterRecognitionxmlUCSIsOpticalCharacterRecognition
+Optional_htmlElemDesc
+OriyaxmlUCSIsOriya
+OsmanyaxmlUCSIsOsmanya
+OtherxmlXPathContextSetCache
+OtherwisexmlStreamPush
+xmlStreamPushAttr
+OutputxmlOutputCloseCallback
+xmlOutputMatchCallback
+xmlOutputOpenCallback
+xmlOutputWriteCallback
+OutputBufferCreateFilenameFuncxmlOutputBufferCreateFilenameDefault
+OverridexmlGcMemSetup
+xmlMemSetup
+Letter P:P32xmlValidCtxtNormalizeAttributeValue
+PCDATA_htmlElemDesc
+_xmlElementContent
+xmlParseElementMixedContentDecl
+PEDeclxmlParseEntityDecl
+PEDefxmlParseEntityDecl
+PEReferencexmlDecodeEntities
+xmlParseDocTypeDecl
+xmlParseEntityValue
+xmlParseExternalSubset
+xmlParsePEReference
+xmlParserHandlePEReference
+xmlParserHandleReference
+xmlStringDecodeEntities
+xmlStringLenDecodeEntities
+PEsxmlParseMarkupDecl
+PITargetxmlParsePI
+xmlParsePITarget
+PIsxmlDocGetRootElement
+xmlDocSetRootElement
+PLUS_xmlElementContent
+POSTxmlIOHTTPOpenW
+xmlRegisterHTTPPostCallbacks
+PSVI_xmlAttr
+_xmlDoc
+_xmlNode
+PUBLIC_xmlDtd
+_xmlEntity
+xmlCreateEntityParserCtxt
+xmlCreateIntSubset
+xmlParseExternalID
+xmlParseNotationDecl
+PUTxmlRegisterHTTPPostCallbacks
+ParameterxmlParserHandlePEReference
+Parameter-entityxmlParseElementChildrenContentDecl
+xmlParseMarkupDecl
+xmlParsePEReference
+xmlParserHandlePEReference
+ParsedocbParseChunk
+htmlParseChunk
+htmlSAXParseDoc
+xmlParseBalancedChunkMemory
+xmlParseBalancedChunkMemoryRecover
+xmlParseCDSect
+xmlParseChunk
+xmlParseContent
+xmlParseCtxtExternalEntity
+xmlParseDefaultDecl
+xmlParseExternalEntity
+xmlParseExternalID
+xmlParseInNodeContext
+xmlParseQuotedString
+xmlParseURI
+xmlParseURIRaw
+xmlParseURIReference
+xmlStringGetNodeList
+xmlStringLenGetNodeList
+xmlXPathEvalExpr
+ParsedxmlParseEntityRef
+xmlParserHandleReference
+ParserInputBufferCreateFilenameFu

[47/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/HTMLparser.c
--
diff --git a/thirdparty/libxml2/HTMLparser.c b/thirdparty/libxml2/HTMLparser.c
new file mode 100644
index 000..b729197
--- /dev/null
+++ b/thirdparty/libxml2/HTMLparser.c
@@ -0,0 +1,7121 @@
+/*
+ * HTMLparser.c : an HTML 4.0 non-verifying parser
+ *
+ * See Copyright for the status of this software.
+ *
+ * dan...@veillard.com
+ */
+
+#define IN_LIBXML
+#include "libxml.h"
+#ifdef LIBXML_HTML_ENABLED
+
+#include 
+#ifdef HAVE_CTYPE_H
+#include 
+#endif
+#ifdef HAVE_STDLIB_H
+#include 
+#endif
+#ifdef HAVE_SYS_STAT_H
+#include 
+#endif
+#ifdef HAVE_FCNTL_H
+#include 
+#endif
+#ifdef HAVE_UNISTD_H
+#include 
+#endif
+#ifdef HAVE_ZLIB_H
+#include 
+#endif
+
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#include "buf.h"
+#include "enc.h"
+
+#define HTML_MAX_NAMELEN 1000
+#define HTML_PARSER_BIG_BUFFER_SIZE 1000
+#define HTML_PARSER_BUFFER_SIZE 100
+
+/* #define DEBUG */
+/* #define DEBUG_PUSH */
+
+static int htmlOmittedDefaultValue = 1;
+
+xmlChar * htmlDecodeEntities(htmlParserCtxtPtr ctxt, int len,
+xmlChar end, xmlChar  end2, xmlChar end3);
+static void htmlParseComment(htmlParserCtxtPtr ctxt);
+
+/
+ * *
+ * Some factorized error routines  *
+ * *
+ /
+
+/**
+ * htmlErrMemory:
+ * @ctxt:  an HTML parser context
+ * @extra:  extra informations
+ *
+ * Handle a redefinition of attribute error
+ */
+static void
+htmlErrMemory(xmlParserCtxtPtr ctxt, const char *extra)
+{
+if ((ctxt != NULL) && (ctxt->disableSAX != 0) &&
+(ctxt->instate == XML_PARSER_EOF))
+   return;
+if (ctxt != NULL) {
+ctxt->errNo = XML_ERR_NO_MEMORY;
+ctxt->instate = XML_PARSER_EOF;
+ctxt->disableSAX = 1;
+}
+if (extra)
+__xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_PARSER,
+XML_ERR_NO_MEMORY, XML_ERR_FATAL, NULL, 0, extra,
+NULL, NULL, 0, 0,
+"Memory allocation failed : %s\n", extra);
+else
+__xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_PARSER,
+XML_ERR_NO_MEMORY, XML_ERR_FATAL, NULL, 0, NULL,
+NULL, NULL, 0, 0, "Memory allocation failed\n");
+}
+
+/**
+ * htmlParseErr:
+ * @ctxt:  an HTML parser context
+ * @error:  the error number
+ * @msg:  the error message
+ * @str1:  string infor
+ * @str2:  string infor
+ *
+ * Handle a fatal parser error, i.e. violating Well-Formedness constraints
+ */
+static void
+htmlParseErr(xmlParserCtxtPtr ctxt, xmlParserErrors error,
+ const char *msg, const xmlChar *str1, const xmlChar *str2)
+{
+if ((ctxt != NULL) && (ctxt->disableSAX != 0) &&
+(ctxt->instate == XML_PARSER_EOF))
+   return;
+if (ctxt != NULL)
+   ctxt->errNo = error;
+__xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_HTML, error,
+XML_ERR_ERROR, NULL, 0,
+   (const char *) str1, (const char *) str2,
+   NULL, 0, 0,
+   msg, str1, str2);
+if (ctxt != NULL)
+   ctxt->wellFormed = 0;
+}
+
+/**
+ * htmlParseErrInt:
+ * @ctxt:  an HTML parser context
+ * @error:  the error number
+ * @msg:  the error message
+ * @val:  integer info
+ *
+ * Handle a fatal parser error, i.e. violating Well-Formedness constraints
+ */
+static void
+htmlParseErrInt(xmlParserCtxtPtr ctxt, xmlParserErrors error,
+ const char *msg, int val)
+{
+if ((ctxt != NULL) && (ctxt->disableSAX != 0) &&
+(ctxt->instate == XML_PARSER_EOF))
+   return;
+if (ctxt != NULL)
+   ctxt->errNo = error;
+__xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_HTML, error,
+XML_ERR_ERROR, NULL, 0, NULL, NULL,
+   NULL, val, 0, msg, val);
+if (ctxt != NULL)
+   ctxt->wellFormed = 0;
+}
+
+/
+ * *
+ * Parser stacks related functions and macros  *
+ * *
+ /
+
+/**
+ * htmlnamePush:
+ * @ctxt:  an HTML parser context
+ * @value:  the element name
+ *
+ * Pushes a new element name on top of the name stack
+ *
+ * Returns 0 in case of error, the index in the stack otherwise
+ */
+static i

[13/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk27.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk27.html 
b/thirdparty/libxml2/doc/APIchunk27.html
new file mode 100644
index 000..cabaa27
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk27.html
@@ -0,0 +1,349 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index w-w for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex w-w for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter w:walkerxmlListReverseWalk
+xmlListWalk
+xmlListWalker
+walking_xmlXPathContext
+_xmlXPathParserContext
+xmlListWalker
+wantxmlCharEncFirstLine
+xmlCharEncInFunc
+xmlCharEncOutFunc
+xmlDOMWrapAdoptNode
+warnxmlCheckVersion
+warningXML_CAST_FPTR
+_xmlValidCtxt
+docbCreatePushParserCtxt
+htmlCreatePushParserCtxt
+initxmlDefaultSAXHandler
+warningSAXFunc
+xmlCreatePushParserCtxt
+xmlEncodeEntities
+xmlParserValidityWarning
+xmlParserWarning
+xmlRelaxNGGetParserErrors
+xmlRelaxNGGetValidErrors
+xmlRelaxNGSetParserErrors
+xmlRelaxNGSetValidErrors
+xmlRelaxNGValidityWarningFunc
+xmlSAX2InitDefaultSAXHandler
+xmlSchemaGetParserErrors
+xmlSchemaGetValidErrors
+xmlSchemaSetParserErrors
+xmlSchemaSetValidErrors
+xmlSchemaValidityWarningFunc
+xmlSchematronValidityWarningFunc
+xmlSearchNs
+xmlTextReaderSetErrorHandler
+xmlTextReaderSetStructuredErrorHandler
+xmlValidityWarningFunc
+warnings_xmlParserCtxt
+xmlPedanticParserDefault
+xmlTextReaderSetErrorHandler
+xmlTextReaderSetStructuredErrorHandler
+wayHTML_COMMENT_NODE
+HTML_ENTITY_REF_NODE
+HTML_PI_NODE
+HTML_PRESERVE_NODE
+HTML_TEXT_NODE
+_xmlDoc
+xmlBoolToText
+xmlKeepBlanksDefault
+xmlNewGlobalNs
+ways:xmlValidGetValidElements
+well_xmlParserCtxt
+htmlSAXParseDoc
+htmlSAXParseFile
+startElementNsSAX2Func
+xmlCopyDoc
+xmlParseBalancedChunkMemory
+xmlParseBalancedChunkMemoryRecover
+xmlParseCtxtExternalEntity
+xmlParseExternalEntity
+xmlParseInNodeContext
+xmlSAX2StartElementNs
+xmlSchemaNewStringValue
+well-balancedxmlParseBalancedChunkMemory
+xmlParseBalancedChunkMemoryRecover
+xmlParseInNodeContext
+well-formedxmlParseCtxtExternalEntity
+xmlParseEntityRef
+xmlParseExtParsedEnt
+xmlParseExternalEntity
+xmlParserHandleReference
+xmlValidateDtdFinal
+well-formednessxmlCtxtResetLastError
+xmlParseEntityRef
+xmlResetLastError
+wellformedxmlDOMWrapAdoptNode
+xmlDOMWrapCloneNode
+xmlDOMWrapReconcileNamespaces
+xmlParseFile
+were_xmlParserCtxt
+xmlCheckLanguageID
+xmlKeepBlanksDefault
+xmlMemShow
+xmlSchemaIsValid
+xmlXIncludeProcess
+xmlXIncludeProcessFlags
+xmlXIncludeProcessFlagsData
+xmlXIncludeProcessNode
+xmlXIncludeProcessTree
+xmlXIncludeProcessTreeFlags
+xmlXIncludeProcessTreeFlagsData
+wether_xmlNodeSet
+whatxmlCatalogGetDefaults
+xmlCatalogSetDefaults
+xmlParseNamespace
+xmlSchemaValidityLocatorFunc
+xmlTextReaderGetRemainder
+xmlTextWriterWriteRawLen
+where_htmlElemDesc
+xmlCopyProp
+xmlCopyPropList
+xmlDOMWrapAdoptNode
+xmlDOMWrapCloneNode
+xmlDOMWrapReconcileNamespaces
+xmlExpGetLanguage
+xmlExpGetStart
+xmlFileRead
+xmlIOFTPR

[09/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk7.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk7.html 
b/thirdparty/libxml2/doc/APIchunk7.html
new file mode 100644
index 000..3f46f99
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk7.html
@@ -0,0 +1,330 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index S-S for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex S-S for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter S:SAX1LIBXML_SAX1_ENABLED
+SAX2XML_SAX2_MAGIC
+endElementNsSAX2Func
+initdocbDefaultSAXHandler
+inithtmlDefaultSAXHandler
+initxmlDefaultSAXHandler
+startElementNsSAX2Func
+xmlDefaultSAXHandlerInit
+xmlSAX2EndElementNs
+xmlSAX2InitDefaultSAXHandler
+xmlSAX2InitDocbDefaultSAXHandler
+xmlSAX2InitHtmlDefaultSAXHandler
+xmlSAX2StartElementNs
+xmlSchemaValidateStream
+SAX::substituteEntitiesxmlSubstituteEntitiesDefault
+SDDeclxmlParseSDDecl
+SDDecl?xmlParseXMLDecl
+SEQ_xmlElementContent
+SGMLLIBXML_DOCB_ENABLED
+docbCreateFileParserCtxt
+docbCreatePushParserCtxt
+docbEncodeEntities
+docbFreeParserCtxt
+docbParseDoc
+docbParseDocument
+docbParseFile
+docbSAXParseDoc
+docbSAXParseFile
+xmlCatalogConvert
+xmlCatalogIsEmpty
+xmlConvertSGMLCatalog
+xmlLoadACatalog
+xmlLoadCatalog
+xmlLoadSGMLSuperCatalog
+xmlNewCatalog
+xmlParseComment
+SGMLSOURCEgetPublicId
+xmlSAX2GetPublicId
+SITExmlNanoFTPProxy
+STaghtmlParseElement
+xmlParseElement
+xmlParseStartTag
+SYSTEM_xmlDtd
+_xmlEntity
+_xmlParserCtxt
+externalSubset
+externalSubsetSAXFunc
+internalSubset
+internalSubsetSAXFunc
+xmlParseExternalID
+xmlParseNotationDecl
+xmlSAX2ExternalSubset
+xmlSAX2InternalSubset
+SameIS_PUBIDCHAR_CH
+SavexmlCopyError
+xmlSaveDoc
+xmlSaveTree
+xmlSaveUri
+ScanxmlHashCopy
+xmlHashScan
+xmlHashScan3
+xmlHashScanFull
+xmlHashScanFull3
+SchemaxmlSchemaDump
+xmlSchemaFree
+xmlSchemaFreeFacet
+xmlSchemaFreeType
+xmlSchemaGetBuiltInListSimpleTypeItemType
+xmlSchemaGetCanonValue
+xmlSchemaParse
+xmlTextReaderSchemaValidate
+xmlTextReaderSchemaValidateCtxt
+xmlTextReaderSetSchema
+SchemasLIBXML_SCHEMAS_ENABLED
+xmlRegexpCompile
+xmlRelaxNGCleanupTypes
+xmlSchemaCleanupTypes
+xmlSchemaFreeValue
+xmlSchemaGetPredefinedType
+xmlSchemaInitTypes
+xmlSchemaNewDocParserCtxt
+xmlSchemaNewMemParserCtxt
+xmlSchemaNewParserCtxt
+xmlSchemaNewValidCtxt
+SchematronLIBXML_SCHEMATRON_ENABLED
+xmlSchematronFree
+xmlSchematronParse
+xmlSchematronSetValidStructuredErrors
+xmlSchematronValidityErrorFunc
+xmlSchematronValidityWarningFunc
+SchematronsxmlSchematronNewDocParserCtxt
+xmlSchematronNewMemParserCtxt
+xmlSchematronNewParserCtxt
+xmlSchematronNewValidCtxt
+ScripthtmlIsScriptAttribute
+SearchxmlFindCharEncodingHandler
+xmlGetCharEncodingHandler
+xmlGetDtdAttrDesc
+xmlGetDtdElementDesc
+xmlGetDtdNotationDesc
+xmlGetDtdQAttrDesc
+xmlGetDtdQElementDesc
+xmlGetID
+xmlGetLastChild
+xmlGetNoNsProp
+xmlGetNsList
+xmlGetNsProp
+xmlGetProp
+xmlHasNsProp
+xmlHasProp
+xmlIsMixedElement
+xmlListReverseSearch
+xmlListSearch
+xmlSearchNs
+xmlSearc

[05/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIsymbols.html
--
diff --git a/thirdparty/libxml2/doc/APIsymbols.html 
b/thirdparty/libxml2/doc/APIsymbols.html
new file mode 100644
index 000..cdde358
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIsymbols.html
@@ -0,0 +1,3587 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+Alphabetic List of Symbols in libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAlphabetic 
List 
 of Symbols in 
libxml2Developer MenuMain MenuReference ManualCode Examp
 lesXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, stylesheetcellspacing="1" cellpadding="3">align="center">API Indexesbgcolor="#fffacd">Alphabetichref="APIconstructors.html">Constructorshref="APIfunctions.html">Functions/Typeshref="APIfiles.html">Moduleshref="APIsymbols.html">Symbolswidth="100%" border="0" cellspacing="1" cellpadding="3">bgcolor="#eecfa1" align="center">Related 
 >linkshref="http://mail.gnome.org/archives/xml/";>Mail archivehref="http://xmlsoft.org/XSLT/";>XSLT libxslthref="http://phd.cs.unibo.it/gdome2/";>DOM gdome2href="http://www.aleksey.com/xmlsec/";>XML-DSig xmlsechref="ftp://xmlsoft.org/";>
 FTPhttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerLetter A:ATTRIBUTE_UNUSED
+Letter B:BAD_CAST
+BASE_BUFFER_SIZE
+Letter C:CAST_TO_BOOLEAN
+CAST_TO_NUMBER
+CAST_TO_STRING
+CHECK_ARITY
+CHECK_ERROR
+CHECK_ERROR0
+CHECK_TYPE
+CHECK_TYPE0
+Letter D:DEBUG_MEMORY
+DEBUG_MEMORY_LOCATION
+Letter H:HTML_COMMENT_NODE
+HTML_DEPRECATED
+HTML_ENTITY_REF_NODE
+HTML_INVALID
+HTML_NA
+HTML_PARSE_COMPACT
+HTML_PARSE_IGNORE_ENC
+HTML_PARSE_NOBLANKS
+HTML_PARSE_NODEFDTD
+HTML_PARSE_NOERROR
+HTML_PARSE_NOIMPLIED
+HTML_PARSE_NONET
+HTML_PARSE_NOWARNING
+HTML_PARSE_PEDANTIC
+HTML_PARSE_RECOVER
+HTML_PI_NODE
+HTML_PRESERVE_NODE
+HTML_REQUIRED
+HTML_TEXT_NODE
+HTML_VALID
+Letter I:INPUT_CHUNK
+INVALID_SOCKET
+IS_ASCII_DIGIT
+IS_ASCII_LETTER
+IS_BASECHAR
+IS_BLANK
+IS_BLANK_CH
+IS_BYTE_CHAR
+IS_CHAR
+IS_CHAR_CH
+IS_COMBINING
+IS_COMBINING_CH
+IS_DIGIT
+IS_DIGIT_CH
+IS_EXTENDER
+IS_EXTENDER_CH
+IS_IDEOGRAPHIC
+IS_LETTER
+IS_LETTER_CH
+IS_PUBIDCHAR
+IS_PUBIDCHAR_CH
+Letter L:LIBXML2_NEW_BUFFER
+LIBXML_ATTR_ALLOC_SIZE
+LIBXML_ATTR_FORMAT
+LIBXML_AUTOMATA_ENABLED
+LIBXML_C14N_ENABLED
+LIBXML_CATALOG_ENABLED
+LIBXML_DEBUG_ENABLED
+LIBXML_DEBUG_RUNTIME
+LIBXML_DLL_IMPORT
+LIBXML_DOCB_ENABLED
+LIBXML_DOTTED_VERSION
+LIBXML_EXPR_ENABLED
+LIBXML_FTP_ENABLED
+LIBXML_HTML_ENABLED
+LIBXML_HTTP_ENABLED
+LIBXML_ICONV_ENABLED
+LIBXML_ICU_ENABLED
+LIBXML_ISO8859X_ENABLED
+LIBXML_LEGACY_ENABLED
+LIBXML_LZMA_ENABLED
+LIBXML_MODULES_ENABLED
+LIBXML_MODULE_EXTENSION
+LIBXML_OUTPUT_ENABLED
+LIBXML_PATTERN_ENABLED
+LIBXML_PUSH_ENABLED
+LIBXML_READER_ENABLED
+LIBXML_REGEXP_ENABLED
+LIBXML_SAX1_ENABLED
+LIBXML_SCHEMAS_ENABLED
+LIBXML_SCHEMATRON_ENABLED
+LIBXML_TEST_VERSION
+LIBXML_THREAD_ALLOC_ENABLED
+LIBXML_THREAD_ENABLED
+LIBXML_TREE_ENABLED
+LIBXML_UNICODE_ENABLED
+LIBXML_VALID_ENABLED
+LIBXML_VERSION
+LIBXML_VERSION_EXTRA
+LIBXML_VERSION_STRING
+LIBXML_WRITER_ENABLED
+LIBXML_XINCLUDE_ENABLED
+LIBXML_XPATH_ENABLED
+LIBXML_XPTR_ENABLED
+LIBXML_ZLIB_ENABLED
+Letter M:MOVETO_ENDTAG
+MOVETO_STARTTAG
+Letter S:SKIP_EOL
+SOCKET
+Letter U:UTF8ToHtml
+UTF8Toisolat1
+Letter W:WITHOUT_TRIO
+WITH_TRIO
+Letter X:XINCLUDE_FALLBACK
+XINCLUDE_HREF
+XINCLUDE_NODE
+XINCLUDE_NS
+XINCLUDE_OLD_NS
+XINCLUDE_PARSE
+XINCLUDE_PARSE_ENCODING
+XINCLUDE_PARSE_TEXT
+XINCLUDE_PARSE_XML
+XINCLUDE_PARSE_XPOINTER
+XLINK_ACTUATE_AUTO
+XLINK_ACTUATE_NONE
+XLINK_ACTUATE_ONREQUEST
+XLINK_SHOW_EMBED
+XLINK_SHOW_NEW
+XLINK_SHOW_NONE
+XLINK_SHOW_REPLACE
+XLINK_TYPE_EXTENDED
+XLINK_T

[11/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk3.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk3.html 
b/thirdparty/libxml2/doc/APIchunk3.html
new file mode 100644
index 000..515118a
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk3.html
@@ -0,0 +1,360 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index F-I for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex F-I for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter F:FALSExmlTextWriterStartDTDEntity
+xmlTextWriterWriteDTDEntity
+xmlTextWriterWriteDTDExternalEntity
+xmlTextWriterWriteDTDInternalEntity
+xmlTextWriterWriteFormatDTDInternalEntity
+xmlTextWriterWriteVFormatDTDInternalEntity
+FFFEIS_CHAR
+IS_CHAR
+FIXEDxmlGetNoNsProp
+xmlGetNsProp
+xmlGetProp
+xmlHasNsProp
+xmlHasProp
+xmlParseDefaultDecl
+FREExmlSchemaGetCanonValue
+FacetxmlSchemaFreeFacet
+xmlSchemaNewFacet
+FalsexmlBoolToText
+FetchxmlNanoFTPGet
+FilexmlTextReaderGetRemainder
+FillsxmlBufGetNodeContent
+xmlNodeBufGetContent
+FindxmlExpGetLanguage
+xmlExpGetStart
+xmlGetRefs
+xmlHashLookup
+xmlHashLookup2
+xmlHashLookup3
+xmlHashQLookup
+xmlHashQLookup2
+xmlHashQLookup3
+xmlHashRemoveEntry
+xmlHashRemoveEntry2
+xmlHashRemoveEntry3
+xmlParserFindNodeInfo
+xmlParserFindNodeInfoIndex
+FindsxmlChildElementCount
+xmlExpIsNillable
+xmlFirstElementChild
+xmlLastElementChild
+xmlNextElementSibling
+xmlPreviousElementSibling
+FirstXML_SCHEMAS_TYPE_FIXUP_1
+_xmlEntity
+FixedxmlParseDefaultDecl
+xmlValidateOneAttribute
+xmlValidateOneNamespace
+FloatxmlXPathStringEvalNumber
+FlushxmlSaveFlush
+xmlTextWriterFlush
+For_xmlParserCtxt
+xmlC14NDocDumpMemory
+xmlC14NDocSave
+xmlC14NDocSaveTo
+xmlC14NExecute
+xmlCtxtResetLastError
+xmlParseComment
+xmlParseElementChildrenContentDecl
+xmlResetLastError
+xmlSetGenericErrorFunc
+xmlSetStructuredErrorFunc
+xmlXPathSubstringAfterFunction
+xmlXPathSubstringBeforeFunction
+xmlXPathSubstringFunction
+xmlXPathTranslateFunction
+FormxmlBuildURI
+FormatinghtmlDocContentDumpOutput
+FormatsxmlStrPrintf
+xmlStrVPrintf
+xmlXPatherror
+FormedxmlRecoverDoc
+xmlRecoverFile
+xmlRecoverMemory
+xmlSAXParseDoc
+xmlSAXParseFile
+xmlSAXParseFileWithData
+xmlSAXParseMemory
+xmlSAXParseMemoryWithData
+FragmentxmlNewDocFragment
+Frameset_htmlElemDesc
+FreesxmlBufferFree
+xmlDOMWrapFreeCtxt
+xmlNanoFTPFreeCtxt
+Front-endxmlCharEncFirstLine
+FunctionxmlBufContent
+xmlBufEnd
+xmlBufUse
+xmlBufferContent
+xmlBufferLength
+xmlSetGenericErrorFunc
+xmlSetStructuredErrorFunc
+xmlXPathFunctionLookup
+xmlXPathFunctionLookupNS
+Letter G:GCCATTRIBUTE_UNUSED
+LIBXML_ATTR_ALLOC_SIZE
+LIBXML_ATTR_FORMAT
+GEDeclxmlParseEntityDecl
+GETxmlNanoHTTPFetch
+xmlNanoHTTPOpen
+xmlNanoHTTPOpenRedir
+GeneralPunctuationxmlUCSIsGeneralPunctuation
+GenericxmlCharEncCloseFunc
+xmlCharEncInFunc
+xmlCharEncOutFunc
+GeometricShapesxmlUCSIsGeometricShapes
+GeorgianxmlUCSIsGeorgian
+GetsxmlTextReaderReadState
+GivesxmlOutputBufferGetContent
+xmlOutputBufferGetSize
+xmlSchemaGetBuiltInType
+Global_xmlDoc

[37/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/c14n.c
--
diff --git a/thirdparty/libxml2/c14n.c b/thirdparty/libxml2/c14n.c
new file mode 100644
index 000..ca77f92
--- /dev/null
+++ b/thirdparty/libxml2/c14n.c
@@ -0,0 +1,2238 @@
+/*
+ * "Canonical XML" implementation
+ * http://www.w3.org/TR/xml-c14n
+ *
+ * "Exclusive XML Canonicalization" implementation
+ * http://www.w3.org/TR/xml-exc-c14n
+ *
+ * See Copyright for the status of this software.
+ *
+ * Author: Aleksey Sanin 
+ */
+#define IN_LIBXML
+#include "libxml.h"
+#ifdef LIBXML_C14N_ENABLED
+#ifdef LIBXML_OUTPUT_ENABLED
+
+#ifdef HAVE_STDLIB_H
+#include 
+#endif
+#include 
+
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#include "buf.h"
+
+/
+ * *
+ * Some declaration better left private ATM*
+ * *
+ /
+
+typedef enum {
+XMLC14N_BEFORE_DOCUMENT_ELEMENT = 0,
+XMLC14N_INSIDE_DOCUMENT_ELEMENT = 1,
+XMLC14N_AFTER_DOCUMENT_ELEMENT = 2
+} xmlC14NPosition;
+
+typedef struct _xmlC14NVisibleNsStack {
+int nsCurEnd;   /* number of nodes in the set */
+int nsPrevStart;/* the begginning of the stack for previous 
visible node */
+int nsPrevEnd;  /* the end of the stack for previous visible node 
*/
+int nsMax;  /* size of the array as allocated */
+xmlNsPtr   *nsTab; /* array of ns in no particular order */
+xmlNodePtr *nodeTab;   /* array of nodes in no particular order */
+} xmlC14NVisibleNsStack, *xmlC14NVisibleNsStackPtr;
+
+typedef struct _xmlC14NCtx {
+/* input parameters */
+xmlDocPtr doc;
+xmlC14NIsVisibleCallback is_visible_callback;
+void* user_data;
+int with_comments;
+xmlOutputBufferPtr buf;
+
+/* position in the XML document */
+xmlC14NPosition pos;
+int parent_is_doc;
+xmlC14NVisibleNsStackPtr ns_rendered;
+
+/* C14N mode */
+xmlC14NMode mode;
+
+/* exclusive canonicalization */
+xmlChar **inclusive_ns_prefixes;
+
+/* error number */
+int error;
+} xmlC14NCtx, *xmlC14NCtxPtr;
+
+static xmlC14NVisibleNsStackPtrxmlC14NVisibleNsStackCreate (void);
+static void xmlC14NVisibleNsStackDestroy   (xmlC14NVisibleNsStackPtr cur);
+static void xmlC14NVisibleNsStackAdd   (xmlC14NVisibleNsStackPtr 
cur,
+ xmlNsPtr ns,
+ xmlNodePtr node);
+static voidxmlC14NVisibleNsStackSave   
(xmlC14NVisibleNsStackPtr cur,
+
xmlC14NVisibleNsStackPtr state);
+static voidxmlC14NVisibleNsStackRestore
(xmlC14NVisibleNsStackPtr cur,
+
xmlC14NVisibleNsStackPtr state);
+static voidxmlC14NVisibleNsStackShift  
(xmlC14NVisibleNsStackPtr cur);
+static int xmlC14NVisibleNsStackFind   
(xmlC14NVisibleNsStackPtr cur,
+xmlNsPtr ns);
+static int xmlExcC14NVisibleNsStackFind
(xmlC14NVisibleNsStackPtr cur,
+xmlNsPtr ns,
+xmlC14NCtxPtr 
ctx);
+
+static int xmlC14NIsNodeInNodeset  (xmlNodeSetPtr 
nodes,
+xmlNodePtr 
node,
+xmlNodePtr 
parent);
+
+
+
+static int xmlC14NProcessNode(xmlC14NCtxPtr ctx, xmlNodePtr cur);
+static int xmlC14NProcessNodeList(xmlC14NCtxPtr ctx, xmlNodePtr cur);
+typedef enum {
+XMLC14N_NORMALIZE_ATTR = 0,
+XMLC14N_NORMALIZE_COMMENT = 1,
+XMLC14N_NORMALIZE_PI = 2,
+XMLC14N_NORMALIZE_TEXT = 3
+} xmlC14NNormalizationMode;
+
+static xmlChar *xmlC11NNormalizeString(const xmlChar * input,
+   xmlC14NNormalizationMode mode);
+
+#definexmlC11NNormalizeAttr( a ) \
+xmlC11NNormalizeString((a), XMLC14N_NORMALIZE_ATTR)
+#definexmlC11NNormalizeComment( a ) \
+xmlC11NNormalizeString((a), XMLC14N_NORMALIZE_COMMENT)
+#definexmlC11NNormalizePI( a ) \
+xmlC11NNormalizeString((a), XMLC14N_NORMALIZE_PI)
+#definexmlC11NNormalizeText( a ) \
+xmlC11NNormalizeString((a), XMLC14N_NORMALIZE_TEXT)
+
+#definexmlC14NIsVisible( ctx, node, parent ) \
+ (((ctx)->is_visible_callback != NULL) ? \
+ 

[29/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/depcomp
--
diff --git a/thirdparty/libxml2/depcomp b/thirdparty/libxml2/depcomp
new file mode 100755
index 000..fc98710
--- /dev/null
+++ b/thirdparty/libxml2/depcomp
@@ -0,0 +1,791 @@
+#! /bin/sh
+# depcomp - compile a program generating dependencies as side-effects
+
+scriptversion=2013-05-30.07; # UTC
+
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+
+# 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, or (at your option)
+# any later version.
+
+# 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.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see .
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Originally written by Alexandre Oliva .
+
+case $1 in
+  '')
+echo "$0: No command.  Try '$0 --help' for more information." 1>&2
+exit 1;
+;;
+  -h | --h*)
+cat <<\EOF
+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
+
+Run PROGRAMS ARGS to compile a file, generating dependencies
+as side-effects.
+
+Environment variables:
+  depmode Dependency tracking mode.
+  source  Source file read by 'PROGRAMS ARGS'.
+  object  Object file output by 'PROGRAMS ARGS'.
+  DEPDIR  directory where to store dependencies.
+  depfile Dependency file to output.
+  tmpdepfile  Temporary file to use when outputting dependencies.
+  libtool Whether libtool is used (yes/no).
+
+Report bugs to .
+EOF
+exit $?
+;;
+  -v | --v*)
+echo "depcomp $scriptversion"
+exit $?
+;;
+esac
+
+# Get the directory component of the given path, and save it in the
+# global variables '$dir'.  Note that this directory component will
+# be either empty or ending with a '/' character.  This is deliberate.
+set_dir_from ()
+{
+  case $1 in
+*/*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
+  *) dir=;;
+  esac
+}
+
+# Get the suffix-stripped basename of the given path, and save it the
+# global variable '$base'.
+set_base_from ()
+{
+  base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
+}
+
+# If no dependency file was actually created by the compiler invocation,
+# we still have to create a dummy depfile, to avoid errors with the
+# Makefile "include basename.Plo" scheme.
+make_dummy_depfile ()
+{
+  echo "#dummy" > "$depfile"
+}
+
+# Factor out some common post-processing of the generated depfile.
+# Requires the auxiliary global variable '$tmpdepfile' to be set.
+aix_post_process_depfile ()
+{
+  # If the compiler actually managed to produce a dependency file,
+  # post-process it.
+  if test -f "$tmpdepfile"; then
+# Each line is of the form 'foo.o: dependency.h'.
+# Do two passes, one to just change these to
+#   $object: dependency.h
+# and one to simply output
+#   dependency.h:
+# which is needed to avoid the deleted-header problem.
+{ sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
+  sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
+} > "$depfile"
+rm -f "$tmpdepfile"
+  else
+make_dummy_depfile
+  fi
+}
+
+# A tabulation character.
+tab='  '
+# A newline character.
+nl='
+'
+# Character ranges might be problematic outside the C locale.
+# These definitions help.
+upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
+lower=abcdefghijklmnopqrstuvwxyz
+digits=0123456789
+alpha=${upper}${lower}
+
+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
+  echo "depcomp: Variables source, object and depmode must be set" 1>&2
+  exit 1
+fi
+
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
+depfile=${depfile-`echo "$object" |
+  sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
+
+rm -f "$tmpdepfile"
+
+# Avoid interferences from the environment.
+gccflag= dashmflag=
+
+# Some modes work just like other modes, but use different flags.  We
+# parameterize here, but still list the modes in the big case below,
+# to make depend.m4 easier to write.  Note that we *cannot* use a case
+# here, because this file can only contain one case statement.
+if test "$depmode" = hp; then
+  # HP compiler uses -M and no extra arg.
+  gccflag=-M
+  depmode=gcc
+fi
+
+if test "$depmode" = dashXmstdout; then
+  # 

[15/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk24.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk24.html 
b/thirdparty/libxml2/doc/APIchunk24.html
new file mode 100644
index 000..e81f34d
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk24.html
@@ -0,0 +1,1001 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index s-s for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex s-s for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter s:s390XML_CAST_FPTR
+safeBAD_CAST
+xmlInitializeCatalog
+xmlLoadCatalog
+xmlLoadCatalogs
+safetyXML_MAX_DICTIONARY_LIMIT
+XML_MAX_NAME_LENGTH
+XML_MAX_TEXT_LENGTH
+sameHTML_COMMENT_NODE
+HTML_ENTITY_REF_NODE
+HTML_PI_NODE
+HTML_PRESERVE_NODE
+HTML_TEXT_NODE
+IS_BLANK_CH
+checkNamespace
+xmlParseElementChildrenContentDecl
+xmlParseElementMixedContentDecl
+xmlParseMarkupDecl
+xmlParseStartTag
+xmlReplaceNode
+xmlStrEqual
+xmlStrncatNew
+xmlURIUnescapeString
+xmlXPathCmpNodes
+xmlXPathIdFunction
+xmlXPathLangFunction
+xmlXPathNextAncestorOrSelf
+xmlXPathNextFollowing
+xmlXPathNextPreceding
+xmlXPathNormalizeFunction
+xmlXPathSetContextNode
+savehtmlNodeDumpFileFormat
+xmlGcMemGet
+xmlMemGet
+xmlNanoHTTPFetch
+xmlSaveTree
+xmlShell
+xmlShellSave
+saved_htmlElemDesc
+xmlNanoHTTPFetch
+xmlNanoHTTPSave
+xmlSaveFormatFileEnc
+savesxmlNanoFTPRead
+xmlNanoHTTPRead
+xmlNanoHTTPSave
+xmlShellWrite
+savingLIBXML_OUTPUT_ENABLED
+LIBXML_WRITER_ENABLED
+xmlKeepBlanksDefault
+xmlOutputBufferCreateBuffer
+xmlOutputBufferCreateFd
+xmlOutputBufferCreateFile
+xmlOutputBufferCreateFilename
+xmlOutputBufferCreateIO
+xmlSaveClose
+xmlSaveDoc
+xmlSaveFlush
+xmlSaveSetAttrEscape
+xmlSaveSetEscape
+xmlSaveToBuffer
+xmlSaveToFd
+xmlSaveToFilename
+xmlSaveToIO
+xmlSaveTree
+saxdocbSAXParseDoc
+docbSAXParseFile
+htmlSAXParseDoc
+htmlSAXParseFile
+xmlSAXParseDoc
+xmlSAXParseEntity
+xmlSAXParseFile
+xmlSAXParseFileWithData
+xmlSAXParseMemory
+xmlSAXParseMemoryWithData
+sayxmlParseElementChildrenContentDecl
+xmlParseMarkupDecl
+saysxmlParseComment
+scanhtmlEntityLookup
+htmlEntityValueLookup
+xmlXPathStringEvalNumber
+scannerxmlHashScan
+xmlHashScan3
+xmlHashScanFull
+xmlHashScanFull3
+xmlHashScanner
+xmlHashScannerFull
+scanningxmlHashScanner
+xmlHashScannerFull
+scannnerxmlHashScanner
+xmlHashScannerFull
+schemasxmlRelaxNGNewDocParserCtxt
+xmlRelaxNGNewMemParserCtxt
+xmlSchemaGetFacetValueAsULong
+xmlSchemaGetValType
+xmlSchemaNewMemParserCtxt
+xmlSchemaValidateDoc
+xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
+xmlSchemaValidateFile
+xmlSchemaValidateStream
+xmlSchemaValidityLocatorFunc
+xmlSchematronNewMemParserCtxt
+xmlTextReaderRelaxNGValidate
+xmlTextReaderRelaxNGValidateCtxt
+xmlTextReaderSchemaValidate
+xmlTextReaderSchemaValidateCtxt
+schematronxmlSchematronValidateDoc
+scheme_xmlURI
+xmlBufferSetAllocationScheme
+xmlGetBufferAllocationScheme
+schemesxmlParseCharEncoding
+scope_xmlXPathContext
+xmlDOMWrapAdoptNode
+xmlDOMWrapCloneNode
+xmlSetNsProp
+xmlSetProp
+xmlTextReaderConstXmlLang
+xmlT

[53/56] [abbrv] nifi-minifi-cpp git commit: MINIFI-6 Adding spdlog information to the LICENSE file.

2016-08-02 Thread aldrin
MINIFI-6 Adding spdlog information to the LICENSE file.


Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/955f7ab5
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/955f7ab5
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/955f7ab5

Branch: refs/heads/master
Commit: 955f7ab516d357622b1c55a6d5ed2b99bc95d119
Parents: a376ed7
Author: Aldrin Piri 
Authored: Mon Jul 25 22:47:49 2016 -0400
Committer: Aldrin Piri 
Committed: Tue Aug 2 11:37:42 2016 -0400

--
 LICENSE | 71 +---
 1 file changed, 58 insertions(+), 13 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/955f7ab5/LICENSE
--
diff --git a/LICENSE b/LICENSE
index 1acd981..f1b29f3 100644
--- a/LICENSE
+++ b/LICENSE
@@ -200,18 +200,18 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-  
+
 APACHE NIFI - MINIFI SUBCOMPONENTS:
 
 The Apache NiFi - MiNiFi project contains subcomponents with separate copyright
 notices and license terms. Your use of the source code for the these
 subcomponents is subject to the terms and conditions of the following
-licenses.  
+licenses.
+
+This product bundles 'libuuid' which is available under a "3-clause BSD" 
license.
 
-  This product bundles 'libuuid' which is available under a "3-clause BSD" 
license.
-  
Copyright (C) 1996, 1997 Theodore Ts'o.
-
+
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
@@ -224,7 +224,7 @@ licenses.
3. The name of the author may not be used to endorse or promote
   products derived from this software without specific prior
   written permission.
- 
+
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
@@ -237,25 +237,70 @@ licenses.
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
- 
-  This product bundles 'libxml2' which is available under an MIT license.
-   
+
+This product bundles 'spdlog' which is available under an MIT license.
+
+   Copyright (c) 2016 Gabi Melman.
+
+   Permission is hereby granted, free of charge, to any person obtaining a 
copy
+   of this software and associated documentation files (the "Software"), 
to deal
+   in the Software without restriction, including without limitation the 
rights
+   to use, copy, modify, merge, publish, distribute, sublicense, and/or 
sell
+   copies of the Software, and to permit persons to whom the Software is
+   furnished to do so, subject to the following conditions:
+
+   The above copyright notice and this permission notice shall be included 
in
+   all copies or substantial portions of the Software.
+
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
OR
+   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT 
SHALL THE
+   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
FROM,
+   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 
IN
+   THE SOFTWARE.
+
+This product bundles 'libxml2' which is available under an MIT license.
+
Copyright (C) 1998-2012 Daniel Veillard.  All Rights Reserved.
-   
+
Permission is hereby granted, free of charge, to any person obtaining a 
copy
of this software and associated documentation files (the "Software"), 
to deal
in the Software without restriction, including without limitation the 
rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or 
sell
copies of the Software, and to permit persons to whom the Software is 
fur-
nished to do so, subject to the following conditions:
-   
+
The above copyright notice and this permission notice shall be included 
in
all copies or substantial portions of the Software.
-   
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
MERCHANTABILITY, FIT-
NESS FOR A PARTICULAR PURPOSE

[02/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/apibuild.py
--
diff --git a/thirdparty/libxml2/doc/apibuild.py 
b/thirdparty/libxml2/doc/apibuild.py
new file mode 100755
index 000..b5b669a
--- /dev/null
+++ b/thirdparty/libxml2/doc/apibuild.py
@@ -0,0 +1,2151 @@
+#!/usr/bin/python -u
+#
+# This is the API builder, it parses the C sources and build the
+# API formal description in XML.
+#
+# See Copyright for the status of this software.
+#
+# dan...@veillard.com
+#
+import os, sys
+import string
+import glob
+
+debug=0
+#debugsym='ignorableWhitespaceSAXFunc'
+debugsym=None
+
+#
+# C parser analysis code
+#
+ignored_files = {
+  "trio": "too many non standard macros",
+  "trio.c": "too many non standard macros",
+  "trionan.c": "too many non standard macros",
+  "triostr.c": "too many non standard macros",
+  "acconfig.h": "generated portability layer",
+  "config.h": "generated portability layer",
+  "libxml.h": "internal only",
+  "testOOM.c": "out of memory tester",
+  "testOOMlib.h": "out of memory tester",
+  "testOOMlib.c": "out of memory tester",
+  "rngparser.c": "not yet integrated",
+  "rngparser.h": "not yet integrated",
+  "elfgcchack.h": "not a normal header",
+  "testHTML.c": "test tool",
+  "testReader.c": "test tool",
+  "testSchemas.c": "test tool",
+  "testXPath.c": "test tool",
+  "testAutomata.c": "test tool",
+  "testModule.c": "test tool",
+  "testRegexp.c": "test tool",
+  "testThreads.c": "test tool",
+  "testC14N.c": "test tool",
+  "testRelax.c": "test tool",
+  "testThreadsWin32.c": "test tool",
+  "testSAX.c": "test tool",
+  "testURI.c": "test tool",
+  "testapi.c": "generated regression tests",
+  "runtest.c": "regression tests program",
+  "runsuite.c": "regression tests program",
+  "tst.c": "not part of the library",
+  "test.c": "not part of the library",
+  "testdso.c": "test for dynamid shared libraries",
+  "testrecurse.c": "test for entities recursions",
+  "xzlib.h": "Internal API only 2.8.0",
+  "buf.h": "Internal API only 2.9.0",
+  "enc.h": "Internal API only 2.9.0",
+  "/save.h": "Internal API only 2.9.0",
+  "timsort.h": "Internal header only for xpath.c 2.9.0",
+}
+
+ignored_words = {
+  "WINAPI": (0, "Windows keyword"),
+  "LIBXML_DLL_IMPORT": (0, "Special macro to flag external keywords"),
+  "XMLPUBVAR": (0, "Special macro for extern vars for win32"),
+  "XSLTPUBVAR": (0, "Special macro for extern vars for win32"),
+  "EXSLTPUBVAR": (0, "Special macro for extern vars for win32"),
+  "XMLPUBFUN": (0, "Special macro for extern funcs for win32"),
+  "XSLTPUBFUN": (0, "Special macro for extern funcs for win32"),
+  "EXSLTPUBFUN": (0, "Special macro for extern funcs for win32"),
+  "XMLCALL": (0, "Special macro for win32 calls"),
+  "XSLTCALL": (0, "Special macro for win32 calls"),
+  "XMLCDECL": (0, "Special macro for win32 calls"),
+  "EXSLTCALL": (0, "Special macro for win32 calls"),
+  "__declspec": (3, "Windows keyword"),
+  "__stdcall": (0, "Windows keyword"),
+  "ATTRIBUTE_UNUSED": (0, "macro keyword"),
+  "LIBEXSLT_PUBLIC": (0, "macro keyword"),
+  "X_IN_Y": (5, "macro function builder"),
+  "ATTRIBUTE_ALLOC_SIZE": (3, "macro for gcc checking extension"),
+  "ATTRIBUTE_PRINTF": (5, "macro for gcc printf args checking extension"),
+  "LIBXML_ATTR_FORMAT": (5, "macro for gcc printf args checking extension"),
+  "LIBXML_ATTR_ALLOC_SIZE": (3, "macro for gcc checking extension"),
+}
+
+def escape(raw):
+raw = raw.replace('&', '&')
+raw = raw.replace('<', '<')
+raw = raw.replace('>', '>')
+raw = raw.replace("'", ''')
+raw = raw.replace('"', '"')
+return raw
+
+def uniq(items):
+d = {}
+for item in items:
+d[item]=1
+return list(d.keys())
+
+class identifier:
+def __init__(self, name, header=None, module=None, type=None, lineno = 0,
+ info=None, extra=None, conditionals = None):
+self.name = name
+self.header = header
+self.module = module
+self.type = type
+self.info = info
+self.extra = extra
+self.lineno = lineno
+self.static = 0
+if conditionals == None or len(conditionals) == 0:
+self.conditionals = None
+else:
+self.conditionals = conditionals[:]
+if self.name == debugsym:
+print("=> define %s : %s" % (debugsym, (module, type, info,
+ extra, conditionals)))
+
+def __repr__(self):
+r = "%s %s:" % (self.type, self.name)
+if self.static:
+r = r + " static"
+if self.module != None:
+r = r + " from %s" % (self.module)
+if self.info != None:
+r = r + " " +  repr(self.info)
+if self.extra != None:
+r = r + " " + repr(self.extra)
+if self.conditionals != None:
+r = r + " " + repr(self.conditionals)
+return r
+

[35/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/check-relaxng-test-suite.py
--
diff --git a/thirdparty/libxml2/check-relaxng-test-suite.py 
b/thirdparty/libxml2/check-relaxng-test-suite.py
new file mode 100755
index 000..f4a5a69
--- /dev/null
+++ b/thirdparty/libxml2/check-relaxng-test-suite.py
@@ -0,0 +1,394 @@
+#!/usr/bin/python
+import sys
+import time
+import os
+import string
+import StringIO
+sys.path.insert(0, "python")
+import libxml2
+
+# Memory debug specific
+libxml2.debugMemory(1)
+debug = 0
+verbose = 0
+quiet = 1
+
+#
+# the testsuite description
+#
+CONF=os.path.join(os.path.dirname(__file__), "test/relaxng/OASIS/spectest.xml")
+LOG="check-relaxng-test-suite.log"
+RES="relaxng-test-results.xml"
+
+log = open(LOG, "w")
+nb_schemas_tests = 0
+nb_schemas_success = 0
+nb_schemas_failed = 0
+nb_instances_tests = 0
+nb_instances_success = 0
+nb_instances_failed = 0
+
+libxml2.lineNumbersDefault(1)
+#
+# Error and warnng callbacks
+#
+def callback(ctx, str):
+global log
+log.write("%s%s" % (ctx, str))
+
+libxml2.registerErrorHandler(callback, "")
+
+#
+# Resolver callback
+#
+resources = {}
+def resolver(URL, ID, ctxt):
+global resources
+
+if string.find(URL, '#') != -1:
+URL = URL[0:string.find(URL, '#')]
+if resources.has_key(URL):
+return(StringIO.StringIO(resources[URL]))
+log.write("Resolver failure: asked %s\n" % (URL))
+log.write("resources: %s\n" % (resources))
+return None
+
+#
+# Load the previous results
+#
+#results = {}
+#previous = {}
+#
+#try:
+#res = libxml2.parseFile(RES)
+#except:
+#log.write("Could not parse %s" % (RES))
+
+#
+# handle a valid instance
+#
+def handle_valid(node, schema):
+global log
+global nb_instances_success
+global nb_instances_failed
+
+instance = ""
+child = node.children
+while child != None:
+if child.type != 'text':
+   instance = instance + child.serialize()
+   child = child.next
+
+try:
+   doc = libxml2.parseDoc(instance)
+except:
+doc = None
+
+if doc == None:
+log.write("\nFailed to parse correct instance:\n-\n")
+   log.write(instance)
+log.write("\n-\n")
+   nb_instances_failed = nb_instances_failed + 1
+   return
+
+try:
+ctxt = schema.relaxNGNewValidCtxt()
+   ret = doc.relaxNGValidateDoc(ctxt)
+except:
+ret = -1
+if ret != 0:
+log.write("\nFailed to validate correct instance:\n-\n")
+   log.write(instance)
+log.write("\n-\n")
+   nb_instances_failed = nb_instances_failed + 1
+else:
+   nb_instances_success = nb_instances_success + 1
+doc.freeDoc()
+
+#
+# handle an invalid instance
+#
+def handle_invalid(node, schema):
+global log
+global nb_instances_success
+global nb_instances_failed
+
+instance = ""
+child = node.children
+while child != None:
+if child.type != 'text':
+   instance = instance + child.serialize()
+   child = child.next
+
+try:
+   doc = libxml2.parseDoc(instance)
+except:
+doc = None
+
+if doc == None:
+log.write("\nStrange: failed to parse incorrect instance:\n-\n")
+   log.write(instance)
+log.write("\n-\n")
+   return
+
+try:
+ctxt = schema.relaxNGNewValidCtxt()
+   ret = doc.relaxNGValidateDoc(ctxt)
+except:
+ret = -1
+if ret == 0:
+log.write("\nFailed to detect validation problem in 
instance:\n-\n")
+   log.write(instance)
+log.write("\n-\n")
+   nb_instances_failed = nb_instances_failed + 1
+else:
+   nb_instances_success = nb_instances_success + 1
+doc.freeDoc()
+
+#
+# handle an incorrect test
+#
+def handle_correct(node):
+global log
+global nb_schemas_success
+global nb_schemas_failed
+
+schema = ""
+child = node.children
+while child != None:
+if child.type != 'text':
+   schema = schema + child.serialize()
+   child = child.next
+
+try:
+   rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema))
+   rngs = rngp.relaxNGParse()
+except:
+rngs = None
+if rngs == None:
+log.write("\nFailed to compile correct schema:\n-\n")
+   log.write(schema)
+log.write("\n-\n")
+   nb_schemas_failed = nb_schemas_failed + 1
+else:
+   nb_schemas_success = nb_schemas_success + 1
+return rngs
+
+def handle_incorrect(node):
+global log
+global nb_schemas_success
+global nb_schemas_failed
+
+schema = ""
+child = node.children
+while child != None:
+if child.type != 'text':
+   schema = schema + child.serialize()
+   child = child.next
+
+try:
+   rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema))
+   rngs = rngp.relaxNGParse(

[50/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/src/FlowControlProtocol.cpp
--
diff --git a/src/FlowControlProtocol.cpp b/src/FlowControlProtocol.cpp
new file mode 100644
index 000..6aaa969
--- /dev/null
+++ b/src/FlowControlProtocol.cpp
@@ -0,0 +1,540 @@
+/**
+ * @file FlowControlProtocol.cpp
+ * FlowControlProtocol class implementation
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include "FlowController.h"
+#include "FlowControlProtocol.h"
+
+int FlowControlProtocol::connectServer(const char *host, uint16_t port)
+{
+   in_addr_t addr;
+   int sock = 0;
+   struct hostent *h;
+#ifdef __MACH__
+   h = gethostbyname(host);
+#else
+   char buf[1024];
+   struct hostent he;
+   int hh_errno;
+   gethostbyname_r(host, &he, buf, sizeof(buf), &h, &hh_errno);
+#endif
+   memcpy((char *) &addr, h->h_addr_list[0], h->h_length);
+   sock = socket(AF_INET, SOCK_STREAM, 0);
+   if (sock < 0)
+   {
+   _logger->log_error("Could not create socket to hostName %s", 
host);
+   return 0;
+   }
+
+#ifndef __MACH__
+   int opt = 1;
+   bool nagle_off = true;
+
+   if (nagle_off)
+   {
+   if (setsockopt(sock, SOL_TCP, TCP_NODELAY, (void *)&opt, 
sizeof(opt)) < 0)
+   {
+   _logger->log_error("setsockopt() TCP_NODELAY failed");
+   close(sock);
+   return 0;
+   }
+   if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,
+   (char *)&opt, sizeof(opt)) < 0)
+   {
+   _logger->log_error("setsockopt() SO_REUSEADDR failed");
+   close(sock);
+   return 0;
+   }
+   }
+
+   int sndsize = 256*1024;
+   if (setsockopt(sock, SOL_SOCKET, SO_SNDBUF, (char *)&sndsize, 
(int)sizeof(sndsize)) < 0)
+   {
+   _logger->log_error("setsockopt() SO_SNDBUF failed");
+   close(sock);
+   return 0;
+   }
+#endif
+
+   struct sockaddr_in sa;
+   socklen_t socklen;
+   int status;
+
+   memset(&sa, 0, sizeof(sa));
+   sa.sin_family = AF_INET;
+   sa.sin_addr.s_addr = htonl(INADDR_ANY);
+   sa.sin_port = htons(0);
+   socklen = sizeof(sa);
+   if (bind(sock, (struct sockaddr *)&sa, socklen) < 0)
+   {
+   _logger->log_error("socket bind failed");
+   close(sock);
+   return 0;
+   }
+
+   memset(&sa, 0, sizeof(sa));
+   sa.sin_family = AF_INET;
+   sa.sin_addr.s_addr = addr;
+   sa.sin_port = htons(port);
+   socklen = sizeof(sa);
+
+   status = connect(sock, (struct sockaddr *)&sa, socklen);
+
+   if (status < 0)
+   {
+   _logger->log_error("socket connect failed to %s %d", host, 
port);
+   close(sock);
+   return 0;
+   }
+
+   _logger->log_info("Flow Control Protocol socket %d connect to server %s 
port %d success", sock, host, port);
+
+   return sock;
+}
+
+int FlowControlProtocol::sendData(uint8_t *buf, int buflen)
+{
+   int ret = 0, bytes = 0;
+
+   while (bytes < buflen)
+   {
+   ret = send(_socket, buf+bytes, buflen-bytes, 0);
+   //check for errors
+   if (ret == -1)
+   {
+   return ret;
+   }
+   bytes+=ret;
+   }
+
+   return bytes;
+}
+
+int FlowControlProtocol::selectClient(int msec)
+{
+   fd_set fds;
+   struct timeval tv;
+int retval;
+int fd = _socket;
+
+FD_ZERO(&fds);
+FD_SET(fd, &fds);
+
+tv.tv_sec = msec/1000;
+tv.tv_usec = (msec % 1000) * 1000;
+
+if (msec > 0)
+   retval = select(fd+1, &fds, NULL, NULL, &tv);
+else
+   retval = select(fd+1, &fds, NULL, NULL, NULL);
+
+if (retval <= 0)
+  return retval;
+if (FD_ISSET(fd, &fds))
+  return retval;
+else
+  return 0;
+}
+
+int FlowControlProtocol

[21/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk17.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk17.html 
b/thirdparty/libxml2/doc/APIchunk17.html
new file mode 100644
index 000..070f8ce
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk17.html
@@ -0,0 +1,580 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index i-i for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex i-i for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter i:i-mlCheckLanguageID
+iconvLIBXML_ICONV_ENABLED
+LIBXML_ISO8859X_ENABLED
+icuLIBXML_ICU_ENABLED
+identifyxmlParseAttributeType
+identitierXML_MAX_NAME_LENGTH
+identity-constraint_xmlSchema
+_xmlSchemaElement
+ignorableignorableWhitespace
+ignorableWhitespaceSAXFunc
+xmlIsBlankNode
+xmlKeepBlanksDefault
+xmlSAX2IgnorableWhitespace
+ignorableWhitespacexmlKeepBlanksDefault
+ignoredxmlC14NDocDumpMemory
+xmlC14NDocSave
+xmlC14NDocSaveTo
+xmlC14NExecute
+ignoringxmlURIEscapeStr
+imagexmlC14NDocDumpMemory
+xmlC14NDocSave
+xmlC14NDocSaveTo
+xmlC14NExecute
+imbricationxmlBufNodeDump
+xmlNodeDump
+xmlNodeDumpOutput
+imgxmlBuildRelativeURI
+immediatelyxmlCheckVersion
+xmlOutputBufferWrite
+xmlOutputBufferWriteEscape
+xmlOutputBufferWriteString
+xmlXPathStringFunction
+immutablexmlBufferCreateStatic
+xmlBufferDetach
+xmlParserInputBufferCreateStatic
+implementationxmlFreeFunc
+xmlMallocFunc
+xmlReallocFunc
+xmlStrdupFunc
+xmlTextReaderGetRemainder
+xmlXPathRegisterFunc
+xmlXPathRegisterFuncNS
+implementation-definedxmlXPathNextNamespace
+implementedHTML_COMMENT_NODE
+HTML_ENTITY_REF_NODE
+HTML_PI_NODE
+HTML_PRESERVE_NODE
+HTML_TEXT_NODE
+xmlModuleOpen
+xmlSaveDoc
+xmlSaveTree
+xmlSchemaCopyValue
+xmlTextReaderNextSibling
+implicitlyhtmlAutoCloseTag
+htmlIsAutoClosed
+implied_htmlElemDesc
+impossiblexmlURIEscape
+improvesxmlGetBufferAllocationScheme
+xmlSetBufferAllocationScheme
+in-xmlParserInputBufferGrow
+in-extensoxmlMemDisplay
+xmlMemoryDump
+in-memory_xmlDoc
+_xmlParserCtxt
+docbParseDoc
+docbSAXParseDoc
+htmlCreateMemoryParserCtxt
+htmlCtxtReadDoc
+htmlCtxtReadMemory
+htmlParseDoc
+htmlReadDoc
+htmlReadMemory
+htmlSAXParseDoc
+xmlCreateDocParserCtxt
+xmlCreateMemoryParserCtxt
+xmlCtxtReadDoc
+xmlCtxtReadMemory
+xmlParseDoc
+xmlParseMemory
+xmlReadDoc
+xmlReadMemory
+xmlReaderForDoc
+xmlReaderForMemory
+xmlReaderNewDoc
+xmlReaderNewMemory
+xmlRecoverDoc
+xmlRecoverMemory
+xmlSAXParseDoc
+xmlSAXParseMemory
+xmlSAXParseMemoryWithData
+xmlSAXUserParseMemory
+incasexmlNanoFTPClose
+xmlNanoFTPCloseConnection
+xmlNanoFTPCwd
+xmlNanoFTPDele
+xmlNanoFTPGet
+xmlNanoFTPGetConnection
+xmlNanoFTPList
+xmlNanoHTTPFetch
+xmlNanoHTTPSave
+incl_xmlSchemaType
+includeXINCLUDE_NODE
+xmlC14NDocDumpMemory
+xmlC14NDocSave
+xmlC14NDocSaveTo
+xmlC14NExecute
+xmlCheckVersion
+xmlListMerge
+include:xmlBuildRelativeURI
+includedxmlC14NDocDumpMemory
+xmlC14NDocSave
+xmlC14NDocSaveTo
+xmlC14NIsVisibleCallback
+xmlDocDumpMemory
+xmlFreeDoc
+xmlNanoHTTPContentLength
+xmlParseNotationType
+includes_xmlSchema

[23/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk14.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk14.html 
b/thirdparty/libxml2/doc/APIchunk14.html
new file mode 100644
index 000..0e33ddb
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk14.html
@@ -0,0 +1,470 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index e-e for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex e-e for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter e:each_xmlParserCtxt
+xmlHashCopy
+xmlHashScan
+xmlHashScan3
+xmlHashScanFull
+xmlHashScanFull3
+xmlParseAttributeType
+xmlSetGenericErrorFunc
+xmlSetStructuredErrorFunc
+xmlValidateOneElement
+xmlXPathIdFunction
+xmlXPathSubstringFunction
+editionxmlCheckLanguageID
+effectxmlXPathContextSetCache
+effectivexmlLoadCatalog
+xmlLoadCatalogs
+efficiencyxmlBuildRelativeURI
+eitherxmlBoolToText
+xmlBufGetNodeContent
+xmlCurrentChar
+xmlLoadACatalog
+xmlNodeBufGetContent
+xmlNodeGetContent
+xmlParseElementChildrenContentDecl
+xmlParseElementContentDecl
+xmlParseMarkupDecl
+xmlParsePEReference
+xmlParseStartTag
+xmlParserHandlePEReference
+xmlTextReaderNormalization
+either:resolveEntity
+resolveEntitySAXFunc
+xmlSAX2ResolveEntity
+elemXML_SCHEMAS_ELEM_INTERNAL_CHECKED
+elem-_xmlDOMWrapCtxt
+element-xmlStreamPushNode
+xmlXPathOrderDocElems
+element-nodexmlDOMWrapReconcileNamespaces
+xmlStreamPush
+element-nodesxmlDOMWrapAdoptNode
+xmlDOMWrapCloneNode
+xmlDOMWrapReconcileNamespaces
+xmlStreamWantsAnyNode
+elementFormDefaultXML_SCHEMAS_QUALIF_ELEM
+elementdeclxmlParseElementDecl
+xmlParseMarkupDecl
+elementsXML_CATALOGS_NAMESPACE
+XML_COMPLETE_ATTRS
+XML_SCHEMAS_ATTR_GLOBAL
+XML_SCHEMAS_ATTR_NSDEFAULT
+XML_SCHEMAS_ELEM_NSDEFAULT
+_xmlDtd
+htmlElementAllowedHere
+htmlNodeStatus
+xlinkIsLink
+xmlDictSize
+xmlFreePatternList
+xmlHashSize
+xmlLineNumbersDefault
+xmlListMerge
+xmlListReverse
+xmlListSize
+xmlListSort
+xmlParseAttributeType
+xmlParseDefaultDecl
+xmlParseSDDecl
+xmlShellPwd
+xmlTextWriterEndDocument
+xmlXPathIdFunction
+xmlXPathOrderDocElems
+elseUTF8ToHtml
+UTF8Toisolat1
+docbEncodeEntities
+htmlEncodeEntities
+isolat1ToUTF8
+xmlCharEncodingInputFunc
+xmlCharEncodingOutputFunc
+embeddedXML_CTXT_FINISH_DTD_0
+XML_CTXT_FINISH_DTD_1
+emittedxmlSetGenericErrorFunc
+empty-elementxmlParseStartTag
+enablexmlCatalogSetDebug
+enabledxmlSaveFile
+xmlSaveFormatFile
+enablesxmlXPathContextSetCache
+enablingxmlLineNumbersDefault
+xmlPedanticParserDefault
+encxmlParserInputBufferCreateFilename
+encapsulatexmlBufferFree
+encapsulating_htmlElemDesc
+xmlNewIOInputStream
+enclosexmlTextReaderQuoteChar
+encodexmlTextWriterWriteBase64
+xmlTextWriterWriteBinHex
+encoded_xmlOutputBuffer
+_xmlParserInput
+_xmlParserInputBuffer
+xmlCheckUTF8
+xmlGetUTF8Char
+xmlSplitQName
+xmlStrcat
+xmlStrdup
+xmlTextWriterWriteBase64
+xmlTextWriterWriteBinHex
+xmlUTF8Strlen
+xmlUTF8Strsize
+xmlUTF8Strsub
+encoder_xmlOutputBuffer
+_xmlParserInputBuffer
+xmlCharEncOutFunc
+xmlCharEncodingOutputFunc
+encoder==NULLxml

[16/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk23.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk23.html 
b/thirdparty/libxml2/doc/APIchunk23.html
new file mode 100644
index 000..16c7c21
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk23.html
@@ -0,0 +1,668 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index q-r for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex q-r for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter q:qualifiedXML_SCHEMAS_QUALIF_ATTR
+XML_SCHEMAS_QUALIF_ELEM
+xmlGetDtdQAttrDesc
+xmlNamespaceParseQName
+xmlSplitQName
+xmlSplitQName2
+xmlSplitQName3
+xmlTextReaderConstName
+xmlTextReaderGetAttribute
+xmlTextReaderMoveToAttribute
+xmlTextReaderName
+xmlValidatePopElement
+xmlValidatePushElement
+xmlXPathParseNCName
+query_xmlURI
+quotxmlParseEntityRef
+xmlParseSDDecl
+xmlParserHandleReference
+quotationxmlTextReaderQuoteChar
+quotedocbEncodeEntities
+htmlEncodeEntities
+xmlBufferWriteQuotedString
+xmlTextWriterSetQuoteChar
+quotedxmlBufferWriteQuotedString
+quotesxmlParseQuotedString
+quotingxmlTextWriterSetQuoteChar
+Letter r:raiseXP_ERROR
+XP_ERROR0
+raised_xmlError
+xmlCheckHTTPInput
+xmlNanoFTPUpdateURL
+xmlStructuredErrorFunc
+xmlXPathCheckError
+rangeIS_BYTE_CHAR
+xmlAutomataNewCounterTrans
+xmlBufferAdd
+xmlBufferAddHead
+xmlCharInRange
+xmlExpNewRange
+xmlTextReaderNormalization
+xmlXPathNodeSetItem
+xmlXPtrLocationSetAdd
+xmlXPtrLocationSetDel
+xmlXPtrLocationSetRemove
+xmlXPtrNewCollapsedRange
+xmlXPtrNewLocationSetNodes
+xmlXPtrNewRange
+xmlXPtrNewRangeNodeObject
+xmlXPtrNewRangeNodePoint
+xmlXPtrNewRangeNodes
+xmlXPtrNewRangePointNode
+xmlXPtrNewRangePoints
+range-toxmlXPtrRangeToFunction
+ranges_xmlChRangeGroup
+xmlXPtrFreeLocationSet
+xmlXPtrLocationSetMerge
+rangesetsxmlXPtrLocationSetMerge
+ratherxmlTextReaderIsNamespaceDecl
+ratioxmlGetDocCompressMode
+xmlSetCompressMode
+xmlSetDocCompressMode
+rationxmlOutputBufferCreateFilename
+raw_xmlParserInputBuffer
+xmlNamespaceParseNCName
+xmlNamespaceParseNSDef
+xmlNamespaceParseQName
+xmlNodeAddContent
+xmlNodeAddContentLen
+xmlParseCDSect
+xmlParserInputBufferGrow
+xmlTextWriterWriteFormatRaw
+xmlTextWriterWriteRaw
+xmlTextWriterWriteVFormatRaw
+re-entrantxmlLockLibrary
+xmlNewRMutex
+xmlUnlockLibrary
+reachablexmlPatternMaxDepth
+xmlPatternMinDepth
+reachedxmlRegExecPushString
+xmlRegExecPushString2
+read-onlyxmlDictCreateSub
+readablexmlStrEqual
+reader-xmlTextReaderGetRemainder
+readingxmlSchemaValidateStream
+xmlShell
+readyINPUT_CHUNK
+xmlAutomataCompile
+realloc_xmlBuffer
+xmlGcMemGet
+xmlGcMemSetup
+xmlMemGet
+xmlMemRealloc
+xmlMemSetup
+xmlReallocFunc
+xmlReallocLoc
+reallocatedxmlReallocFunc
+xmlStrncat
+reallyHTML_COMMENT_NODE
+HTML_ENTITY_REF_NODE
+HTML_PI_NODE
+HTML_PRESERVE_NODE
+HTML_TEXT_NODE
+htmlEntityLookup
+htmlEntityValueLookup
+xmlBuildRelativeURI
+xmlCreateEntitiesTable
+reasonablexmlBuildRelativeURI
+receivexmlExpDump
+receivedftpDataCallback
+xmlNanoHTTPReturnCode
+receivesxmlParseExternalI

[52/56] [abbrv] nifi-minifi-cpp git commit: Updating LICENSE file to include clauses for the associated usages of libuuid and libxml2.

2016-08-02 Thread aldrin
Updating LICENSE file to include clauses for the associated usages of libuuid 
and libxml2.


Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/feaca2e6
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/feaca2e6
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/feaca2e6

Branch: refs/heads/master
Commit: feaca2e628bc55a407c3769ade992b065b59db56
Parents: e170f7a
Author: Aldrin Piri 
Authored: Thu Jul 21 15:15:40 2016 -0400
Committer: Aldrin Piri 
Committed: Tue Aug 2 11:37:42 2016 -0400

--
 LICENSE | 59 +++
 1 file changed, 59 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/feaca2e6/LICENSE
--
diff --git a/LICENSE b/LICENSE
index d645695..1acd981 100644
--- a/LICENSE
+++ b/LICENSE
@@ -200,3 +200,62 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+  
+APACHE NIFI - MINIFI SUBCOMPONENTS:
+
+The Apache NiFi - MiNiFi project contains subcomponents with separate copyright
+notices and license terms. Your use of the source code for the these
+subcomponents is subject to the terms and conditions of the following
+licenses.  
+
+  This product bundles 'libuuid' which is available under a "3-clause BSD" 
license.
+  
+   Copyright (C) 1996, 1997 Theodore Ts'o.
+
+   Redistribution and use in source and binary forms, with or without
+   modification, are permitted provided that the following conditions
+   are met:
+   1. Redistributions of source code must retain the above copyright
+  notice, and the entire permission notice in its entirety,
+  including the disclaimer of warranties.
+   2. Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in the
+  documentation and/or other materials provided with the distribution.
+   3. The name of the author may not be used to endorse or promote
+  products derived from this software without specific prior
+  written permission.
+ 
+   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
+   WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
+   WHICH ARE HEREBY DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE
+   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
+   OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+   BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+   LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+   USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH
+   DAMAGE.
+ 
+  This product bundles 'libxml2' which is available under an MIT license.
+   
+   Copyright (C) 1998-2012 Daniel Veillard.  All Rights Reserved.
+   
+   Permission is hereby granted, free of charge, to any person obtaining a 
copy
+   of this software and associated documentation files (the "Software"), 
to deal
+   in the Software without restriction, including without limitation the 
rights
+   to use, copy, modify, merge, publish, distribute, sublicense, and/or 
sell
+   copies of the Software, and to permit persons to whom the Software is 
fur-
+   nished to do so, subject to the following conditions:
+   
+   The above copyright notice and this permission notice shall be included 
in
+   all copies or substantial portions of the Software.
+   
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
OR
+   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
MERCHANTABILITY, FIT-
+   NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL 
THE
+   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
FROM,
+   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 
IN
+   THE SOFTWARE.
\ No newline at end of file



[22/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk15.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk15.html 
b/thirdparty/libxml2/doc/APIchunk15.html
new file mode 100644
index 000..163d67b
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk15.html
@@ -0,0 +1,454 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index f-f for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex f-f for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter f:fTPxmlNanoFTPConnectTo
+faceXML_MAX_NAME_LENGTH
+facetXML_SCHEMAS_FACET_COLLAPSE
+XML_SCHEMAS_FACET_PRESERVE
+XML_SCHEMAS_FACET_REPLACE
+XML_SCHEMAS_FACET_UNKNOWN
+_xmlSchemaFacetLink
+xmlSchemaCheckFacet
+xmlSchemaFreeFacet
+xmlSchemaGetFacetValueAsULong
+xmlSchemaIsBuiltInTypeFacet
+xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
+xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
+xmlSchemaValidateListSimpleTypeFacet
+facetsXML_SCHEMAS_TYPE_FACETSNEEDVALUE
+XML_SCHEMAS_TYPE_HAS_FACETS
+XML_SCHEMAS_TYPE_NORMVALUENEEDED
+_xmlSchemaType
+xmlSchemaCheckFacet
+facilityxmlExpCtxtNbCons
+xmlExpCtxtNbNodes
+failxmlC14NDocDumpMemory
+xmlC14NDocSave
+xmlC14NDocSaveTo
+xmlC14NExecute
+xmlShellPrintXPathError
+failedxmlCharEncodingInputFunc
+xmlCharEncodingOutputFunc
+xmlNanoFTPConnectTo
+xmlNanoFTPCwd
+xmlNanoFTPDele
+xmlRemoveID
+xmlRemoveRef
+xmlShellLoad
+xmlXIncludeProcess
+xmlXIncludeProcessFlags
+xmlXIncludeProcessFlagsData
+xmlXIncludeProcessNode
+xmlXIncludeProcessTree
+xmlXIncludeProcessTreeFlags
+xmlXIncludeProcessTreeFlagsData
+xmlXPathCompareValues
+failsUTF8ToHtml
+UTF8Toisolat1
+_htmlElemDesc
+docbEncodeEntities
+htmlEncodeEntities
+xmlCanonicPath
+xmlCharEncFirstLine
+xmlCharEncInFunc
+xmlCharEncOutFunc
+xmlCheckFilename
+xmlFileOpen
+xmlPathToURI
+fallbackXINCLUDE_FALLBACK
+docbSAXParseDoc
+docbSAXParseFile
+htmlSAXParseDoc
+htmlSAXParseFile
+xmlFileOpen
+xmlSAXParseDoc
+xmlSAXParseEntity
+xmlSAXParseFile
+xmlSAXParseFileWithData
+xmlSAXParseMemory
+xmlSAXParseMemoryWithData
+far_xmlParserCtxt
+fatalErrorSAXFunc
+xmlSchemaIsValid
+fashionxmlNewRMutex
+fasthtmlInitAutoClose
+fasterhtmlNodeStatus
+xmlStrEqual
+fatalfatalErrorSAXFunc
+fatalErrorfatalErrorSAXFunc
+favorxmlNewElementContent
+featureXML_MAX_DICTIONARY_LIMIT
+XML_MAX_NAME_LENGTH
+XML_MAX_TEXT_LENGTH
+xmlGetFeature
+xmlGetFeaturesList
+xmlHasFeature
+xmlSetFeature
+featuresxmlGetFeaturesList
+fedxmlCreatePushParserCtxt
+xmlNewTextReader
+xmlNewTextReaderFilename
+xmlStreamPushNode
+xmlStreamWantsAnyNode
+feedxmlTextReaderSetup
+fetchxmlNanoFTPGetSocket
+xmlNanoFTPOpen
+xmlNanoHTTPFetch
+fetchingdocbCreatePushParserCtxt
+htmlCreatePushParserCtxt
+xmlCreatePushParserCtxt
+xmlUTF8Strpos
+fieldXML_COMPLETE_ATTRS
+XML_CTXT_FINISH_DTD_0
+XML_CTXT_FINISH_DTD_1
+XML_DETECT_IDS
+XML_SKIP_IDS
+_xmlError
+xmlParseMisc
+xmlXIncludeProcessFlagsData
+xmlXIncludeProcessTreeFlagsData
+xmlXPathOrderDocElems
+fieldsXML_SAX2_MAGIC
+_htmlElemDesc
+_xmlParserCtxt
+_xmlSAXHandler
+xmlParseURIReference
+filesxmlNa

[07/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIfiles.html
--
diff --git a/thirdparty/libxml2/doc/APIfiles.html 
b/thirdparty/libxml2/doc/APIfiles.html
new file mode 100644
index 000..2252a6b
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIfiles.html
@@ -0,0 +1,3591 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+List of Symbols per Module for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeList of Symbols
  per Module for 
libxml2Developer MenuMain MenuReference ManualCode Exa
 mplesXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, stylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/
 ">FTPhttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerModule DOCBparser:docbCreateFileParserCtxt
+docbCreatePushParserCtxt
+docbDocPtr
+docbEncodeEntities
+docbFreeParserCtxt
+docbParseChunk
+docbParseDoc
+docbParseDocument
+docbParseFile
+docbParserCtxt
+docbParserCtxtPtr
+docbParserInput
+docbParserInputPtr
+docbSAXHandler
+docbSAXHandlerPtr
+docbSAXParseDoc
+docbSAXParseFile
+Module HTMLparser:HTML_DEPRECATED
+HTML_INVALID
+HTML_NA
+HTML_PARSE_COMPACT
+HTML_PARSE_IGNORE_ENC
+HTML_PARSE_NOBLANKS
+HTML_PARSE_NODEFDTD
+HTML_PARSE_NOERROR
+HTML_PARSE_NOIMPLIED
+HTML_PARSE_NONET
+HTML_PARSE_NOWARNING
+HTML_PARSE_PEDANTIC
+HTML_PARSE_RECOVER
+HTML_REQUIRED
+HTML_VALID
+UTF8ToHtml
+_htmlElemDesc
+_htmlEntityDesc
+htmlAttrAllowed
+htmlAutoCloseTag
+htmlCreateMemoryParserCtxt
+htmlCreatePushParserCtxt
+htmlCtxtReadDoc
+htmlCtxtReadFd
+htmlCtxtReadFile
+htmlCtxtReadIO
+htmlCtxtReadMemory
+htmlCtxtReset
+htmlCtxtUseOptions
+htmlDefaultSubelement
+htmlDocPtr
+htmlElemDesc
+htmlElemDescPtr
+htmlElementAllowedHere
+htmlElementAllowedHereDesc
+htmlElementStatusHere
+htmlEncodeEntities
+htmlEntityDesc
+htmlEntityDescPtr
+htmlEntityLookup
+htmlEntityValueLookup
+htmlFreeParserCtxt
+htmlHandleOmittedElem
+htmlIsAutoClosed
+htmlIsScriptAttribute
+htmlNewParserCtxt
+htmlNodePtr
+htmlNodeStatus
+htmlParseCharRef
+htmlParseChunk
+htmlParseDoc
+htmlParseDocument
+htmlParseElement
+htmlParseEntityRef
+htmlParseFile
+htmlParserCtxt
+htmlParserCtxtPtr
+htmlParserInput
+htmlParserInputPtr
+htmlParserNodeInfo
+htmlParserOption
+htmlReadDoc
+htmlReadFd
+htmlReadFile
+htmlReadIO
+htmlReadMemory
+htmlRequiredAttrs
+htmlSAXHandler
+htmlSAXHandlerPtr
+htmlSAXParseDoc
+htmlSAXParseFile
+htmlStatus
+htmlTagLookup
+Module HTMLtree:HTML_COMMENT_NODE
+HTML_ENTITY_REF_NODE
+HTML_PI_NODE
+HTML_PRESERVE_NODE
+HTML_TEXT_NODE
+htmlDocContentDumpFormatOutput
+htmlDocContentDumpOutput
+htmlDocDump
+htmlDocDumpMemory
+htmlDocDumpMemoryFormat
+htmlGetMetaEncoding
+htmlIsBooleanAttr
+htmlNewDoc
+htmlNewDocNoDtD
+htmlNodeDump
+htmlNodeDumpFile
+htmlNodeDumpFileFormat
+htmlNodeDumpFormatOutput
+htmlNodeDumpOutput
+htmlSaveFile
+htmlSaveFileEnc
+htmlSaveFileFormat
+htmlSetMetaEncoding
+Module SAX:attribute
+attributeDecl
+cdataBlock
+characters
+checkNamespace
+comment
+elementDecl
+endDocument
+endElement
+entityDecl
+externalSubset
+getColumnNumber
+getEntity
+getLineNumber
+getNamespace
+getParameterEntity
+getPublicId
+getSystemId
+globalNamespace
+hasExternalSubset
+hasInternalSubset
+ignorableWhitespace
+initdocbDefaultSAXHandler
+inithtmlDefaultSAXHandler
+initxmlDefaultSAXHandler
+internalSubset
+isStandalone
+namespaceDecl
+notationDecl
+processingInstruction
+reference
+resolveEntity
+setDocumentLocator
+setNamespace
+startDocu

[43/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/Makefile.tests
--
diff --git a/thirdparty/libxml2/Makefile.tests 
b/thirdparty/libxml2/Makefile.tests
new file mode 100644
index 000..619cbfb
--- /dev/null
+++ b/thirdparty/libxml2/Makefile.tests
@@ -0,0 +1,41 @@
+#
+# You may have to ajust to call the right compiler, or other oprions
+# for compiling and linking
+#
+
+CFLAGS=`xml2-config --cflags`
+LIBS=`xml2-config --libs`
+THREADLIB= -lpthread
+EXEEXT=
+
+all: runtest$(EXEEXT) runsuite$(EXEEXT) testapi$(EXEEXT) testchar$(EXEEXT)
+
+clean:
+   $(RM) runtest$(EXEEXT) runsuite$(EXEEXT) testapi$(EXEEXT)
+
+check: do_runtest do_testchar do_testapi do_runsuite
+
+runtest$(EXEEXT): runtest.c
+   $(CC) -o runtest$(EXEEXT) $(CFLAGS) runtest.c $(LIBS) $(THREADLIB)
+
+do_runtest: runtest$(EXEEXT)
+   ./runtest
+
+runsuite$(EXEEXT): runsuite.c
+   $(CC) -o runsuite$(EXEEXT) $(CFLAGS) runsuite.c $(LIBS)
+
+do_runsuite: runsuite$(EXEEXT)
+   ./runsuite
+
+testapi$(EXEEXT): testapi.c
+   $(CC) -o testapi$(EXEEXT) $(CFLAGS) testapi.c $(LIBS)
+
+do_testapi: testapi$(EXEEXT)
+   ./testapi
+
+testchar$(EXEEXT): testchar.c
+   $(CC) -o testchar$(EXEEXT) $(CFLAGS) testchar.c $(LIBS)
+
+do_testchar: testchar$(EXEEXT)
+   ./testchar
+



[36/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/catalog.c
--
diff --git a/thirdparty/libxml2/catalog.c b/thirdparty/libxml2/catalog.c
new file mode 100644
index 000..5773db3
--- /dev/null
+++ b/thirdparty/libxml2/catalog.c
@@ -0,0 +1,3825 @@
+/**
+ * catalog.c: set of generic Catalog related routines
+ *
+ * Reference:  SGML Open Technical Resolution TR9401:1997.
+ * http://www.jclark.com/sp/catalog.htm
+ *
+ * XML Catalogs Working Draft 06 August 2001
+ * http://www.oasis-open.org/committees/entity/spec-2001-08-06.html
+ *
+ * See Copyright for the status of this software.
+ *
+ * daniel.veill...@imag.fr
+ */
+
+#define IN_LIBXML
+#include "libxml.h"
+
+#ifdef LIBXML_CATALOG_ENABLED
+#ifdef HAVE_SYS_TYPES_H
+#include 
+#endif
+#ifdef HAVE_SYS_STAT_H
+#include 
+#endif
+#ifdef HAVE_UNISTD_H
+#include 
+#endif
+#ifdef HAVE_FCNTL_H
+#include 
+#endif
+#ifdef HAVE_STDLIB_H
+#include 
+#endif
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#include "buf.h"
+
+#define MAX_DELEGATE   50
+#define MAX_CATAL_DEPTH50
+
+#ifdef _WIN32
+# define PATH_SEAPARATOR ';'
+#else
+# define PATH_SEAPARATOR ':'
+#endif
+
+/**
+ * TODO:
+ *
+ * macro to flag unimplemented blocks
+ * XML_CATALOG_PREFER user env to select between system/public prefered
+ * option. C.f. Richard Tobin 
+ *> Just FYI, I am using an environment variable XML_CATALOG_PREFER with
+ *> values "system" and "public".  I have made the default be "system" to
+ *> match yours.
+ */
+#define TODO   \
+xmlGenericError(xmlGenericErrorContext,\
+   "Unimplemented block at %s:%d\n",   \
+__FILE__, __LINE__);
+
+#define XML_URN_PUBID "urn:publicid:"
+#define XML_CATAL_BREAK ((xmlChar *) -1)
+#ifndef XML_XML_DEFAULT_CATALOG
+#define XML_XML_DEFAULT_CATALOG "file:///etc/xml/catalog"
+#endif
+#ifndef XML_SGML_DEFAULT_CATALOG
+#define XML_SGML_DEFAULT_CATALOG "file:///etc/sgml/catalog"
+#endif
+
+#if defined(_WIN32) && defined(_MSC_VER)
+#undef XML_XML_DEFAULT_CATALOG
+static char XML_XML_DEFAULT_CATALOG[256] = "file:///etc/xml/catalog";
+#if defined(_WIN32_WCE)
+/* Windows CE don't have a A variant */
+#define GetModuleHandleA GetModuleHandle
+#define GetModuleFileNameA GetModuleFileName
+#else
+#if !defined(_WINDOWS_)
+void* __stdcall GetModuleHandleA(const char*);
+unsigned long __stdcall GetModuleFileNameA(void*, char*, unsigned long);
+#endif
+#endif
+#endif
+
+static xmlChar *xmlCatalogNormalizePublic(const xmlChar *pubID);
+static int xmlExpandCatalog(xmlCatalogPtr catal, const char *filename);
+
+/
+ * *
+ * Types, all private  *
+ * *
+ /
+
+typedef enum {
+XML_CATA_REMOVED = -1,
+XML_CATA_NONE = 0,
+XML_CATA_CATALOG,
+XML_CATA_BROKEN_CATALOG,
+XML_CATA_NEXT_CATALOG,
+XML_CATA_GROUP,
+XML_CATA_PUBLIC,
+XML_CATA_SYSTEM,
+XML_CATA_REWRITE_SYSTEM,
+XML_CATA_DELEGATE_PUBLIC,
+XML_CATA_DELEGATE_SYSTEM,
+XML_CATA_URI,
+XML_CATA_REWRITE_URI,
+XML_CATA_DELEGATE_URI,
+SGML_CATA_SYSTEM,
+SGML_CATA_PUBLIC,
+SGML_CATA_ENTITY,
+SGML_CATA_PENTITY,
+SGML_CATA_DOCTYPE,
+SGML_CATA_LINKTYPE,
+SGML_CATA_NOTATION,
+SGML_CATA_DELEGATE,
+SGML_CATA_BASE,
+SGML_CATA_CATALOG,
+SGML_CATA_DOCUMENT,
+SGML_CATA_SGMLDECL
+} xmlCatalogEntryType;
+
+typedef struct _xmlCatalogEntry xmlCatalogEntry;
+typedef xmlCatalogEntry *xmlCatalogEntryPtr;
+struct _xmlCatalogEntry {
+struct _xmlCatalogEntry *next;
+struct _xmlCatalogEntry *parent;
+struct _xmlCatalogEntry *children;
+xmlCatalogEntryType type;
+xmlChar *name;
+xmlChar *value;
+xmlChar *URL;  /* The expanded URL using the base */
+xmlCatalogPrefer prefer;
+int dealloc;
+int depth;
+struct _xmlCatalogEntry *group;
+};
+
+typedef enum {
+XML_XML_CATALOG_TYPE = 1,
+XML_SGML_CATALOG_TYPE
+} xmlCatalogType;
+
+#define XML_MAX_SGML_CATA_DEPTH 10
+struct _xmlCatalog {
+xmlCatalogType type;   /* either XML or SGML */
+
+/*
+ * SGML Catalogs are stored as a simple hash table of catalog entries
+ * Catalog stack to check against overflows when building the
+ * SGML catalog
+ */
+char *catalTab[XML_MAX_SGML_CATA_DEPTH];   /* stack of catals */
+int  catalNr;  /* Number of current catal streams */
+int  catalMax; /* Max number of catal streams */
+xmlHashTablePtr sgml;
+
+

[44/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/Makefile.in
--
diff --git a/thirdparty/libxml2/Makefile.in b/thirdparty/libxml2/Makefile.in
new file mode 100644
index 000..edf924b
--- /dev/null
+++ b/thirdparty/libxml2/Makefile.in
@@ -0,0 +1,2935 @@
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+
+
+
+VPATH = @srcdir@
+am__is_gnu_make = { \
+  if test -z '$(MAKELEVEL)'; then \
+false; \
+  elif test -n '$(MAKE_HOST)'; then \
+true; \
+  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+true; \
+  else \
+false; \
+  fi; \
+}
+am__make_running_with_option = \
+  case $${target_option-} in \
+  ?) ;; \
+  *) echo "am__make_running_with_option: internal error: invalid" \
+  "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+sane_makeflags=$$MFLAGS; \
+  else \
+case $$MAKEFLAGS in \
+  *\\[\ \  ]*) \
+bs=\\; \
+sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+  | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
+esac; \
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+test $$skip_next = yes && { skip_next=no; continue; }; \
+case $$flg in \
+  *=*|--*) continue;; \
+-*I) strip_trailopt 'I'; skip_next=yes;; \
+  -*I?*) strip_trailopt 'I';; \
+-*O) strip_trailopt 'O'; skip_next=yes;; \
+  -*O?*) strip_trailopt 'O';; \
+-*l) strip_trailopt 'l'; skip_next=yes;; \
+  -*l?*) strip_trailopt 'l';; \
+  -[dEDm]) skip_next=yes;; \
+  -[JT]) skip_next=yes;; \
+esac; \
+case $$flg in \
+  *$$target_option*) has_opt=yes; break;; \
+esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+noinst_PROGRAMS = testSchemas$(EXEEXT) testRelax$(EXEEXT) \
+   testSAX$(EXEEXT) testHTML$(EXEEXT) testXPath$(EXEEXT) \
+   testURI$(EXEEXT) testThreads$(EXEEXT) testC14N$(EXEEXT) \
+   testAutomata$(EXEEXT) testRegexp$(EXEEXT) testReader$(EXEEXT) \
+   testapi$(EXEEXT) testModule$(EXEEXT) runtest$(EXEEXT) \
+   runsuite$(EXEEXT) testchar$(EXEEXT) testdict$(EXEEXT) \
+   runxmlconf$(EXEEXT) testrecurse$(EXEEXT) testlimits$(EXEEXT)
+bin_PROGRAMS = xmllint$(EXEEXT) xmlcatalog$(EXEEXT)
+subdir = .
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+   $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+   $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+   $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+   $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
+   $(am__configure_deps) $(am__DIST_COMMON)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES = libxml2.spec libxml-2.0.pc \
+   libxml-2.0-uninstalled.pc libxml2-config.cmake xml2-config
+CONFIG_CLEAN_VPATH_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+*) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$

[46/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/HTMLtree.c
--
diff --git a/thirdparty/libxml2/HTMLtree.c b/thirdparty/libxml2/HTMLtree.c
new file mode 100644
index 000..2fd0c9c
--- /dev/null
+++ b/thirdparty/libxml2/HTMLtree.c
@@ -0,0 +1,1281 @@
+/*
+ * HTMLtree.c : implementation of access function for an HTML tree.
+ *
+ * See Copyright for the status of this software.
+ *
+ * dan...@veillard.com
+ */
+
+
+#define IN_LIBXML
+#include "libxml.h"
+#ifdef LIBXML_HTML_ENABLED
+
+#include  /* for memset() only ! */
+
+#ifdef HAVE_CTYPE_H
+#include 
+#endif
+#ifdef HAVE_STDLIB_H
+#include 
+#endif
+
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#include "buf.h"
+
+/
+ * *
+ * Getting/Setting encoding meta tags  *
+ * *
+ /
+
+/**
+ * htmlGetMetaEncoding:
+ * @doc:  the document
+ *
+ * Encoding definition lookup in the Meta tags
+ *
+ * Returns the current encoding as flagged in the HTML source
+ */
+const xmlChar *
+htmlGetMetaEncoding(htmlDocPtr doc) {
+htmlNodePtr cur;
+const xmlChar *content;
+const xmlChar *encoding;
+
+if (doc == NULL)
+   return(NULL);
+cur = doc->children;
+
+/*
+ * Search the html
+ */
+while (cur != NULL) {
+   if ((cur->type == XML_ELEMENT_NODE) && (cur->name != NULL)) {
+   if (xmlStrEqual(cur->name, BAD_CAST"html"))
+   break;
+   if (xmlStrEqual(cur->name, BAD_CAST"head"))
+   goto found_head;
+   if (xmlStrEqual(cur->name, BAD_CAST"meta"))
+   goto found_meta;
+   }
+   cur = cur->next;
+}
+if (cur == NULL)
+   return(NULL);
+cur = cur->children;
+
+/*
+ * Search the head
+ */
+while (cur != NULL) {
+   if ((cur->type == XML_ELEMENT_NODE) && (cur->name != NULL)) {
+   if (xmlStrEqual(cur->name, BAD_CAST"head"))
+   break;
+   if (xmlStrEqual(cur->name, BAD_CAST"meta"))
+   goto found_meta;
+   }
+   cur = cur->next;
+}
+if (cur == NULL)
+   return(NULL);
+found_head:
+cur = cur->children;
+
+/*
+ * Search the meta elements
+ */
+found_meta:
+while (cur != NULL) {
+   if ((cur->type == XML_ELEMENT_NODE) && (cur->name != NULL)) {
+   if (xmlStrEqual(cur->name, BAD_CAST"meta")) {
+   xmlAttrPtr attr = cur->properties;
+   int http;
+   const xmlChar *value;
+
+   content = NULL;
+   http = 0;
+   while (attr != NULL) {
+   if ((attr->children != NULL) &&
+   (attr->children->type == XML_TEXT_NODE) &&
+   (attr->children->next == NULL)) {
+   value = attr->children->content;
+   if ((!xmlStrcasecmp(attr->name, BAD_CAST"http-equiv"))
+&& (!xmlStrcasecmp(value, BAD_CAST"Content-Type")))
+   http = 1;
+   else if ((value != NULL)
+&& (!xmlStrcasecmp(attr->name, BAD_CAST"content")))
+   content = value;
+   if ((http != 0) && (content != NULL))
+   goto found_content;
+   }
+   attr = attr->next;
+   }
+   }
+   }
+   cur = cur->next;
+}
+return(NULL);
+
+found_content:
+encoding = xmlStrstr(content, BAD_CAST"charset=");
+if (encoding == NULL)
+   encoding = xmlStrstr(content, BAD_CAST"Charset=");
+if (encoding == NULL)
+   encoding = xmlStrstr(content, BAD_CAST"CHARSET=");
+if (encoding != NULL) {
+   encoding += 8;
+} else {
+   encoding = xmlStrstr(content, BAD_CAST"charset =");
+   if (encoding == NULL)
+   encoding = xmlStrstr(content, BAD_CAST"Charset =");
+   if (encoding == NULL)
+   encoding = xmlStrstr(content, BAD_CAST"CHARSET =");
+   if (encoding != NULL)
+   encoding += 9;
+}
+if (encoding != NULL) {
+   while ((*encoding == ' ') || (*encoding == '\t')) encoding++;
+}
+return(encoding);
+}
+
+/**
+ * htmlSetMetaEncoding:
+ * @doc:  the document
+ * @encoding:  the encoding string
+ *
+ * Sets the current encoding in the Meta tags
+ * NOTE: this will not change the document content encoding, just
+ * the META flag associated.
+ *
+ * Returns 0 in case of success and -1 in case of error
+ */
+int
+htmlSetMetaEncoding(htmlDocPtr doc, const xmlChar *encoding) {
+htmlNodePtr cur, meta = NU

[19/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk2.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk2.html 
b/thirdparty/libxml2/doc/APIchunk2.html
new file mode 100644
index 000..1d10f93
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk2.html
@@ -0,0 +1,416 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index D-E for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex D-E for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter D:DEBUG_MEMORYDEBUG_MEMORY
+DEBUG_MEMORY_FREEDDEBUG_MEMORY
+DEBUG_MEMORY_LOCATIONDEBUG_MEMORY
+DELExmlNanoFTPDele
+DELEGATExmlLoadSGMLSuperCatalog
+DEMOgetPublicId
+xmlSAX2GetPublicId
+DEPRECATEDcheckNamespace
+getNamespace
+globalNamespace
+namespaceDecl
+setDocumentLocator
+setNamespace
+xmlCatalogGetPublic
+xmlCatalogGetSystem
+xmlIsBaseChar
+xmlIsBlank
+xmlIsChar
+xmlIsCombining
+xmlIsDigit
+xmlIsExtender
+xmlIsIdeographic
+xmlIsPubidChar
+xmlNewGlobalNs
+DIGITxmlCheckLanguageID
+DOCTYPExmlParseDocTypeDecl
+DOM-wrapperxmlDOMWrapFreeCtxt
+xmlDOMWrapNewCtxt
+DTDsXML_COMPLETE_ATTRS
+xmlParserHandlePEReference
+DataxmlParseCDSect
+DatatypexmlRegexpCompile
+DatatypesxmlSchemaGetBuiltInListSimpleTypeItemType
+DeallocatexmlFreeAttributeTable
+xmlFreeElementTable
+xmlFreeEntitiesTable
+xmlFreeIDTable
+xmlFreeNotationTable
+xmlFreeRefTable
+xmlFreeTextReader
+xmlFreeTextWriter
+xmlRelaxNGFree
+xmlSchemaFree
+xmlSchemaFreeFacet
+xmlSchemaFreeType
+xmlSchematronFree
+DeallocatesxmlSchemaFreeWildcard
+DebuggingLIBXML_DEBUG_ENABLED
+xmlExpCtxtNbCons
+xmlExpCtxtNbNodes
+DeclarationxmlParseElementDecl
+xmlParseMarkupDecl
+xmlParseSDDecl
+xmlValidCtxtNormalizeAttributeValue
+xmlValidateElementDecl
+DeclaredxmlParseEntityDecl
+xmlParseEntityRef
+xmlParsePEReference
+xmlParserHandlePEReference
+xmlParserHandleReference
+xmlValidateNotationUse
+DefaultxmlHandleEntity
+xmlParseAttributeType
+xmlParseDefaultDecl
+xmlValidateAttributeDecl
+xmlValidateOneAttribute
+xmlValidateOneNamespace
+DefaultDeclxmlParseAttributeListDecl
+xmlParseDefaultDecl
+DeletesxmlListDelete
+Depth_xmlParserCtxt
+_xmlValidCtxt
+DereferencexmlExpFree
+DeregisterNodeFuncxmlDeregisterNodeDefault
+DeseretxmlUCSIsDeseret
+DeterminehtmlIsBooleanAttr
+xmlIsID
+xmlIsRef
+xmlTextReaderConstEncoding
+xmlTextReaderConstXmlVersion
+xmlTextReaderIsNamespaceDecl
+xmlTextReaderStandalone
+DevanagarixmlUCSIsDevanagari
+DifferentxmlStreamPushNode
+DigitIS_DIGIT
+xmlNamespaceParseNCName
+xmlParseName
+xmlScanName
+xmlXPathParseNCName
+xmlXPathParseName
+DigitsxmlXPathStringEvalNumber
+Digits?xmlXPathStringEvalNumber
+DingbatsxmlUCSIsDingbats
+DisplayerrorSAXFunc
+fatalErrorSAXFunc
+warningSAXFunc
+xmlParserError
+xmlParserValidityError
+xmlParserValidityWarning
+xmlParserWarning
+DisplaysxmlParserPrintFileContext
+xmlParserPrintFileInfo
+DocBookdocbCreatePushParserCtxt
+initdocbDefaultSAXHandler
+xmlSAX2InitDocbDefaultSAXHandler
+DocbookLIBXML_DOCB_ENABLED
+_xmlParserCtxt
+docbParseFile
+DocumentxmlDocDumpFormatMemoryEnc
+xmlDocDumpMemoryEn

[32/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/configure
--
diff --git a/thirdparty/libxml2/configure b/thirdparty/libxml2/configure
new file mode 100755
index 000..f32b775
--- /dev/null
+++ b/thirdparty/libxml2/configure
@@ -0,0 +1,18613 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.69.
+#
+#
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+##  ##
+## M4sh Initialization. ##
+##  ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+  emulate sh
+  NULLCMD=:
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '${1+"$@"}'='"$@"'
+  setopt NO_GLOB_SUBST
+else
+  case `(set -o) 2>/dev/null` in #(
+  *posix*) :
+set -o posix ;; #(
+  *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='print -r --'
+  as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='printf %s\n'
+  as_echo_n='printf %s'
+else
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; 
then
+as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+as_echo_n='/usr/ucb/echo -n'
+  else
+as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+as_echo_n_body='eval
+  arg=$1;
+  case $arg in #(
+  *"$as_nl"*)
+   expr "X$arg" : "X\\(.*\\)$as_nl";
+   arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+  esac;
+  expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+'
+export as_echo_n_body
+as_echo_n='sh -c $as_echo_n_body as_echo'
+  fi
+  export as_echo_body
+  as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+  PATH_SEPARATOR=:
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+  PATH_SEPARATOR=';'
+  }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order.  Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" ""   $as_nl"
+
+# Find who we are.  Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+  *[\\/]* ) as_myself=$0 ;;
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+  done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+  as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file 
name" >&2
+  exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there.  '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Use a proper internal environment variable to ensure we don't fall
+  # into an infinite loop, continuously re-executing ourselves.
+  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+_as_can_reexec=no; export _as_can_reexec;
+# We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # 
+  *v*x* | *

[01/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
Repository: nifi-minifi-cpp
Updated Branches:
  refs/heads/master 3c31fc294 -> 955f7ab51


http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/architecture.html
--
diff --git a/thirdparty/libxml2/doc/architecture.html 
b/thirdparty/libxml2/doc/architecture.html
new file mode 100644
index 000..62a922f
--- /dev/null
+++ b/thirdparty/libxml2/doc/architecture.html
@@ -0,0 +1,24 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+libxml2 architecturehttp://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of Gnomelibxml2 
architectureDeveloper MenuMain MenuReference ManualCode 
ExamplesXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, stylesheetcellpadding="3">align="center">API Indexesbgcolor="#fffacd">Alphabetichref="APIconstructors.html">Constructorshref="APIfunctions.html">Functions/Typeshref="APIfiles.html">Moduleshref="APIsymbols.html">Symbolswidth="100%" border="0" cellspacing="1" cellpadding="3">bgcolor="#eecfa1" align="center">Related 
 >linkshref="http://mail.gnome.org/archives/xml/";>Mail archivehref="http://xmlsoft.org/XSLT/";>XSLT libxslthref="http://phd.cs.unibo.it/gdome2/";>DOM gdome2href="http://www.aleksey.com/xmlsec/";>XML-DSig xmlsechref="ftp://xmlsoft.org/";>FTPhttp://ww
 w.zlatkovic.com/projects/libxml/">Windows binarieshttp://opencsw.org/packages/libxml2";>Solaris binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerLibxml2 is made of multiple components; some of them are 
optional, and
+most of the block interfaces are public. The main components are:
+  an Input/Output layer
+  FTP and HTTP client layers (optional)
+  an Internationalization layer managing the encodings support
+  a URI module
+  the XML parser and its basic SAX interface
+  an HTML parser using the same SAX interface (optional)
+  a SAX tree module to build an in-memory DOM representation
+  a tree module to manipulate the DOM representation
+  a validation module using the DOM representation (optional)
+  an XPath module for global lookup in a DOM representation
+  (optional)
+  a debug module (optional)
+Graphically this gives the following:Daniel 
Veillard



[42/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/NEWS
--
diff --git a/thirdparty/libxml2/NEWS b/thirdparty/libxml2/NEWS
new file mode 100644
index 000..8027d55
--- /dev/null
+++ b/thirdparty/libxml2/NEWS
@@ -0,0 +1,2642 @@
+
+NEWS file for libxml2
+
+  Note that this is automatically generated from the news webpage at:
+   http://xmlsoft.org/news.html
+
+The change log at 
+ChangeLog.html
+ describes the recents commits
+to the GIT at 
+http://git.gnome.org/browse/libxml2/
+ code base.Here is the list of public releases:
+2.9.2: Oct 16 2014:
+   - Security:
+  Fix for CVE-2014-3660 billion laugh variant (Daniel Veillard),
+  CVE-2014-0191 Do not fetch external parameter entities (Daniel Veillard)
+  
+   - Bug Fixes:
+  fix memory leak xml header encoding field with XML_PARSE_IGNORE_ENC (Bart De 
Schuymer),
+  xmlmemory: handle realloc properly (Yegor Yefremov),
+  Python generator bug raised by the const change (Daniel Veillard),
+  Windows Critical sections not released correctly (Daniel Veillard),
+  Parser error on repeated recursive entity expansion containing < (Daniel 
Veillard),
+  xpointer : fixing Null Pointers (Gaurav Gupta),
+  Remove Unnecessary Null check in xpointer.c (Gaurav Gupta),
+  parser bug on misformed namespace attributes (Dennis Filder),
+  Pointer dereferenced before null check (Daniel Veillard),
+  Leak of struct addrinfo in xmlNanoFTPConnect() (Gaurav Gupta),
+  Possible overflow in HTMLParser.c (Daniel Veillard),
+  python/tests/sync.py assumes Python dictionaries are ordered (John Beck),
+  Fix Enum check and missing break (Gaurav Gupta),
+  xmlIO: Handle error returns from dup() (Philip Withnall),
+  Fix a problem properly saving URIs (Daniel Veillard),
+  wrong error column in structured error when parsing attribute values 
(Juergen Keil),
+  wrong error column in structured error when skipping whitespace in xml decl 
(Juergen Keil),
+  no error column in structured error handler for xml schema validation errors 
(Juergen Keil),
+  Couple of Missing Null checks (Gaurav Gupta),
+  Add couple of missing Null checks (Daniel Veillard),
+  xmlschemastypes: Fix potential array overflow (Philip Withnall),
+  runtest: Fix a memory leak on parse failure (Philip Withnall),
+  xmlIO: Fix an FD leak on gzdopen() failure (Philip Withnall),
+  xmlcatalog: Fix a memory leak on quit (Philip Withnall),
+  HTMLparser: Correctly initialise a stack allocated structure (Philip 
Withnall),
+  Check for tmon in _xmlSchemaDateAdd() is incorrect (David Kilzer),
+  Avoid Possible Null Pointer in trio.c (Gaurav Gupta),
+  Fix processing in SAX2 in case of an allocation failure (Daniel Veillard),
+  XML Shell command "cd" does not handle "/" at end of path (Daniel Veillard),
+  Fix various Missing Null checks (Gaurav Gupta),
+  Fix a potential NULL dereference (Daniel Veillard),
+  Add a couple of misisng check in xmlRelaxNGCleanupTree (Gaurav Gupta),
+  Add a missing argument check (Gaurav Gupta),
+  Adding a check in case of allocation error (Gaurav Gupta),
+  xmlSaveUri() incorrectly recomposes URIs with rootless paths (Dennis Filder),
+  Adding some missing NULL checks (Gaurav),
+  Fixes for xmlInitParserCtxt (Daniel Veillard),
+  Fix regressions introduced by CVE-2014-0191 patch (Daniel Veillard),
+  erroneously ignores a validation error if no error callback set (Daniel 
Veillard),
+  xmllint was not parsing the --c14n11 flag (Sérgio Batista),
+  Avoid Possible null pointer dereference in memory debug mode (Gaurav),
+  Avoid Double Null Check (Gaurav),
+  Restore context size and position after XPATH_OP_ARG (Nick Wellnhofer),
+  Fix xmlParseInNodeContext() if node is not element (Daniel Veillard),
+  Avoid a possible NULL pointer dereference (Gaurav),
+  Fix xmlTextWriterWriteElement when a null content is given (Daniel Veillard),
+  Fix an typo 'onrest' in htmlScriptAttributes (Daniel Veillard),
+  fixing a ptotential uninitialized access (Daniel Veillard),
+  Fix an fd leak in an error case (Daniel Veillard),
+  Missing initialization for the catalog module (Daniel Veillard),
+  Handling of XPath function arguments in error case (Nick Wellnhofer),
+  Fix a couple of missing NULL checks (Gaurav),
+  Avoid a possibility of dangling encoding handler (Gaurav),
+  Fix HTML push parser to accept HTML_PARSE_NODEFDTD (Arnold Hendriks),
+  Fix a bug loading some compressed files (Mike Alexander),
+  Fix XPath node comparison bug (Gaurav),
+  Type mismatch in xmlschemas.c (Gaurav),
+  Type mismatch in xmlschemastypes.c (Gaurav),
+  Avoid a deadcode in catalog.c (Daniel Veillard),
+  run close socket on Solaris, same as we do on other platforms (Denis Pauk),
+  Fix pointer dereferenced before null check (Gaurav),
+  Fix a potential NULL dereference in tree code (Daniel Veillard),
+  Fix potential NULL pointer dereferences in regexp code (Gaurav),
+  xmllint --pretty crashed without f

[45/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/Makefile.am
--
diff --git a/thirdparty/libxml2/Makefile.am b/thirdparty/libxml2/Makefile.am
new file mode 100644
index 000..70720f3
--- /dev/null
+++ b/thirdparty/libxml2/Makefile.am
@@ -0,0 +1,1279 @@
+## Process this file with automake to produce Makefile.in
+
+ACLOCAL_AMFLAGS = -I m4
+
+SUBDIRS = include . doc example xstc $(PYTHON_SUBDIR)
+
+DIST_SUBDIRS = include . doc example python xstc
+
+AM_CPPFLAGS = -I$(top_builddir)/include -I$(srcdir)/include
+
+AM_CFLAGS = $(THREAD_CFLAGS) $(Z_CFLAGS) $(LZMA_CFLAGS)
+
+noinst_PROGRAMS=testSchemas testRelax testSAX testHTML testXPath testURI \
+testThreads testC14N testAutomata testRegexp \
+testReader testapi testModule runtest runsuite testchar \
+   testdict runxmlconf testrecurse testlimits
+
+bin_PROGRAMS = xmllint xmlcatalog
+
+bin_SCRIPTS=xml2-config
+
+lib_LTLIBRARIES = libxml2.la
+libxml2_la_LIBADD = $(ICU_LIBS) $(THREAD_LIBS) $(Z_LIBS) $(LZMA_LIBS) 
$(ICONV_LIBS) $(M_LIBS) $(WIN32_EXTRA_LIBADD)
+
+if USE_VERSION_SCRIPT
+LIBXML2_VERSION_SCRIPT = $(VERSION_SCRIPT_FLAGS)$(srcdir)/libxml2.syms
+else
+LIBXML2_VERSION_SCRIPT =
+endif
+
+libxml2_la_LDFLAGS = $(CYGWIN_EXTRA_LDFLAGS) $(WIN32_EXTRA_LDFLAGS) \
+$(LIBXML2_VERSION_SCRIPT) \
+-version-info $(LIBXML_VERSION_INFO) \
+$(MODULE_PLATFORM_LIBS)
+
+if WITH_SAX1_SOURCES
+docb_sources = DOCBparser.c
+else
+docb_sources =
+endif
+
+if WITH_TRIO_SOURCES
+trio_sources = triostr.c trio.c
+else
+trio_sources =
+endif
+
+libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c  \
+   parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c  \
+   valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c  \
+   xpointer.c xinclude.c nanohttp.c nanoftp.c \
+   $(docb_sources) \
+   catalog.c globals.c threads.c c14n.c xmlstring.c buf.c \
+   xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
+   $(trio_sources) \
+   xmlreader.c relaxng.c dict.c SAX2.c \
+   xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c \
+   xmlmodule.c schematron.c xzlib.c
+
+DEPS = $(top_builddir)/libxml2.la
+LDADDS = $(STATIC_BINARIES) $(top_builddir)/libxml2.la $(THREAD_LIBS) 
$(Z_LIBS) $(LZMA_LIBS) $(ICONV_LIBS) $(M_LIBS) $(WIN32_EXTRA_LIBADD)
+
+
+man_MANS = xml2-config.1 libxml.3
+
+m4datadir = $(datadir)/aclocal
+m4data_DATA = libxml.m4
+
+runtest_SOURCES=runtest.c
+runtest_LDFLAGS = 
+runtest_DEPENDENCIES = $(DEPS)
+runtest_LDADD= $(BASE_THREAD_LIBS) $(RDL_LIBS) $(LDADDS)
+
+testrecurse_SOURCES=testrecurse.c
+testrecurse_LDFLAGS = 
+testrecurse_DEPENDENCIES = $(DEPS)
+testrecurse_LDADD= $(BASE_THREAD_LIBS) $(RDL_LIBS) $(LDADDS)
+
+testlimits_SOURCES=testlimits.c
+testlimits_LDFLAGS = 
+testlimits_DEPENDENCIES = $(DEPS)
+testlimits_LDADD= $(BASE_THREAD_LIBS) $(RDL_LIBS) $(LDADDS)
+
+testchar_SOURCES=testchar.c
+testchar_LDFLAGS = 
+testchar_DEPENDENCIES = $(DEPS)
+testchar_LDADD= $(RDL_LIBS) $(LDADDS)
+
+testdict_SOURCES=testdict.c
+testdict_LDFLAGS = 
+testdict_DEPENDENCIES = $(DEPS)
+testdict_LDADD= $(RDL_LIBS) $(LDADDS)
+
+runsuite_SOURCES=runsuite.c
+runsuite_LDFLAGS = 
+runsuite_DEPENDENCIES = $(DEPS)
+runsuite_LDADD= $(RDL_LIBS) $(LDADDS)
+
+xmllint_SOURCES=xmllint.c
+xmllint_LDFLAGS = 
+xmllint_DEPENDENCIES = $(DEPS)
+xmllint_LDADD=  $(RDL_LIBS) $(LDADDS)
+
+testSAX_SOURCES=testSAX.c
+testSAX_LDFLAGS = 
+testSAX_DEPENDENCIES = $(DEPS)
+testSAX_LDADD= $(LDADDS)
+
+testHTML_SOURCES=testHTML.c
+testHTML_LDFLAGS = 
+testHTML_DEPENDENCIES = $(DEPS)
+testHTML_LDADD= $(LDADDS)
+
+xmlcatalog_SOURCES=xmlcatalog.c
+xmlcatalog_LDFLAGS = 
+xmlcatalog_DEPENDENCIES = $(DEPS)
+xmlcatalog_LDADD = $(RDL_LIBS) $(LDADDS)
+
+testXPath_SOURCES=testXPath.c
+testXPath_LDFLAGS = 
+testXPath_DEPENDENCIES = $(DEPS)
+testXPath_LDADD= $(LDADDS)
+
+testC14N_SOURCES=testC14N.c
+testC14N_LDFLAGS = 
+testC14N_DEPENDENCIES = $(DEPS)
+testC14N_LDADD= $(LDADDS)
+
+if THREADS_W32
+testThreads_SOURCES = testThreadsWin32.c
+else
+testThreads_SOURCES = testThreads.c
+endif
+testThreads_LDFLAGS = 
+testThreads_DEPENDENCIES = $(DEPS)
+testThreads_LDADD= $(BASE_THREAD_LIBS) $(LDADDS)
+
+testURI_SOURCES=testURI.c
+testURI_LDFLAGS = 
+testURI_DEPENDENCIES = $(DEPS)
+testURI_LDADD= $(LDADDS)
+
+testRegexp_SOURCES=testRegexp.c
+testRegexp_LDFLAGS = 
+testRegexp_DEPENDENCIES = $(DEPS)
+testRegexp_LDADD= $(LDADDS)
+
+testAutomata_SOURCES=testAutomata.c
+testAutomata_LDFLAGS = 
+testAutomata_DEPENDENCIES = $(DEPS)
+testAutomata_LDADD= $(LDADDS)
+
+testSchemas_SOURCES=testSchemas.c
+testSchemas_LDFLAGS = 
+testSchemas_DEPENDENCIES = $(DEPS)
+testSchemas_LDADD= $(LDADDS)
+
+testRelax_SOURCES=testRelax.c
+testRelax_LDFLAGS = 
+testRelax_DEPENDENCIES = $(DEPS)
+testRelax_LDADD=

[34/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/config.guess
--
diff --git a/thirdparty/libxml2/config.guess b/thirdparty/libxml2/config.guess
new file mode 100755
index 000..dbfb978
--- /dev/null
+++ b/thirdparty/libxml2/config.guess
@@ -0,0 +1,1421 @@
+#! /bin/sh
+# Attempt to guess a canonical system name.
+#   Copyright 1992-2015 Free Software Foundation, Inc.
+
+timestamp='2015-01-01'
+
+# This file 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 3 of the License, or
+# (at your option) any later version.
+#
+# 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.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see .
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that
+# program.  This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
+#
+# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
+#
+# You can get the latest version of this script from:
+# 
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+#
+# Please send patches to .
+
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION]
+
+Output the configuration name of the system \`$me' is run on.
+
+Operation modes:
+  -h, --help print this help, then exit
+  -t, --time-stamp   print date of last modification, then exit
+  -v, --version  print version number, then exit
+
+Report bugs and patches to ."
+
+version="\
+GNU config.guess ($timestamp)
+
+Originally written by Per Bothner.
+Copyright 1992-2015 Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+  case $1 in
+--time-stamp | --time* | -t )
+   echo "$timestamp" ; exit ;;
+--version | -v )
+   echo "$version" ; exit ;;
+--help | --h* | -h )
+   echo "$usage"; exit ;;
+-- ) # Stop option processing
+   shift; break ;;
+- )# Use stdin as input.
+   break ;;
+-* )
+   echo "$me: invalid option $1$help" >&2
+   exit 1 ;;
+* )
+   break ;;
+  esac
+done
+
+if test $# != 0; then
+  echo "$me: too many arguments$help" >&2
+  exit 1
+fi
+
+trap 'exit 1' 1 2 15
+
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
+# compiler to aid in system detection is discouraged as it requires
+# temporary files to be created and, as you can see below, it is a
+# headache to deal with in a portable fashion.
+
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
+# use `HOST_CC' if defined, but it is deprecated.
+
+# Portable tmp directory creation inspired by the Autoconf team.
+
+set_cc_for_build='
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && 
exit \$exitcode" 0 ;
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 
;
+: ${TMPDIR=/tmp} ;
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXX") 2>/dev/null` && test -n 
"$tmp" && test -d "$tmp" ; } ||
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) 
; } ||
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating 
insecure temp directory" >&2 ; } ||
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } 
;
+dummy=$tmp/dummy ;
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
+case $CC_FOR_BUILD,$HOST_CC,$CC in
+ ,,)echo "int x;" > $dummy.c ;
+   for c in cc gcc c89 c99 ; do
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
+CC_FOR_BUILD="$c"; break ;
+ fi ;
+   done ;
+   if test x"$CC_FOR_BUILD" = x ; then
+ CC_FOR_BUILD=no_compiler_found ;
+   fi
+   ;;
+ ,,*)   CC_FOR_BUILD=$CC ;;
+ ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
+esac ; set_cc_for_build= ;'
+
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+# (gh...@noc.rutgers.edu 1994-08-24)
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
+   PATH=$PATH:/.attbin ; export PATH
+fi
+
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+UNAME_RELEASE=`(uname -r) 2>/dev/n

[06/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIfunctions.html
--
diff --git a/thirdparty/libxml2/doc/APIfunctions.html 
b/thirdparty/libxml2/doc/APIfunctions.html
new file mode 100644
index 000..9027afe
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIfunctions.html
@@ -0,0 +1,2347 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+List of function manipulating types in 
libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeList of
  function manipulating types in 
libxml2Developer MenuMain MenuReference ManualCode ExamplesXML 
GuidelinesTutorialThe Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, 
 stylesheetAPI 
IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecFTPhttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerType 
...:errorSAXFunc
+fatalErrorSAXFunc
+warningSAXFunc
+xmlGenericErrorFunc
+xmlParserError
+xmlParserValidityError
+xmlParserValidityWarning
+xmlParserWarning
+xmlRelaxNGValidityErrorFunc
+xmlRelaxNGValidityWarningFunc
+xmlSchemaValidityErrorFunc
+xmlSchemaValidityWarningFunc
+xmlSchematronValidityErrorFunc
+xmlSchematronValidityWarningFunc
+xmlStrPrintf
+xmlTextWriterWriteFormatAttribute
+xmlTextWriterWriteFormatAttributeNS
+xmlTextWriterWriteFormatCDATA
+xmlTextWriterWriteFormatComment
+xmlTextWriterWriteFormatDTD
+xmlTextWriterWriteFormatDTDAttlist
+xmlTextWriterWriteFormatDTDElement
+xmlTextWriterWriteFormatDTDInternalEntity
+xmlTextWriterWriteFormatElement
+xmlTextWriterWriteFormatElementNS
+xmlTextWriterWriteFormatPI
+xmlTextWriterWriteFormatRaw
+xmlTextWriterWriteFormatString
+xmlValidityErrorFunc
+xmlValidityWarningFunc
+Type FILE *:htmlDocDump
+htmlNodeDumpFile
+htmlNodeDumpFileFormat
+xmlACatalogDump
+xmlBufferDump
+xmlCatalogDump
+xmlDebugCheckDocument
+xmlDebugDumpAttr
+xmlDebugDumpAttrList
+xmlDebugDumpDTD
+xmlDebugDumpDocument
+xmlDebugDumpDocumentHead
+xmlDebugDumpEntities
+xmlDebugDumpNode
+xmlDebugDumpNodeList
+xmlDebugDumpOneNode
+xmlDebugDumpString
+xmlDocDump
+xmlDocFormatDump
+xmlElemDump
+xmlLsOneNode
+xmlMemDisplay
+xmlMemDisplayLast
+xmlMemShow
+xmlOutputBufferCreateFile
+xmlParserInputBufferCreateFile
+xmlPrintURI
+xmlRegexpPrint
+xmlRelaxNGDump
+xmlRelaxNGDumpTree
+xmlSchemaDump
+xmlShell
+xmlXPathDebugDumpCompExpr
+xmlXPathDebugDumpObject
+Type char **:xmlNanoHTTPFetch
+xmlNanoHTTPMethod
+xmlNanoHTTPMethodRedir
+xmlNanoHTTPOpen
+xmlNanoHTTPOpenRedir
+Type char const *:xmlInputMatchCallback
+xmlInputOpenCallback
+xmlOutputMatchCallback
+xmlOutputOpenCallback
+Type const char **:xmlGetFeaturesList
+xmlSchemaValidityLocatorFunc
+Type const htmlElemDesc *:htmlAttrAllowed
+htmlElementAllowedHere
+htmlElementStatusHere
+Type const htmlNodePtr:htmlNodeStatus
+Type const unsigned char *:UTF8ToHtml
+UTF8Toisolat1
+docbEncodeEntities
+htmlEncodeEntities
+isolat1ToUTF8
+xmlCharEncodingInputFunc
+xmlCharEncodingOutputFunc
+xmlCheckUTF8
+xmlDetectCharEncoding
+xmlGetUTF8Char
+Type const void *:xmlListDataCompare
+xmlListReverseWalk
+xmlListWalk
+xmlListWalker
+Type const xlinkHRef:xlinkSimpleLinkFunk
+Type const xlinkHRef *:xlinkExtendedLinkFunk
+xlinkExtendedLinkSetFunk
+Type const xlinkRole:xlinkSimpleLinkFunk
+Type const xlinkRole *:xlinkExtendedLinkFunk
+xlinkExtendedLinkSetFunk
+Type const xlinkTitle:xlinkSimpleLinkFunk
+Type const xlinkTitle *:xlinkExtendedLinkFunk
+xlinkExtendedLinkSetFunk
+Type const xmlBuf *:xmlBufContent
+Type const xmlBufPtr:xmlBufUse
+Type const xmlBuffer *:xmlBufferContent
+xmlB

[54/56] [abbrv] nifi-minifi-cpp git commit: MINIFI-65 Providing make targets to generate a source and binary assembly. Removing target from version control.

2016-08-02 Thread aldrin
MINIFI-65 Providing make targets to generate a source and binary assembly. 
Removing target from version control.


Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/a376ed79
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/a376ed79
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/a376ed79

Branch: refs/heads/master
Commit: a376ed795eb40b220955b488842fc8cf1928b825
Parents: feaca2e
Author: Aldrin Piri 
Authored: Thu Jul 21 17:57:27 2016 -0400
Committer: Aldrin Piri 
Committed: Tue Aug 2 11:37:42 2016 -0400

--
 Makefile |  43 -
 target/conf/flow.xml | 285 --
 target/conf/flowServer.xml   | 130 --
 target/conf/flow_Site2SiteServer.xml | 140 ---
 target/conf/nifi.properties  | 191 
 5 files changed, 37 insertions(+), 752 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a376ed79/Makefile
--
diff --git a/Makefile b/Makefile
index 963f473..0bcfc35 100644
--- a/Makefile
+++ b/Makefile
@@ -14,13 +14,17 @@
 # See the License for the specific language governing permissions and
 # limitations under the License
 
+
 # for ARM make CROSS_COMPILE=arm-linux-gnueabi ARCH=arm
+VERSION=0.0.1
 CC=$(CROSS_COMPILE)-g++
 AR=$(CROSS_COMPILE)-ar
 BUILD_DIR= ./build
 TARGET_DIR=./target
+ASSEMBLIES_DIR = ./assemblies
 TARGET_LIB=libminifi.a
-TARGET_EXE=minifi
+PROJECT=minifi
+TARGET_EXE=$(PROJECT)
 ifeq ($(ARCH), arm)
 CFLAGS=-O0 -fexceptions -fpermissive -Wno-write-strings -std=c++11 -fPIC -Wall 
-g -Wno-unused-private-field -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 
-Wl,--whole-archive -lpthread -Wl,--no-whole-archive -lc
 INCLUDES=-I./inc -I./src -I./thirdparty -I./test 
-I./thirdparty/libxml2/include #-I/usr/local/opt/leveldb/include/
@@ -51,12 +55,14 @@ endif
 OBJS:=$(shell /bin/ls src/*.cpp | xargs -n1 basename 2>/dev/null |  awk 
'/\.cpp$$/{a=$$0; gsub("\\.cpp$$",".o", a); print "$(BUILD_DIR)/" a}')
 TESTS:=Server
 
-all: directory $(BUILD_DIR)/$(TARGET_LIB) minifi tests
+all: directory $(BUILD_DIR)/$(TARGET_LIB) minifi tests assemblies
 
+.PHONY: directory
 directory:
mkdir -p $(BUILD_DIR)
+   mkdir -p $(TARGET_DIR)
 ifeq ($(ARCH), arm)
-   make -C thirdparty/uuid CROSS_COMILE=$(CROSS_COMPILE)
+   make -C thirdparty/uuid CROSS_COMPILE=$(CROSS_COMPILE)
cd thirdparty/libxml2; ./configure --host=${CROSS_COMPILE} 
--target==${CROSSS_COMPILE} --without-python --without-zlib --enable-static 
--disable-shared; make; cd ../../
 else ifeq ($(ARCH), linux)
make -C thirdparty/uuid
@@ -73,14 +79,39 @@ minifi: $(BUILD_DIR)/$(TARGET_LIB)
$(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_DIR)/$(TARGET_EXE) 
main/MiNiFiMain.cpp $(LDDIRECTORY) $(LDFLAGS)
cp $(BUILD_DIR)/$(TARGET_EXE) $(TARGET_DIR)/$(TARGET_EXE)
 
+.PHONY: tests
 tests: $(BUILD_DIR)/$(TARGET_LIB)
$(foreach TEST_NAME, $(TESTS),\
$(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_DIR)/$(TEST_NAME) 
test/$(TEST_NAME).cpp $(LDDIRECTORY) $(LDFLAGS))
 
+$(ASSEMBLIES_DIR) :
+   mkdir -p $(ASSEMBLIES_DIR)
+
+$(ASSEMBLIES_DIR)/$(PROJECT)-$(VERSION)-source.tar.gz : $(ASSEMBLIES_DIR)
+   tar -czf $(ASSEMBLIES_DIR)/$(PROJECT)-$(VERSION)-source.tar.gz \
+   LICENSE \
+   NOTICE \
+   README.md \
+   inc \
+   src \
+   main \
+   conf \
+   thirdparty \
+   Makefile
+   
+$(ASSEMBLIES_DIR)/$(PROJECT)-$(VERSION)-bin.tar.gz : $(ASSEMBLIES_DIR) 
$(TARGET_EXE)
+   tar -czf $(ASSEMBLIES_DIR)/$(PROJECT)-$(VERSION)-bin.tar.gz \
+   LICENSE \
+   NOTICE \
+   README.md \
+   conf \
+   -C target minifi
+
+.PHONY: clean
 clean:
-   rm -rf $(BUILD_DIR)/*
-   rm -rf $(TARGET_DIR)/$(TARGET_EXE)
-   cp -r $(TARGET_DIR)/conf $(BUILD_DIR)/
+   rm -rf $(BUILD_DIR)
+   rm -rf $(TARGET_DIR)
+   rm -rf $(ASSEMBLIES_DIR)
 ifeq ($(ARCH), arm)
make -C thirdparty/uuid clean
make -C thirdparty/libxml2 distclean

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a376ed79/target/conf/flow.xml
--
diff --git a/target/conf/flow.xml b/target/conf/flow.xml
deleted file mode 100644
index 51b74e8..000
--- a/target/conf/flow.xml
+++ /dev/null
@@ -1,285 +0,0 @@
-
-
-  10
-  5
-  
-fe4a3a42-53b6-4af1-a80d-6fdfe60de97f
-NiFi Flow
-
-
-
-  e01275ae-ac38-48f9-ac53-1a44df1be88e
-  LogAttribute
-  
-  
-  
-  org.apache.nifi.processors.standard.LogA

[17/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk22.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk22.html 
b/thirdparty/libxml2/doc/APIchunk22.html
new file mode 100644
index 000..2f20018
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk22.html
@@ -0,0 +1,599 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index p-p for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex p-p for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter p:pairsstartElement
+startElementNsSAX2Func
+startElementSAXFunc
+xmlSAX2StartElement
+xmlSAX2StartElementNs
+param_xmlDtd
+parameter-entityxmlParseElementChildrenContentDecl
+xmlParseMarkupDecl
+parametersATTRIBUTE_UNUSED
+errorSAXFunc
+fatalErrorSAXFunc
+warningSAXFunc
+xmlNewChild
+xmlNewTextChild
+xmlParserError
+xmlParserValidityError
+xmlParserValidityWarning
+xmlParserWarning
+xmlStrPrintf
+xmlStrVPrintf
+xmlTextWriterWriteFormatAttribute
+xmlTextWriterWriteFormatAttributeNS
+xmlTextWriterWriteFormatCDATA
+xmlTextWriterWriteFormatComment
+xmlTextWriterWriteFormatDTD
+xmlTextWriterWriteFormatDTDAttlist
+xmlTextWriterWriteFormatDTDElement
+xmlTextWriterWriteFormatDTDInternalEntity
+xmlTextWriterWriteFormatElement
+xmlTextWriterWriteFormatElementNS
+xmlTextWriterWriteFormatPI
+xmlTextWriterWriteFormatRaw
+xmlTextWriterWriteFormatString
+xmlXPathEvalFunc
+parent-_xmlNode
+parenthesesxmlParseElementChildrenContentDecl
+parenthesisxmlSnprintfElementContent
+xmlSprintfElementContent
+parenthesizedxmlParseElementChildrenContentDecl
+parentsxmlSearchNs
+xmlSearchNsByHref
+partialxmlOutputBufferWrite
+xmlOutputBufferWriteEscape
+xmlOutputBufferWriteString
+particular_xmlNodeSet
+passxmlCurrentChar
+xmlRelaxParserSetFlag
+xmlTextReaderSetErrorHandler
+xmlTextReaderSetStructuredErrorHandler
+passedCHECK_ARITY
+xmlAutomataNewNegTrans
+xmlAutomataNewTransition
+xmlAutomataNewTransition2
+xmlHashScan
+xmlHashScan3
+xmlHashScanFull
+xmlHashScanFull3
+xmlListReverseWalk
+xmlListWalk
+xmlNanoFTPGet
+xmlNanoFTPList
+xmlParseAttValue
+xmlSetGenericErrorFunc
+xmlSetStructuredErrorFunc
+xmlXIncludeProcessFlagsData
+xmlXIncludeProcessTreeFlagsData
+xmlXPathEvalFunc
+xmlXPathIntersection
+passivexmlNanoFTPGetConnection
+passwordxmlNanoFTPProxy
+pastattribute
+attributeSAXFunc
+xmlTextReaderGetRemainder
+pastexmlReconciliateNs
+path_xmlURI
+xmlCanonicPath
+xmlCheckFilename
+xmlGetNodePath
+xmlLoadACatalog
+xmlLoadCatalog
+xmlLoadSGMLSuperCatalog
+xmlModuleOpen
+xmlNanoFTPGetSocket
+xmlNanoFTPUpdateURL
+xmlNormalizeURIPath
+xmlNormalizeWindowsPath
+xmlParserGetDirectory
+xmlPathToURI
+xmlShellPwd
+xmlShellValidate
+xmlTextReaderRelaxNGValidate
+xmlTextReaderSchemaValidate
+pathologicalxmlGetBufferAllocationScheme
+patternXML_SCHEMAS_TYPE_NORMVALUENEEDED
+xmlPatternFromRoot
+xmlPatternGetStreamCtxt
+xmlPatternMatch
+xmlPatternMaxDepth
+xmlPatternMinDepth
+xmlPatternStreamable
+xmlPatterncompile
+xmlSchemaValidateFacetWhtsp
+xmlStreamWantsAnyNode
+xmlTextReaderPreservePattern
+patterns_xmlSchemaFa

[28/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk1.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk1.html 
b/thirdparty/libxml2/doc/APIchunk1.html
new file mode 100644
index 000..7947196
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk1.html
@@ -0,0 +1,382 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index C-C for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex C-C for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter C:C14NxmlC14NDocSaveTo
+xmlC14NExecute
+xmlC14NIsVisibleCallback
+CATALOGxmlLoadACatalog
+xmlLoadCatalog
+xmlLoadSGMLSuperCatalog
+CDATAHTML_PRESERVE_NODE
+_htmlElemDesc
+xmlKeepBlanksDefault
+xmlNewCDataBlock
+xmlNewChild
+xmlNewDocNode
+xmlNewDocNodeEatName
+xmlNodeSetContent
+xmlNodeSetContentLen
+xmlParseAttValue
+xmlParseAttributeType
+xmlParseCDSect
+xmlParseCharData
+xmlTextWriterEndCDATA
+xmlTextWriterStartCDATA
+xmlTextWriterWriteCDATA
+xmlTextWriterWriteFormatCDATA
+xmlTextWriterWriteVFormatCDATA
+xmlValidCtxtNormalizeAttributeValue
+xmlValidNormalizeAttributeValue
+CDEndxmlParseCDSect
+CDSectxmlParseBalancedChunkMemory
+xmlParseBalancedChunkMemoryRecover
+xmlParseCDSect
+xmlParseContent
+xmlParseInNodeContext
+CDStartxmlParseCDSect
+CDataxmlParseCDSect
+xmlRelaxNGValidatePushCData
+xmlValidatePushCData
+CJKCompatibilityxmlUCSIsCJKCompatibility
+CJKCompatibilityFormsxmlUCSIsCJKCompatibilityForms
+CJKCompatibilityIdeographsxmlUCSIsCJKCompatibilityIdeographs
+CJKCompatibilityIdeographsSupplementxmlUCSIsCJKCompatibilityIdeographsSupplement
+CJKRadicalsSupplementxmlUCSIsCJKRadicalsSupplement
+CJKSymbolsandPunctuationxmlUCSIsCJKSymbolsandPunctuation
+CJKUnifiedIdeographsxmlUCSIsCJKUnifiedIdeographs
+CJKUnifiedIdeographsExtensionAxmlUCSIsCJKUnifiedIdeographsExtensionA
+CJKUnifiedIdeographsExtensionBxmlUCSIsCJKUnifiedIdeographsExtensionB
+CVSLIBXML_VERSION_EXTRA
+CWDxmlNanoFTPCwd
+Cache_xmlXPathContext
+CallhtmlInitAutoClose
+xmlInitParser
+xmlXPathOrderDocElems
+CallbackexternalSubset
+externalSubsetSAXFunc
+internalSubset
+internalSubsetSAXFunc
+xmlEntityReferenceFunc
+xmlHashCopier
+xmlHashDeallocator
+xmlHashScanner
+xmlHashScannerFull
+xmlInputCloseCallback
+xmlInputMatchCallback
+xmlInputOpenCallback
+xmlInputReadCallback
+xmlListDataCompare
+xmlListDeallocator
+xmlListWalker
+xmlOutputCloseCallback
+xmlOutputMatchCallback
+xmlOutputOpenCallback
+xmlOutputWriteCallback
+xmlParserInputDeallocate
+xmlRegExecCallbacks
+xmlSAX2ExternalSubset
+xmlSAX2InternalSubset
+xmlValidityErrorFunc
+xmlValidityWarningFunc
+Callback:resolveEntitySAXFunc
+CalledcdataBlockSAXFunc
+endDocumentSAXFunc
+endElementSAXFunc
+referenceSAXFunc
+startDocumentSAXFunc
+startElementSAXFunc
+CallingxmlRegisterHTTPPostCallbacks
+CanonicalxmlC14NDocDumpMemory
+xmlC14NDocSave
+xmlC14NDocSaveTo
+xmlC14NExecute
+CanonicalizationLIBXML_C14N_ENABLED
+xmlC14NDocDumpMemory
+xmlC14NDocSave
+xmlC14NDocSaveTo
+xmlC14NExecute
+CarlxmlURIEscape
+CatalogLIBXML_CATALOG_ENABLED
+XML_CATALOG_PI
+xmlACatalogAdd
+xmlACatalo

[51/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
MINIFI-6: More infra works


Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/7956696e
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/7956696e
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/7956696e

Branch: refs/heads/master
Commit: 7956696ef23ad38b541af9db9e0b82b48dbea9e7
Parents: 86d03de
Author: Bin Qiu 
Authored: Tue Jun 7 07:26:07 2016 -0700
Committer: Aldrin Piri 
Committed: Thu Jul 21 14:30:39 2016 -0400

--
 Makefile|46 +-
 conf/flow.xml   |   130 +
 conf/flowTest.xml   |   172 +
 conf/nifi.properties|   185 +
 inc/Configure.h | 3 +
 inc/Connection.h| 2 +
 inc/FlowControlProtocol.h   |   332 +
 inc/FlowController.h|14 +-
 inc/LogAttribute.h  |26 +
 inc/Logger.h| 6 +-
 inc/ProcessGroup.h  | 2 +
 inc/ProcessSession.h| 2 +
 inc/Processor.h | 3 +
 inc/Property.h  |20 +
 main/MiNiFiMain.cpp |39 +-
 src/Configure.cpp   | 4 +
 src/Connection.cpp  |14 +
 src/FlowControlProtocol.cpp |   540 +
 src/FlowController.cpp  |50 +-
 src/FlowFileRecord.cpp  | 4 +
 src/LogAttribute.cpp|25 +
 src/ProcessGroup.cpp|39 +
 src/ProcessSession.cpp  |97 +-
 src/Processor.cpp   |11 +-
 src/SchedulingAgent.cpp | 1 +
 src/TimerDrivenSchedulingAgent.cpp  | 3 +-
 target/conf/nifi.properties | 6 +
 test/Server.cpp |   607 +
 thirdparty/libxml2/AUTHORS  | 5 +
 thirdparty/libxml2/ChangeLog| 19678 +++
 thirdparty/libxml2/Copyright|23 +
 thirdparty/libxml2/DOCBparser.c |   305 +
 thirdparty/libxml2/HTMLparser.c |  7121 +++
 thirdparty/libxml2/HTMLtree.c   |  1281 +
 thirdparty/libxml2/INSTALL  |   370 +
 thirdparty/libxml2/Makefile.am  |  1279 +
 thirdparty/libxml2/Makefile.in  |  2935 +
 thirdparty/libxml2/Makefile.tests   |41 +
 thirdparty/libxml2/NEWS |  2642 +
 thirdparty/libxml2/README   |39 +
 thirdparty/libxml2/README.tests |39 +
 thirdparty/libxml2/SAX.c|   180 +
 thirdparty/libxml2/SAX2.c   |  3045 +
 thirdparty/libxml2/TODO |   278 +
 thirdparty/libxml2/TODO_SCHEMAS |31 +
 thirdparty/libxml2/VxWorks/Makefile |68 +
 thirdparty/libxml2/VxWorks/README   |86 +
 thirdparty/libxml2/VxWorks/build.sh |85 +
 thirdparty/libxml2/acinclude.m4 |28 +
 thirdparty/libxml2/aclocal.m4   |  1373 +
 thirdparty/libxml2/bakefile/Bakefiles.bkgen |15 +
 thirdparty/libxml2/bakefile/Readme.txt  |92 +
 thirdparty/libxml2/bakefile/libxml2.bkl |   749 +
 thirdparty/libxml2/buf.c|  1345 +
 thirdparty/libxml2/buf.h|72 +
 thirdparty/libxml2/c14n.c   |  2238 +
 thirdparty/libxml2/catalog.c|  3825 ++
 thirdparty/libxml2/check-relaxng-test-suite.py  |   394 +
 thirdparty/libxml2/check-relaxng-test-suite2.py |   418 +
 thirdparty/libxml2/check-xinclude-test-suite.py |   221 +
 thirdparty/libxml2/check-xml-test-suite.py  |   409 +
 thirdparty/libxml2/check-xsddata-test-suite.py  |   420 +
 thirdparty/libxml2/chvalid.c|   336 +
 thirdparty/libxml2/compile  |   347 +
 thirdparty/libxml2/config.guess |  1421 +
 thirdparty/libxml2/config.h.in  |   332 +
 thirdparty/libxml2/config.sub   |  1807 +
 thirdparty/libxml2/configure| 18613 ++
 thirdparty/libxml2/configure.ac |  1667 +
 thirdparty/libxml2/dbgen.pl |43 +
 thirdparty/libxml2/dbgenattr.pl |42 +
 thirdparty/libxml2/debugXML.c   |  3428 ++
 thirdparty/libxml2/depcomp  |   791 +
 thirdparty/libxml2/dict.c   |  12

[25/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk12.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk12.html 
b/thirdparty/libxml2/doc/APIchunk12.html
new file mode 100644
index 000..de376f7
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk12.html
@@ -0,0 +1,927 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index c-c for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex c-c for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter c:c14nxmlC14NDocDumpMemory
+xmlC14NDocSave
+xmlC14NDocSaveTo
+xmlC14NExecute
+cachexmlXPathContextSetCache
+cachedxmlXPathContextSetCache
+caching:xmlXPathContextSetCache
+calculatedxmlStrncatNew
+calculatesxmlUTF8Size
+calling_xmlXPathContext
+xmlBuildRelativeURI
+xmlC14NDocDumpMemory
+xmlCheckFilename
+xmlCleanupParser
+xmlCleanupThreads
+xmlTextReaderCurrentDoc
+xmlXPathAddValues
+xmlXPathDivValues
+xmlXPathModValues
+xmlXPathMultValues
+xmlXPathSubValues
+xmlXPathValueFlipSign
+callsxlinkNodeDetectFunc
+xmlSchemaSAXPlug
+xmlXPathAxisFunc
+camexmlPopInput
+cannotxmlParseAttribute
+xmlTextReaderReadOuterXml
+xmlXPathRegisterNs
+canonicxmlCanonicPath
+canonicalxmlC14NDocDumpMemory
+xmlC14NDocSave
+xmlC14NDocSaveTo
+xmlC14NExecute
+xmlGetCharEncodingName
+xmlSchemaGetCanonValue
+xmlSchemaGetCanonValueWhtsp
+canonicalizationxmlC14NDocDumpMemory
+xmlC14NDocSave
+xmlC14NDocSaveTo
+xmlC14NExecute
+canonicalizedxmlNormalizeWindowsPath
+canonizationxmlC14NDocDumpMemory
+xmlC14NDocSave
+xmlC14NDocSaveTo
+xmlC14NExecute
+canonizedxmlC14NDocDumpMemory
+xmlC14NDocSave
+xmlC14NDocSaveTo
+xmlC14NExecute
+canotxmlModuleOpen
+xmlModuleSymbol
+capablexmlCheckUTF8
+caractersxmlOutputBufferWriteEscape
+cardinalityxmlExpParse
+carriedxmlBufGetNodeContent
+xmlNewDocProp
+xmlNewNsProp
+xmlNewNsPropEatName
+xmlNewProp
+xmlNodeBufGetContent
+xmlNodeGetContent
+xmlNodeGetLang
+xmlNodeGetSpacePreserve
+xmlSetNsProp
+xmlSetProp
+xmlUnsetNsProp
+xmlUnsetProp
+carriesxlinkIsLink
+carryingxlinkExtendedLinkFunk
+xlinkExtendedLinkSetFunk
+xlinkSimpleLinkFunk
+xmlIsID
+xmlIsRef
+xmlNewGlobalNs
+xmlNewNs
+case-ignoringxmlStrcasestr
+casesXML_SKIP_IDS
+xmlC14NExecute
+xmlParseElementContentDecl
+xmlScanName
+castBAD_CAST
+CAST_TO_BOOLEAN
+CAST_TO_NUMBER
+CAST_TO_STRING
+xmlXPathConvertFunc
+castingXML_CAST_FPTR
+catxmlShellCat
+catalogsxmlCatalogAddLocal
+xmlCatalogCleanup
+xmlCatalogFreeLocal
+xmlCatalogGetDefaults
+xmlCatalogLocalResolve
+xmlCatalogLocalResolveURI
+xmlCatalogSetDebug
+xmlCatalogSetDefaults
+xmlLoadCatalogs
+categoryxmlUCSIsCat
+causexmlShellPrintXPathError
+caution_xmlURI
+cdata-section-xmlStreamPushNode
+xmlStreamWantsAnyNode
+ceilingxmlXPathCeilingFunction
+certainlyxmlTextReaderGetRemainder
+chainedxmlFreeNsList
+changeLIBXML2_NEW_BUFFER
+htmlSetMetaEncoding
+xmlCtxtResetLastError
+xmlNanoFTPCwd
+xmlParseSDDecl
+xmlResetLastError
+xmlSchemaCollapseString
+xmlSchemaWhiteSpaceReplace
+xmlSubstituteEntitiesDefault
+xmlSwitchEncoding
+xmlSwitchInputEncoding
+xmlSwitchToEncoding
+changedxmlNo

[08/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk9.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk9.html 
b/thirdparty/libxml2/doc/APIchunk9.html
new file mode 100644
index 000..8c4ac1f
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk9.html
@@ -0,0 +1,273 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index V-X for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex V-X for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter V:ValidxmlValidateOneElement
+ValidateXML_SCHEMAS_ANY_LAX
+xmlRelaxNGValidateDoc
+xmlRelaxNGValidateFullElement
+xmlSchemaValidateDoc
+xmlSchemaValidateOneElement
+xmlSchemaValidateStream
+xmlSchematronValidateDoc
+xmlShellValidate
+xmlValidateAttributeValue
+xmlValidateNameValue
+xmlValidateNamesValue
+xmlValidateNmtokenValue
+xmlValidateNmtokensValue
+xmlValidateNotationUse
+ValidityxmlParseAttributeType
+ValuexmlParseAttribute
+xmlValidateOneAttribute
+xmlValidateOneNamespace
+xmlXPathNewValueTree
+ValuesxmlCatalogSetDefaultPrefer
+xmlParseAttribute
+xmlParseAttributeType
+xmlParseDefaultDecl
+xmlParseEnumerationType
+xmlParseNotationType
+xmlValidateAttributeValue
+VariablexmlXPathVariableLookup
+xmlXPathVariableLookupNS
+VariationSelectorsxmlUCSIsVariationSelectors
+VariationSelectorsSupplementxmlUCSIsVariationSelectorsSupplement
+VersionInfoxmlParseVersionInfo
+xmlParseXMLDecl
+VersionInfo?xmlParseTextDecl
+VersionNumxmlParseVersionInfo
+xmlParseVersionNum
+Letter W:W3CxmlChildElementCount
+xmlFirstElementChild
+xmlLastElementChild
+xmlNextElementSibling
+xmlPreviousElementSibling
+xmlTextReaderSchemaValidate
+xmlTextReaderSchemaValidateCtxt
+WARNING:xmlCleanupParser
+xmlCleanupThreads
+xmlSchemaGetCanonValue
+xmlSchemaNewStringValue
+WFC:xmlParseAttribute
+xmlParseCharRef
+xmlParseDefaultDecl
+xmlParseElement
+xmlParseEntityRef
+xmlParseMarkupDecl
+xmlParsePEReference
+xmlParseStartTag
+xmlParserHandlePEReference
+xmlParserHandleReference
+WWW-AuthenticatexmlNanoHTTPAuthHeader
+WXS_xmlSchemaElement
+WalkxmlListReverseWalk
+xmlListWalk
+WarningxmlSaveFileTo
+xmlSaveFormatFileTo
+Was_xmlParserInput
+WellxmlParseBalancedChunkMemory
+xmlParseBalancedChunkMemoryRecover
+xmlParseEntity
+xmlParseInNodeContext
+xmlRecoverDoc
+xmlRecoverFile
+xmlRecoverMemory
+xmlSAXParseDoc
+xmlSAXParseEntity
+xmlSAXParseFile
+xmlSAXParseFileWithData
+xmlSAXParseMemory
+xmlSAXParseMemoryWithData
+What_xmlError
+notationDecl
+notationDeclSAXFunc
+unparsedEntityDecl
+unparsedEntityDeclSAXFunc
+xmlDOMWrapCloneNode
+xmlSAX2NotationDecl
+xmlSAX2UnparsedEntityDecl
+WhenxmlHandleEntity
+xmlXPathCompareValues
+xmlXPathIdFunction
+WhereverxmlCurrentChar
+WhitespacexmlXPathNormalizeFunction
+WillxmlSaveFile
+xmlSaveFormatFile
+WithxmlParseAttribute
+xmlParseEndTag
+xmlParseStartTag
+WorkaroundxmlSchemaValidateSetFilename
+WorkingxmlParseNamespace
+WrapxmlXPathWrapNodeSet
+xmlXPtrWrapLocationSet
+WrapperxmlFileOpen
+WrapsxmlXPathWrapCString
+xmlXPathWrapExternal
+xmlXPathWrapString
+WritesxmlTextWriterFullEnd

[31/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/configure.ac
--
diff --git a/thirdparty/libxml2/configure.ac b/thirdparty/libxml2/configure.ac
new file mode 100644
index 000..0260281
--- /dev/null
+++ b/thirdparty/libxml2/configure.ac
@@ -0,0 +1,1667 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_PREREQ([2.63])
+AC_INIT
+AC_CONFIG_SRCDIR([entities.c])
+AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_MACRO_DIR([m4])
+AC_CANONICAL_HOST
+
+LIBXML_MAJOR_VERSION=2
+LIBXML_MINOR_VERSION=9
+LIBXML_MICRO_VERSION=3
+LIBXML_MICRO_VERSION_SUFFIX=
+LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
+LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + 
$LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
+
+LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 1 + 
$LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
+
+if test -f CVS/Entries ; then
+  extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e 
s\%/ChangeLog/1\.%% -e s\%/.*$%%`
+  echo extra=$extra
+  if test "$extra" != ""
+  then
+  LIBXML_VERSION_EXTRA="-CVS$extra"
+  fi
+else if test -d .svn ; then
+  extra=`svn info | grep Revision | sed 's+Revision: ++'`
+  echo extra=$extra
+  if test "$extra" != ""
+  then
+  LIBXML_VERSION_EXTRA="-SVN$extra"
+  fi
+else if test -d .git ; then
+  extra=`git describe 2>/dev/null | sed 's+LIBXML[[0-9.]]*-++'`
+  echo extra=$extra
+  if test "$extra" != ""
+  then
+  LIBXML_VERSION_EXTRA="-GIT$extra"
+  fi
+fi
+fi
+fi
+AC_SUBST(LIBXML_MAJOR_VERSION)
+AC_SUBST(LIBXML_MINOR_VERSION)
+AC_SUBST(LIBXML_MICRO_VERSION)
+AC_SUBST(LIBXML_VERSION)
+AC_SUBST(LIBXML_VERSION_INFO)
+AC_SUBST(LIBXML_VERSION_NUMBER)
+AC_SUBST(LIBXML_VERSION_EXTRA)
+
+VERSION=${LIBXML_VERSION}
+
+AM_INIT_AUTOMAKE(libxml2, $VERSION)
+
+# Support silent build rules, requires at least automake-1.11. Disable
+# by either passing --disable-silent-rules to configure or passing V=1
+# to make
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
+dnl Checks for programs.
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PROG_LN_S
+AC_PROG_MKDIR_P
+AC_PROG_CPP
+AC_PATH_PROG(MV, mv, /bin/mv)
+AC_PATH_PROG(TAR, tar, /bin/tar)
+AC_PATH_PROG(PERL, perl, /usr/bin/perl)
+AC_PATH_PROG(WGET, wget, /usr/bin/wget)
+AC_PATH_PROG(XMLLINT, xmllint, /usr/bin/xmllint)
+AC_PATH_PROG(XSLTPROC, xsltproc, /usr/bin/xsltproc)
+PKG_PROG_PKG_CONFIG
+
+LT_INIT
+
+dnl
+dnl if the system support linker version scripts for symbol versioning
+dnl then add it
+dnl
+VERSION_SCRIPT_FLAGS=
+# lt_cv_prog_gnu_ld is from libtool 2.+
+if test "$lt_cv_prog_gnu_ld" = yes; then
+  VERSION_SCRIPT_FLAGS=-Wl,--version-script=
+else
+  case $host in
+  *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
+  esac
+fi
+AC_SUBST(VERSION_SCRIPT_FLAGS)
+AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -n "$VERSION_SCRIPT_FLAGS"])
+
+dnl
+dnl We process the AC_ARG_WITH first so that later we can modify
+dnl some of them to try to prevent impossible combinations.  This
+dnl also allows up so alphabetize the choices
+dnl
+
+dnl
+dnl zlib option might change flags, so we save them initially
+dnl
+_cppflags="${CPPFLAGS}"
+_libs="${LIBS}"
+
+AC_ARG_WITH(c14n,
+[  --with-c14n add the Canonicalization support (on)])
+AC_ARG_WITH(catalog,
+[  --with-catalog  add the Catalog support (on)])
+AC_ARG_WITH(debug,
+[  --with-debugadd the debugging module (on)])
+AC_ARG_WITH(docbook,
+[  --with-docbook  add Docbook SGML support (on)])
+AC_ARG_WITH(fexceptions,
+[  --with-fexceptions  add GCC flag -fexceptions for C++ exceptions (off)])
+AC_ARG_WITH(ftp,
+[  --with-ftp  add the FTP support (on)])
+AC_ARG_WITH(history,
+[  --with-history  add history support to xmllint shell(off)])
+AC_ARG_WITH(html,
+[  --with-html add the HTML support (on)])
+dnl Specific dir for HTML output ?
+AC_ARG_WITH(html-dir, AS_HELP_STRING([--with-html-dir=path],
+[path to base html directory, default $datadir/doc/html]),
+[HTML_DIR=$withval], [HTML_DIR='$(datadir)/doc'])
+
+AC_ARG_WITH(html-subdir, AS_HELP_STRING([--with-html-subdir=path],
+[directory used under html-dir, default $PACKAGE-$VERSION/html]),
+[test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"],
+[HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"])
+AC_SUBST(HTML_DIR)
+AC_ARG_WITH(http,
+[  --with-http add the HTTP support (on)])
+AC_ARG_WITH(iconv,
+[  --with-iconv[[=DIR]]  add ICONV support (on)])
+AC_ARG_WITH(icu,
+[  --with-icuadd ICU support (off)])
+AC_ARG_WITH(iso8859x,
+[  --with-iso8859x add ISO8859X support if no iconv (on)])
+AC_ARG_WITH(legacy,
+[  --with-legacy   add deprecated APIs for compatibility (on)])
+AC_ARG_WITH(mem_debug,
+[  --with-mem-debugadd the memory debugging modu

[20/56] [abbrv] [partial] nifi-minifi-cpp git commit: MINIFI-6: More infra works

2016-08-02 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7956696e/thirdparty/libxml2/doc/APIchunk18.html
--
diff --git a/thirdparty/libxml2/doc/APIchunk18.html 
b/thirdparty/libxml2/doc/APIchunk18.html
new file mode 100644
index 000..90249a1
--- /dev/null
+++ b/thirdparty/libxml2/doc/APIchunk18.html
@@ -0,0 +1,457 @@
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml";>
+TD {font-family: Verdana,Arial,Helvetica}
+BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; 
margin-right: 0em}
+H1 {font-family: Verdana,Arial,Helvetica}
+H2 {font-family: Verdana,Arial,Helvetica}
+H3 {font-family: Verdana,Arial,Helvetica}
+A:link, A:visited, A:active { text-decoration: underline }
+API Alphabetic Index j-l for libxml2http://swpat.ffii.org/";>http://www.gnome.org/";>http://www.w3.org/Status";>http://www.redhat.com/";>http://xmlsoft.org/";>The XML C parser and toolkit of GnomeAPI Alphabetic 
In
 dex j-l for 
libxml2Developer MenuMain MenuReference ManualCode Example
 sXML GuidelinesTutorialThe 
Reader InterfaceChangeLogXSLTPython and 
bindingslibxml2 
architectureThe tree outputThe SAX interfaceMemory ManagementI/O 
InterfacesThe parser 
interfacesEntities or no 
entitiesNamespacesUpgrading 1.x codeThread safetyDOM 
PrinciplesA real exampleflat page, s
 tylesheetAPI IndexesAlphabeticConstructorsFunctions/TypesModulesSymbolsRelated 
linkshttp://mail.gnome.org/archives/xml/";>Mail archivehttp://xmlsoft.org/XSLT/";>XSLT libxslthttp://phd.cs.unibo.it/gdome2/";>DOM gdome2http://www.aleksey.com/xmlsec/";>XML-DSig xmlsecftp://xmlsoft.org/";>FT
 Phttp://www.zlatkovic.com/projects/libxml/";>Windows 
binarieshttp://opencsw.org/packages/libxml2";>Solaris 
binarieshttp://www.explain.com.au/oss/libxml2xslt.html";>MacOsX 
binarieshttp://lxml.de/";>lxml Python 
bindingshttp://cpan.uwinnipeg.ca/dist/XML-LibXML";>Perl 
bindingshttp://libxmlplusplus.sourceforge.net/";>C++ 
bindingshttp://www.zend.com/php5/articles/php5-xmlphp.php#Heading4";>PHP 
bindingshttp://sourceforge.net/projects/libxml2-pas/";>Pascal 
bindingshttp://libxml.rubyforge.org/";>Ruby 
bindingshttp://tclxml.sourceforge.net/";>Tcl 
bindingshttp://bugzilla.gnome.org/buglist.cgi?product=libxml2";>Bug 
TrackerA-B
+C-C
+D-E
+F-I
+J-N
+O-P
+Q-R
+S-S
+T-U
+V-X
+Y-a
+b-b
+c-c
+d-d
+e-e
+f-f
+g-h
+i-i
+j-l
+m-m
+n-n
+o-o
+p-p
+q-r
+s-s
+t-t
+u-v
+w-w
+x-x
+y-z
+Letter j:just_xmlDOMWrapCtxt
+htmlSetMetaEncoding
+inputPop
+namePop
+nodePop
+valuePop
+xmlCleanupParser
+xmlCleanupThreads
+xmlCopyEnumeration
+xmlCreateEntitiesTable
+xmlCreateEnumeration
+xmlDOMWrapAdoptNode
+xmlHandleEntity
+xmlNanoFTPInit
+xmlNanoHTTPInit
+xmlSnprintfElementContent
+xmlTextReaderByteConsumed
+xmlXPathNewContext
+xmlXPathNewParserContext
+xmlXPathNextSelf
+xmlXPtrNewContext
+Letter k:keepxmlExpNewOr
+xmlExpNewRange
+xmlExpNewSeq
+xmlGetBufferAllocationScheme
+xmlParseURIRaw
+xmlParserInputGrow
+xmlSubstituteEntitiesDefault
+xmlTextReaderPreserve
+xmlTextReaderPreservePattern
+xmlXPathNextNamespace
+keepsxmlGetBufferAllocationScheme
+xmlSetBufferAllocationScheme
+kept_xmlParserCtxt
+_xmlXPathContext
+htmlAutoCloseTag
+htmlIsAutoClosed
+htmlParseElement
+xmlKeepBlanksDefault
+xmlXPathOrderDocElems
+keywordxmlParseDefaultDecl
+killxmlCheckVersion
+kind_xmlSchemaAttributeGroup
+_xmlSchemaElement
+_xmlSchemaFacet
+_xmlSchemaNotation
+_xmlSchemaType
+_xmlSchemaWildcard
+knowBAD_CAST
+xmlDOMWrapCloneNode
+knowledgehtmlAttrAllowed
+known_xmlParserInput
+xmlAllocParserInputBuffer
+xmlCreateIOParserCtxt
+xmlIOParseDTD
+xmlNewIOInputStream
+xmlOutputBufferCreateIO
+xmlParseCharEncoding
+xmlParserInputBufferCreateFd
+xmlParserInputBufferCreateFile
+xmlParserInputBufferCreateFilename
+xmlParserInputBufferCreateIO
+xmlParserInputBufferCreateMem
+xmlParserInputBufferCreateStatic
+Letter l:label_xmlParserCtxt
+labeledxmlParseCtxtExternalEntity
+xmlParseExtParsedEnt
+xmlParseExternalEntity
+lackxmlCharEncodingInputFunc
+xmlCharEncodingOutputFunc
+xmlMallocAtomicLoc
+xmlMallocLoc
+xmlMemMalloc
+xmlMemRealloc
+xmlReallocLoc
+langxmlNodeGetLang
+xmlXPathLangFunction
+langtagxmlCheckLanguageID
+languagexmlCheckLanguageID
+xmlNodeGetLang
+xmlNodeSetLang
+xmlXPathLangFunction
+languagesxmlExpExpDerive
+xmlExpGetStart
+xmlExpSubsume
+large_xmlParserCtxt
+_xmlParserInput
+xmlGetBufferAllocationScheme
+largestxmlXPathFloorFunction
+laterxmlHashAddEntry
+xmlHashAddEntry2
+xmlHashAddEntry3
+xmlHashUpdateEntry
+xmlHashUpdateEntry2
+xmlHashUpdateEntry3
+xmlKeepBlanksDefault
+xmlNewEntity
+xmlParseAttValue
+latestxmlNanoHTTPReturnCode
+layerxmlChildrenNode
+xmlInitMemory
+xmlNanoFTPCleanup
+xmlNanoFTPInit
+xmlNanoHTTPCleanup
+xmlNanoHTTPInit
+xmlRootNode
+xmlSaveFileTo
+xmlSaveFormatFileTo
+xmlSchemaSAXPlug
+xmlSchemaSAXUnplug
+leadingxmlParseAttValue
+xmlParseElementChildrenContentDecl
+xmlParseElementMixedContentDecl
+xmlParseNotationType
+xmlValidCtxtNormalizeAttributeValue
+xmlValidNormal

[jira] [Commented] (MINIFI-6) Basic C++ native MiniFi implementation

2016-08-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/MINIFI-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404209#comment-15404209
 ] 

ASF subversion and git services commented on MINIFI-6:
--

Commit 86d03def6df4efd80e4f902763bd957eb9bbdcc0 in nifi-minifi-cpp's branch 
refs/heads/master from [~bqiu]
[ https://git-wip-us.apache.org/repos/asf?p=nifi-minifi-cpp.git;h=86d03de ]

MINIFI-6: Basic C++ implementation for MiNiFi


> Basic C++ native MiniFi implementation
> --
>
> Key: MINIFI-6
> URL: https://issues.apache.org/jira/browse/MINIFI-6
> Project: Apache NiFi MiNiFi
>  Issue Type: New Feature
>  Components: Core Framework
>Affects Versions: 0.1.0
> Environment: C++
> Linux
>Reporter: bqiu
>Assignee: bqiu
>  Labels: native
> Fix For: cpp-0.0.1
>
>
> A Basic C++ isolated native MiNiFi implementation (not communicated to the 
> master NiFI yet).
> 1) Identify the all necessary software frameworks for C++ MiNiFi 
> implementation like database, xml parser, logging, etc.
> 2) Flow configuration from flow.xml
> 3) Processor init/enable/disable/running
> 4) Processor Scheduling
> 5) Processor Relationship/Connections
> 6) Flow record creation/clone/transfer between Processor
> 7) Flow record persistent



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MINIFI-6) Basic C++ native MiniFi implementation

2016-08-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/MINIFI-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404208#comment-15404208
 ] 

ASF subversion and git services commented on MINIFI-6:
--

Commit 69d22a6ea33f33e81d63d9398b34b9ca6343d2e4 in nifi-minifi-cpp's branch 
refs/heads/master from [~bqiu]
[ https://git-wip-us.apache.org/repos/asf?p=nifi-minifi-cpp.git;h=69d22a6 ]

MINIFI-6: Add ProcessGroup/GenerateFlowFile, etc


> Basic C++ native MiniFi implementation
> --
>
> Key: MINIFI-6
> URL: https://issues.apache.org/jira/browse/MINIFI-6
> Project: Apache NiFi MiNiFi
>  Issue Type: New Feature
>  Components: Core Framework
>Affects Versions: 0.1.0
> Environment: C++
> Linux
>Reporter: bqiu
>Assignee: bqiu
>  Labels: native
> Fix For: cpp-0.0.1
>
>
> A Basic C++ isolated native MiNiFi implementation (not communicated to the 
> master NiFI yet).
> 1) Identify the all necessary software frameworks for C++ MiNiFi 
> implementation like database, xml parser, logging, etc.
> 2) Flow configuration from flow.xml
> 3) Processor init/enable/disable/running
> 4) Processor Scheduling
> 5) Processor Relationship/Connections
> 6) Flow record creation/clone/transfer between Processor
> 7) Flow record persistent



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MINIFI-6) Basic C++ native MiniFi implementation

2016-08-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/MINIFI-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404213#comment-15404213
 ] 

ASF subversion and git services commented on MINIFI-6:
--

Commit 955f7ab516d357622b1c55a6d5ed2b99bc95d119 in nifi-minifi-cpp's branch 
refs/heads/master from [~aldrin]
[ https://git-wip-us.apache.org/repos/asf?p=nifi-minifi-cpp.git;h=955f7ab ]

MINIFI-6 Adding spdlog information to the LICENSE file.


> Basic C++ native MiniFi implementation
> --
>
> Key: MINIFI-6
> URL: https://issues.apache.org/jira/browse/MINIFI-6
> Project: Apache NiFi MiNiFi
>  Issue Type: New Feature
>  Components: Core Framework
>Affects Versions: 0.1.0
> Environment: C++
> Linux
>Reporter: bqiu
>Assignee: bqiu
>  Labels: native
> Fix For: cpp-0.0.1
>
>
> A Basic C++ isolated native MiNiFi implementation (not communicated to the 
> master NiFI yet).
> 1) Identify the all necessary software frameworks for C++ MiNiFi 
> implementation like database, xml parser, logging, etc.
> 2) Flow configuration from flow.xml
> 3) Processor init/enable/disable/running
> 4) Processor Scheduling
> 5) Processor Relationship/Connections
> 6) Flow record creation/clone/transfer between Processor
> 7) Flow record persistent



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MINIFI-6) Basic C++ native MiniFi implementation

2016-08-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/MINIFI-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404210#comment-15404210
 ] 

ASF subversion and git services commented on MINIFI-6:
--

Commit 7956696ef23ad38b541af9db9e0b82b48dbea9e7 in nifi-minifi-cpp's branch 
refs/heads/master from [~bqiu]
[ https://git-wip-us.apache.org/repos/asf?p=nifi-minifi-cpp.git;h=7956696 ]

MINIFI-6: More infra works


> Basic C++ native MiniFi implementation
> --
>
> Key: MINIFI-6
> URL: https://issues.apache.org/jira/browse/MINIFI-6
> Project: Apache NiFi MiNiFi
>  Issue Type: New Feature
>  Components: Core Framework
>Affects Versions: 0.1.0
> Environment: C++
> Linux
>Reporter: bqiu
>Assignee: bqiu
>  Labels: native
> Fix For: cpp-0.0.1
>
>
> A Basic C++ isolated native MiNiFi implementation (not communicated to the 
> master NiFI yet).
> 1) Identify the all necessary software frameworks for C++ MiNiFi 
> implementation like database, xml parser, logging, etc.
> 2) Flow configuration from flow.xml
> 3) Processor init/enable/disable/running
> 4) Processor Scheduling
> 5) Processor Relationship/Connections
> 6) Flow record creation/clone/transfer between Processor
> 7) Flow record persistent



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MINIFI-6) Basic C++ native MiniFi implementation

2016-08-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/MINIFI-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404211#comment-15404211
 ] 

ASF subversion and git services commented on MINIFI-6:
--

Commit e170f7aa47919ac8deb3a9df5b6e98f0e15754cc in nifi-minifi-cpp's branch 
refs/heads/master from [~bqiu]
[ https://git-wip-us.apache.org/repos/asf?p=nifi-minifi-cpp.git;h=e170f7a ]

MINIFI-6: Add Site2Site
Adjust README


> Basic C++ native MiniFi implementation
> --
>
> Key: MINIFI-6
> URL: https://issues.apache.org/jira/browse/MINIFI-6
> Project: Apache NiFi MiNiFi
>  Issue Type: New Feature
>  Components: Core Framework
>Affects Versions: 0.1.0
> Environment: C++
> Linux
>Reporter: bqiu
>Assignee: bqiu
>  Labels: native
> Fix For: cpp-0.0.1
>
>
> A Basic C++ isolated native MiNiFi implementation (not communicated to the 
> master NiFI yet).
> 1) Identify the all necessary software frameworks for C++ MiNiFi 
> implementation like database, xml parser, logging, etc.
> 2) Flow configuration from flow.xml
> 3) Processor init/enable/disable/running
> 4) Processor Scheduling
> 5) Processor Relationship/Connections
> 6) Flow record creation/clone/transfer between Processor
> 7) Flow record persistent



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MINIFI-6) Basic C++ native MiniFi implementation

2016-08-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/MINIFI-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404206#comment-15404206
 ] 

ASF subversion and git services commented on MINIFI-6:
--

Commit f7a0c6c3b3e983db70553877755f1747b293df1e in nifi-minifi-cpp's branch 
refs/heads/master from [~bqiu]
[ https://git-wip-us.apache.org/repos/asf?p=nifi-minifi-cpp.git;h=f7a0c6c ]

MINIFI-6: Initial Checkin for basic C++ MiNiFi framework


> Basic C++ native MiniFi implementation
> --
>
> Key: MINIFI-6
> URL: https://issues.apache.org/jira/browse/MINIFI-6
> Project: Apache NiFi MiNiFi
>  Issue Type: New Feature
>  Components: Core Framework
>Affects Versions: 0.1.0
> Environment: C++
> Linux
>Reporter: bqiu
>Assignee: bqiu
>  Labels: native
> Fix For: cpp-0.0.1
>
>
> A Basic C++ isolated native MiNiFi implementation (not communicated to the 
> master NiFI yet).
> 1) Identify the all necessary software frameworks for C++ MiNiFi 
> implementation like database, xml parser, logging, etc.
> 2) Flow configuration from flow.xml
> 3) Processor init/enable/disable/running
> 4) Processor Scheduling
> 5) Processor Relationship/Connections
> 6) Flow record creation/clone/transfer between Processor
> 7) Flow record persistent



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MINIFI-65) Create make goal(s) to generate an assembly for C++ implementation

2016-08-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/MINIFI-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404212#comment-15404212
 ] 

ASF subversion and git services commented on MINIFI-65:
---

Commit a376ed795eb40b220955b488842fc8cf1928b825 in nifi-minifi-cpp's branch 
refs/heads/master from [~aldrin]
[ https://git-wip-us.apache.org/repos/asf?p=nifi-minifi-cpp.git;h=a376ed7 ]

MINIFI-65 Providing make targets to generate a source and binary assembly. 
Removing target from version control.


> Create make goal(s) to generate an assembly for C++ implementation
> --
>
> Key: MINIFI-65
> URL: https://issues.apache.org/jira/browse/MINIFI-65
> Project: Apache NiFi MiNiFi
>  Issue Type: Improvement
>  Components: Build
>Reporter: Aldrin Piri
>Assignee: Aldrin Piri
> Fix For: cpp-0.0.1
>
>
> We should have goal(s) that will generate an assembly including the 
> associated documentation, executable, and any supporting materials available 
> as part of the build process.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[nifi-minifi-cpp] Git Push Summary

2016-08-02 Thread aldrin
Repository: nifi-minifi-cpp
Updated Branches:
  refs/heads/MINIFI-6 [deleted] 9318a99af


  1   2   3   >