| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,293 @@ | ||
| // Copyright 2015 Google Inc. All rights reserved. | ||
| // | ||
| // Licensed 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. | ||
|
|
||
| using UnityEngine; | ||
| using System.Collections; | ||
| using System.Linq; | ||
|
|
||
| [RequireComponent(typeof(Camera))] | ||
| public class CardboardGaze : MonoBehaviour { | ||
| /// The active Gaze Pointer for this camera. Must have ICardboardGazePointer. | ||
| /// The ICardboardGazePointer responds to events from this class. | ||
| public GameObject PointerObject { | ||
| get { | ||
| return pointerObject; | ||
| } | ||
| set { | ||
| if (value != null) { | ||
| // Retrieve the ICardboardGazePointer component. | ||
| var ptr = value.GetComponents<MonoBehaviour>() | ||
| .Select(c => c as ICardboardGazePointer) | ||
| .Where(c => c != null) | ||
| .FirstOrDefault(); | ||
|
|
||
| if (ptr != null) { | ||
| if (pointer != null) { | ||
| if (cardboardTrigger) { | ||
| pointer.OnGazeTriggerEnd(cam); | ||
| } | ||
| if (currentGazeObject != null) { | ||
| pointer.OnGazeExit(cam, currentGazeObject); | ||
| } | ||
| pointer.OnGazeDisabled(); | ||
| } | ||
| pointerObject = value; | ||
| pointer = ptr; | ||
| pointer.OnGazeEnabled(); | ||
| if (currentGazeObject != null) { | ||
| pointer.OnGazeStart(cam, currentGazeObject, lastIntersectPosition, | ||
| currentTarget != null); | ||
| } | ||
| if (cardboardTrigger) { | ||
| pointer.OnGazeTriggerStart(cam); | ||
| } | ||
| } else { | ||
| Debug.LogError("Object must have component which implements ICardboardGazePointer."); | ||
| } | ||
| } else { | ||
| if (pointer != null) { | ||
| if (cardboardTrigger) { | ||
| pointer.OnGazeTriggerEnd(cam); | ||
| } | ||
| if (currentTarget != null) { | ||
| pointer.OnGazeExit(cam, currentGazeObject); | ||
| } | ||
| } | ||
| pointer = null; | ||
| pointerObject = null; | ||
| } | ||
| } | ||
| } | ||
| [SerializeField][HideInInspector] | ||
| private GameObject pointerObject; | ||
| private ICardboardGazePointer pointer; | ||
|
|
||
| // Convenient accessor to the camera component used throughout this script. | ||
| public Camera cam { get; private set; } | ||
|
|
||
| /// The layers to use for finding objects which intersect the user's gaze. | ||
| public LayerMask mask = -1; | ||
|
|
||
| // Current target detected the user is "gazing" at. | ||
| private ICardboardGazeResponder currentTarget; | ||
| private GameObject currentGazeObject; | ||
|
|
||
| private Vector3 lastIntersectPosition; | ||
|
|
||
| // Cardboard Trigger state. | ||
| private bool cardboardTrigger; | ||
|
|
||
| void Awake() { | ||
| cam = GetComponent<Camera>(); | ||
| PointerObject = pointerObject; | ||
| } | ||
|
|
||
| void OnEnable() { | ||
| if (pointer != null) { | ||
| pointer.OnGazeEnabled(); | ||
| } | ||
| } | ||
|
|
||
| void OnDisable() { | ||
| // Is there a current target? | ||
| if (currentTarget != null) { | ||
| currentTarget.OnGazeExit(); | ||
| } | ||
| // Tell pointer to exit target. | ||
| if (pointer != null) { | ||
| // Is there a pending Cardboard trigger? | ||
| if (cardboardTrigger) { | ||
| pointer.OnGazeTriggerEnd(cam); | ||
| } | ||
| if (currentGazeObject != null) { | ||
| pointer.OnGazeExit(cam, currentGazeObject); | ||
| } | ||
| pointer.OnGazeDisabled(); | ||
| } | ||
| currentGazeObject = null; | ||
| currentTarget = null; | ||
| cardboardTrigger = false; | ||
| } | ||
|
|
||
| void LateUpdate () { | ||
| Cardboard.SDK.UpdateState(); | ||
|
|
||
| // Handle pointer and finding current target. | ||
| HandleGaze(); | ||
|
|
||
| // Handle Cardboard trigger state. | ||
| HandleTrigger(); | ||
| } | ||
|
|
||
| private void HandleGaze() { | ||
| // Retrieve GazePointer radius. | ||
| float innerRadius = 0.0f; | ||
| float outerRadius = 0.0f; | ||
| if (pointer != null) { | ||
| pointer.GetPointerRadius(out innerRadius, out outerRadius); | ||
| } | ||
|
|
||
| // Find what object the user is looking at. | ||
| Vector3 intersectPosition; | ||
| ICardboardGazeResponder target = null; | ||
| GameObject targetObject = FindGazeTarget(innerRadius, out target, out intersectPosition); | ||
|
|
||
| // Found a target? | ||
| if (targetObject != null) { | ||
| lastIntersectPosition = intersectPosition; | ||
|
|
||
| // Is the object new? | ||
| if (targetObject != currentGazeObject) { | ||
| if (pointer != null) { | ||
| pointer.OnGazeExit(cam, currentGazeObject); | ||
| } | ||
| if (currentTarget != null) { | ||
| // Replace with current object. | ||
| currentTarget.OnGazeExit(); | ||
| } | ||
|
|
||
| // Save new object. | ||
| currentTarget = target; | ||
| currentGazeObject = targetObject; | ||
|
|
||
| // Inform pointer and target of gaze. | ||
| if (pointer != null) { | ||
| pointer.OnGazeStart(cam, currentGazeObject, intersectPosition, | ||
| currentTarget != null); | ||
| } | ||
| if (currentTarget != null) { | ||
| currentTarget.OnGazeEnter(); | ||
| } | ||
| } else { | ||
| // Same object, inform pointer of new intersection. | ||
| if (pointer != null) { | ||
| pointer.OnGazeStay(cam, currentGazeObject, intersectPosition, | ||
| currentTarget != null); | ||
| } | ||
| } | ||
| } else { | ||
| // Failed to find an object by inner radius. | ||
| if (currentGazeObject != null) { | ||
| // Already gazing an object? Check against outer radius. | ||
| if (IsGazeNearObject(outerRadius, currentGazeObject, out intersectPosition)) { | ||
| // Still gazing. | ||
| if (pointer != null) { | ||
| pointer.OnGazeStay(cam, currentGazeObject, intersectPosition, currentTarget != null); | ||
| } | ||
| } else { | ||
| // No longer gazing any object. | ||
| if (pointer != null) { | ||
| pointer.OnGazeExit(cam, currentGazeObject); | ||
| } | ||
| if (currentTarget != null) { | ||
| currentTarget.OnGazeExit(); | ||
| } | ||
| currentTarget = null; | ||
| currentGazeObject = null; | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| private GameObject FindGazeTarget(float radius, out ICardboardGazeResponder responder, | ||
| out Vector3 intersectPosition) { | ||
| RaycastHit hit; | ||
| GameObject targetObject = null; | ||
| bool hitResult = false; | ||
|
|
||
| // Use Raycast or SphereCast? | ||
| if (radius > 0.0f) { | ||
| // Cast a sphere against the scene. | ||
| hitResult = Physics.SphereCast(transform.position, | ||
| radius, transform.forward, out hit, cam.farClipPlane, mask); | ||
| } else { | ||
| // Cast a Ray against the scene. | ||
| Ray ray = new Ray(transform.position, transform.forward); | ||
| hitResult = Physics.Raycast(ray, out hit, cam.farClipPlane, mask); | ||
| } | ||
|
|
||
| // Found anything? | ||
| if (hitResult) { | ||
| // Set object and ICardboardGazeResponder if any. | ||
| targetObject = hit.collider.gameObject; | ||
| responder = targetObject.GetComponent(typeof(ICardboardGazeResponder)) | ||
| as ICardboardGazeResponder; | ||
| intersectPosition = transform.position + transform.forward * hit.distance; | ||
| } else { | ||
| // Nothing? Reset variables. | ||
| intersectPosition = Vector3.zero; | ||
| responder = null; | ||
| } | ||
|
|
||
| return targetObject; | ||
| } | ||
|
|
||
| private bool IsGazeNearObject(float radius, GameObject target, out Vector3 intersectPosition) { | ||
| RaycastHit[] hits; | ||
|
|
||
| // Use Raycast or SphereCast? | ||
| if (radius > 0.0f) { | ||
| // Cast a sphere against the scene. | ||
| hits = Physics.SphereCastAll(transform.position, | ||
| radius, transform.forward, cam.farClipPlane, mask); | ||
| } else { | ||
| // Cast a Ray against the object. | ||
| RaycastHit hitInfo; | ||
| Ray ray = new Ray(transform.position, transform.forward); | ||
|
|
||
| if (target.GetComponent<Collider>().Raycast(ray, out hitInfo, cam.farClipPlane)) { | ||
| hits = new RaycastHit[1]; | ||
| hits[0] = hitInfo; | ||
| } else { | ||
| hits = new RaycastHit[0]; | ||
| } | ||
| } | ||
|
|
||
| // Iterate all intersected objects to find the object we are looking for. | ||
| foreach (RaycastHit hit in hits) { | ||
| if (hit.collider.gameObject == target) { | ||
| // Found our object, save intersection position. | ||
| intersectPosition = transform.position + transform.forward * hit.distance; | ||
|
|
||
| return true; | ||
| } | ||
| } | ||
|
|
||
| // Desired object was not intersected. | ||
| intersectPosition = Vector3.zero; | ||
| return false; | ||
| } | ||
|
|
||
| private void HandleTrigger() { | ||
| // If trigger isn't already held. | ||
| if (!cardboardTrigger) { | ||
| if (Cardboard.SDK.Triggered || Input.GetMouseButtonDown(0)) { | ||
| // Trigger started. | ||
| cardboardTrigger = true; | ||
| if (pointer != null) { | ||
| pointer.OnGazeTriggerStart(cam); | ||
| } | ||
| } | ||
| } else if (!Cardboard.SDK.Triggered && !Input.GetMouseButton(0)) { | ||
| // Trigger ended. | ||
| if (pointer != null) { | ||
| pointer.OnGazeTriggerEnd(cam); | ||
| } | ||
| if (currentTarget != null) { | ||
| currentTarget.OnGazeTrigger(); | ||
| } | ||
| cardboardTrigger = false; | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| // Copyright 2015 Google Inc. All rights reserved. | ||
| // | ||
| // Licensed 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. | ||
|
|
||
| using UnityEngine; | ||
| using System.Collections; | ||
|
|
||
| /// This script provides an interface for gaze based responders used with | ||
| /// the CardboardGaze script. | ||
| public interface ICardboardGazeResponder { | ||
| /// Called when the user is looking on a GameObject with this script, | ||
| /// as long as it is set to an appropriate layer (see CardboardGaze). | ||
| void OnGazeEnter(); | ||
|
|
||
| /// Called when the user stops looking on the GameObject, after OnGazeEnter | ||
| /// was already called. | ||
| void OnGazeExit(); | ||
|
|
||
| // Called when the Cardboard trigger is used, between OnGazeEnter | ||
| /// and OnGazeExit. | ||
| void OnGazeTrigger(); | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| <!DOCTYPE html><html><head><style> body { font-family: sans-serif; } pre { white-space: pre-wrap; } </style></head><body><pre>// Copyright 2014 The Chromium Authors. 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. | ||
| </pre></body></html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <!DOCTYPE html><html><head><style> body { font-family: sans-serif; } pre { white-space: pre-wrap; } </style></head><body><pre>COPYRIGHT AND PERMISSION NOTICE | ||
|
|
||
| Copyright (c) 1996 - 2014, Daniel Stenberg, <daniel@haxx.se>. | ||
|
|
||
| All rights reserved. | ||
|
|
||
| Permission to use, copy, modify, and distribute this software for any purpose | ||
| with or without fee is hereby granted, provided that the above copyright | ||
| notice and this permission notice appear in all copies. | ||
|
|
||
| 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 OF THIRD PARTY RIGHTS. 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. | ||
|
|
||
| Except as contained in this notice, the name of a copyright holder shall not | ||
| be used in advertising or otherwise to promote the sale, use or other dealings | ||
| in this Software without prior written authorization of the copyright holder. | ||
| </pre></body></html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,29 @@ | ||
| <!DOCTYPE html><html><head><style> body { font-family: sans-serif; } pre { white-space: pre-wrap; } </style></head><body><pre>Copyright (c) 2008-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. | ||
| </pre></body></html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,103 @@ | ||
| <!DOCTYPE html><html><head><style> body { font-family: sans-serif; } pre { white-space: pre-wrap; } </style></head><body><pre>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. | ||
|
|
||
| ------------------------------------------------------------------------------- | ||
|
|
||
| The file url_parse.cc is based on nsURLParsers.cc from Mozilla. This file is | ||
| licensed separately as follows: | ||
|
|
||
| The contents of this file are subject to the Mozilla Public License Version | ||
| 1.1 (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.mozilla.org/MPL/ | ||
|
|
||
| Software distributed under the License is distributed on an "AS IS" basis, | ||
| WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | ||
| for the specific language governing rights and limitations under the | ||
| License. | ||
|
|
||
| The Original Code is mozilla.org code. | ||
|
|
||
| The Initial Developer of the Original Code is | ||
| Netscape Communications Corporation. | ||
| Portions created by the Initial Developer are Copyright (C) 1998 | ||
| the Initial Developer. All Rights Reserved. | ||
|
|
||
| Contributor(s): | ||
| Darin Fisher (original author) | ||
|
|
||
| Alternatively, the contents of this file may be used under the terms of | ||
| either the GNU General Public License Version 2 or later (the "GPL"), or | ||
| the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | ||
| in which case the provisions of the GPL or the LGPL are applicable instead | ||
| of those above. If you wish to allow use of your version of this file only | ||
| under the terms of either the GPL or the LGPL, and not to allow others to | ||
| use your version of this file under the terms of the MPL, indicate your | ||
| decision by deleting the provisions above and replace them with the notice | ||
| and other provisions required by the GPL or the LGPL. If you do not delete | ||
| the provisions above, a recipient may use your version of this file under | ||
| the terms of any one of the MPL, the GPL or the LGPL. | ||
|
|
||
| ------------------------------------------------------------------------------- | ||
|
|
||
| The file icu_utf.cc is from IBM. This file is licensed separately as follows: | ||
|
|
||
| ICU License - ICU 1.8.1 and later | ||
|
|
||
| COPYRIGHT AND PERMISSION NOTICE | ||
|
|
||
| Copyright (c) 1995-2009 International Business Machines Corporation and others | ||
|
|
||
| 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, and/or sell copies of the Software, and to permit persons | ||
| to whom the Software is furnished to do so, provided that the above | ||
| copyright notice(s) and this permission notice appear in all copies of | ||
| the Software and that both the above copyright notice(s) and this | ||
| permission notice appear in supporting documentation. | ||
|
|
||
| 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 | ||
| OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR | ||
| HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY | ||
| SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER | ||
| RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF | ||
| CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | ||
| CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
|
|
||
| Except as contained in this notice, the name of a copyright holder | ||
| shall not be used in advertising or otherwise to promote the sale, use | ||
| or other dealings in this Software without prior written authorization | ||
| of the copyright holder. | ||
| </pre></body></html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| GL.html/GL | ||
| Xorg.html/Xorg | ||
| bazel.html/bazel_src_main_protobuf | ||
| chromium_audio.html/chromium_audio | ||
| curl.html/curl | ||
| dynamic_annotations.html/DynamicAnnotations | ||
| eigen3.html/Eigen 3 | ||
| freetype2.html/freetype2 | ||
| googleurl.html/googleurl | ||
| grte.html/grte | ||
| icu.html/ICU4C | ||
| java_android_libs_protobuf_nano.html/Protobuf Nano | ||
| javascript_jquery_ui.html/javascript_jquery_ui | ||
| javascript_jquery_v2_0_1.html/javascript_jquery | ||
| javascript_tracing_framework.html/javascript_tracing_framework | ||
| libunwind.html/libunwind | ||
| libxcb.html/libxcb | ||
| lodepng.html/lodepng | ||
| minizip.html/minizip | ||
| mongoose.html/mongoose | ||
| objective_c_google_toolbox_for_mac.html/objective_c_google_toolbox_for_mac | ||
| objective_c_gtm_session_fetcher.html/objective_c_gtm_session_fetcher | ||
| objective_c_material_components_ios.html/Material Components iOS | ||
| objective_c_nimbus.html/objective_c_nimbus | ||
| openctm.html/openctm | ||
| openssl.html/openssl | ||
| openssl_boringssl.html/openssl_boringssl | ||
| pcre.html/pcre | ||
| pffft.html/pffft | ||
| protobuf.html/protobuf | ||
| re2.html/re2 | ||
| stblib.html/stblib | ||
| stl.html/stl | ||
| tinyxml.html/tinyxml | ||
| tz.html/tz | ||
| utf.html/UTF | ||
| zlib.html/zlib |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| <!DOCTYPE html><html><head><style> body { font-family: sans-serif; } pre { white-space: pre-wrap; } </style></head><body><pre>The MIT License (MIT) | ||
|
|
||
| Copyright (c) 2015 jQuery Foundation and other contributors | ||
|
|
||
| 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. | ||
| </pre></body></html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| <!DOCTYPE html><html><head><style> body { font-family: sans-serif; } pre { white-space: pre-wrap; } </style></head><body><pre>Copyright 2013 jQuery Foundation and other contributors | ||
| http://jquery.com/ | ||
|
|
||
| https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt | ||
| https://github.com/jquery/sizzle/blob/master/LICENSE | ||
|
|
||
| jQuery and Sizzle are released under MIT Licence. | ||
|
|
||
| The text is provided below. | ||
|
|
||
| MIT License | ||
| ---- | ||
|
|
||
| Copyright 2013 jQuery Foundation and other contributors | ||
| http://jquery.com/ | ||
|
|
||
| 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. | ||
| </pre></body></html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| <!DOCTYPE html><html><head><style> body { font-family: sans-serif; } pre { white-space: pre-wrap; } </style></head><body><pre>Copyright (c) 2002 Hewlett-Packard Co. | ||
|
|
||
| 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. | ||
| </pre></body></html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| <!DOCTYPE html><html><head><style> body { font-family: sans-serif; } pre { white-space: pre-wrap; } </style></head><body><pre>Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. | ||
| 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 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 | ||
| 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. | ||
|
|
||
| Except as contained in this notice, the names of the authors | ||
| or their institutions shall not be used in advertising or | ||
| otherwise to promote the sale, use or other dealings in this | ||
| Software without prior written authorization from the | ||
| authors. | ||
| </pre></body></html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <!DOCTYPE html><html><head><style> body { font-family: sans-serif; } pre { white-space: pre-wrap; } </style></head><body><pre>Copyright (c) 2004-2013 Sergey Lyubka | ||
|
|
||
| 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. | ||
| </pre></body></html> |