diff options
author | Melanie | 2010-12-17 22:50:25 +0000 |
---|---|---|
committer | Melanie | 2010-12-17 22:50:25 +0000 |
commit | a82112a47cc9285629fd11c5e75586532c26aef0 (patch) | |
tree | 48e2de146a91f31973578a6706188bf2d6477a11 | |
parent | Fix notecards that end with an embedded object causing an exception (diff) | |
parent | Fix notecards that end with an embedded object causing an exception (diff) | |
download | opensim-SC_OLD-a82112a47cc9285629fd11c5e75586532c26aef0.zip opensim-SC_OLD-a82112a47cc9285629fd11c5e75586532c26aef0.tar.gz opensim-SC_OLD-a82112a47cc9285629fd11c5e75586532c26aef0.tar.bz2 opensim-SC_OLD-a82112a47cc9285629fd11c5e75586532c26aef0.tar.xz |
Merge branch 'master' into careminster-presence-refactor
29 files changed, 40 insertions, 1233 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 300d8a6..7a188fd 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -220,10 +220,11 @@ namespace OpenSim | |||
220 | m_console.Commands.AddCommand("region", false, "debug packet", | 220 | m_console.Commands.AddCommand("region", false, "debug packet", |
221 | "debug packet <level>", | 221 | "debug packet <level>", |
222 | "Turn on packet debugging", | 222 | "Turn on packet debugging", |
223 | "If level > 255 then all incoming and outgoing packets are logged.\n" | 223 | "If level > 255 then all incoming and outgoing packets are logged.\n" |
224 | + "If level <= 255 then incoming AgentUpdate and outgoing SimStats and SimulatorViewerTimeMessage packets are not logged.\n" | 224 | + "If level <= 255 then incoming AgentUpdate and outgoing SimStats and SimulatorViewerTimeMessage packets are not logged.\n" |
225 | + "If level <= 200 then incoming RequestImage and outgoing ImagePacket, ImageData, LayerData and CoarseLocationUpdate packets are not logged.\n" | 225 | + "If level <= 200 then incoming RequestImage and outgoing ImagePacket, ImageData, LayerData and CoarseLocationUpdate packets are not logged.\n" |
226 | + "If level <= 100 then incoming ViewerEffect and AgentAnimation and outgoing ViewerEffect and AvatarAnimation packets are not logged.\n" | 226 | + "If level <= 100 then incoming ViewerEffect and AgentAnimation and outgoing ViewerEffect and AvatarAnimation packets are not logged.\n" |
227 | + "If level <= 50 then outgoing ImprovedTerseObjectUpdate packets are not logged.\n" | ||
227 | + "If level <= 0 then no packets are logged.", | 228 | + "If level <= 0 then no packets are logged.", |
228 | Debug); | 229 | Debug); |
229 | 230 | ||
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 04710f1..00a605e 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -11347,23 +11347,26 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11347 | { | 11347 | { |
11348 | if (m_debugPacketLevel > 0) | 11348 | if (m_debugPacketLevel > 0) |
11349 | { | 11349 | { |
11350 | bool outputPacket = true; | 11350 | bool logPacket = true; |
11351 | 11351 | ||
11352 | if (m_debugPacketLevel <= 255 | 11352 | if (m_debugPacketLevel <= 255 |
11353 | && (packet.Type == PacketType.SimStats || packet.Type == PacketType.SimulatorViewerTimeMessage)) | 11353 | && (packet.Type == PacketType.SimStats || packet.Type == PacketType.SimulatorViewerTimeMessage)) |
11354 | outputPacket = false; | 11354 | logPacket = false; |
11355 | 11355 | ||
11356 | if (m_debugPacketLevel <= 200 | 11356 | if (m_debugPacketLevel <= 200 |
11357 | && (packet.Type == PacketType.ImagePacket | 11357 | && (packet.Type == PacketType.ImagePacket |
11358 | || packet.Type == PacketType.ImageData | 11358 | || packet.Type == PacketType.ImageData |
11359 | || packet.Type == PacketType.LayerData | 11359 | || packet.Type == PacketType.LayerData |
11360 | || packet.Type == PacketType.CoarseLocationUpdate)) | 11360 | || packet.Type == PacketType.CoarseLocationUpdate)) |
11361 | outputPacket = false; | 11361 | logPacket = false; |
11362 | 11362 | ||
11363 | if (m_debugPacketLevel <= 100 && (packet.Type == PacketType.AvatarAnimation || packet.Type == PacketType.ViewerEffect)) | 11363 | if (m_debugPacketLevel <= 100 && (packet.Type == PacketType.AvatarAnimation || packet.Type == PacketType.ViewerEffect)) |
11364 | outputPacket = false; | 11364 | logPacket = false; |
11365 | |||
11366 | if (m_debugPacketLevel <= 50 && packet.Type == PacketType.ImprovedTerseObjectUpdate) | ||
11367 | logPacket = false; | ||
11365 | 11368 | ||
11366 | if (outputPacket) | 11369 | if (logPacket) |
11367 | m_log.DebugFormat("[CLIENT]: Packet OUT {0}", packet.Type); | 11370 | m_log.DebugFormat("[CLIENT]: Packet OUT {0}", packet.Type); |
11368 | } | 11371 | } |
11369 | 11372 | ||
diff --git a/OpenSim/Region/Framework/Scenes/EntityManager.cs b/OpenSim/Region/Framework/Scenes/EntityManager.cs index 0defa93..1812bd2 100644 --- a/OpenSim/Region/Framework/Scenes/EntityManager.cs +++ b/OpenSim/Region/Framework/Scenes/EntityManager.cs | |||
@@ -36,7 +36,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
36 | { | 36 | { |
37 | public class EntityManager | 37 | public class EntityManager |
38 | { | 38 | { |
39 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 39 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
40 | |||
40 | private readonly DoubleDictionary<UUID, uint, EntityBase> m_entities = new DoubleDictionary<UUID, uint, EntityBase>(); | 41 | private readonly DoubleDictionary<UUID, uint, EntityBase> m_entities = new DoubleDictionary<UUID, uint, EntityBase>(); |
41 | 42 | ||
42 | public int Count | 43 | public int Count |
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Permissions.cs b/OpenSim/Region/Framework/Scenes/Scene.Permissions.cs index 1295e58..66439ab 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Permissions.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Permissions.cs | |||
@@ -91,7 +91,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
91 | 91 | ||
92 | public class ScenePermissions | 92 | public class ScenePermissions |
93 | { | 93 | { |
94 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 94 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
95 | 95 | ||
96 | private Scene m_scene; | 96 | private Scene m_scene; |
97 | 97 | ||
@@ -131,7 +131,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
131 | public event IssueEstateCommandHandler OnIssueEstateCommand; | 131 | public event IssueEstateCommandHandler OnIssueEstateCommand; |
132 | public event IsGodHandler OnIsGod; | 132 | public event IsGodHandler OnIsGod; |
133 | public event IsAdministratorHandler OnIsAdministrator; | 133 | public event IsAdministratorHandler OnIsAdministrator; |
134 | public event EditParcelHandler OnEditParcel; | 134 | // public event EditParcelHandler OnEditParcel; |
135 | public event EditParcelPropertiesHandler OnEditParcelProperties; | 135 | public event EditParcelPropertiesHandler OnEditParcelProperties; |
136 | public event SellParcelHandler OnSellParcel; | 136 | public event SellParcelHandler OnSellParcel; |
137 | public event AbandonParcelHandler OnAbandonParcel; | 137 | public event AbandonParcelHandler OnAbandonParcel; |
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 45625d6..3776d47 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -136,9 +136,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
136 | // TODO: Possibly stop other classes being able to manipulate this directly. | 136 | // TODO: Possibly stop other classes being able to manipulate this directly. |
137 | private SceneGraph m_sceneGraph; | 137 | private SceneGraph m_sceneGraph; |
138 | private volatile int m_bordersLocked; | 138 | private volatile int m_bordersLocked; |
139 | private int m_RestartTimerCounter; | 139 | // private int m_RestartTimerCounter; |
140 | private readonly Timer m_restartTimer = new Timer(15000); // Wait before firing | 140 | private readonly Timer m_restartTimer = new Timer(15000); // Wait before firing |
141 | private int m_incrementsof15seconds; | 141 | // private int m_incrementsof15seconds; |
142 | private volatile bool m_backingup; | 142 | private volatile bool m_backingup; |
143 | private Dictionary<UUID, ReturnInfo> m_returns = new Dictionary<UUID, ReturnInfo>(); | 143 | private Dictionary<UUID, ReturnInfo> m_returns = new Dictionary<UUID, ReturnInfo>(); |
144 | private Dictionary<UUID, SceneObjectGroup> m_groupsWithTargets = new Dictionary<UUID, SceneObjectGroup>(); | 144 | private Dictionary<UUID, SceneObjectGroup> m_groupsWithTargets = new Dictionary<UUID, SceneObjectGroup>(); |
@@ -151,7 +151,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
151 | private int m_update_events = 1; | 151 | private int m_update_events = 1; |
152 | private int m_update_backup = 200; | 152 | private int m_update_backup = 200; |
153 | private int m_update_terrain = 50; | 153 | private int m_update_terrain = 50; |
154 | private int m_update_land = 1; | 154 | // private int m_update_land = 1; |
155 | private int m_update_coarse_locations = 80; | 155 | private int m_update_coarse_locations = 80; |
156 | 156 | ||
157 | private int frameMS; | 157 | private int frameMS; |
@@ -192,7 +192,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
192 | private Timer m_mapGenerationTimer = new Timer(); | 192 | private Timer m_mapGenerationTimer = new Timer(); |
193 | private bool m_generateMaptiles; | 193 | private bool m_generateMaptiles; |
194 | 194 | ||
195 | private Dictionary<UUID, string[]> m_UserNamesCache = new Dictionary<UUID, string[]>(); | 195 | // private Dictionary<UUID, string[]> m_UserNamesCache = new Dictionary<UUID, string[]>(); |
196 | 196 | ||
197 | #endregion Fields | 197 | #endregion Fields |
198 | 198 | ||
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index 6c13eb5..b2b3ad9 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -1114,15 +1114,13 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
1114 | WriteVector(writer, "AngularVelocity", sop.AngularVelocity); | 1114 | WriteVector(writer, "AngularVelocity", sop.AngularVelocity); |
1115 | WriteVector(writer, "Acceleration", sop.Acceleration); | 1115 | WriteVector(writer, "Acceleration", sop.Acceleration); |
1116 | writer.WriteElementString("Description", sop.Description); | 1116 | writer.WriteElementString("Description", sop.Description); |
1117 | if (sop.Color != null) | 1117 | |
1118 | { | 1118 | writer.WriteStartElement("Color"); |
1119 | writer.WriteStartElement("Color"); | 1119 | writer.WriteElementString("R", sop.Color.R.ToString(Utils.EnUsCulture)); |
1120 | writer.WriteElementString("R", sop.Color.R.ToString(Utils.EnUsCulture)); | 1120 | writer.WriteElementString("G", sop.Color.G.ToString(Utils.EnUsCulture)); |
1121 | writer.WriteElementString("G", sop.Color.G.ToString(Utils.EnUsCulture)); | 1121 | writer.WriteElementString("B", sop.Color.B.ToString(Utils.EnUsCulture)); |
1122 | writer.WriteElementString("B", sop.Color.B.ToString(Utils.EnUsCulture)); | 1122 | writer.WriteElementString("A", sop.Color.G.ToString(Utils.EnUsCulture)); |
1123 | writer.WriteElementString("A", sop.Color.G.ToString(Utils.EnUsCulture)); | 1123 | writer.WriteEndElement(); |
1124 | writer.WriteEndElement(); | ||
1125 | } | ||
1126 | 1124 | ||
1127 | writer.WriteElementString("Text", sop.Text); | 1125 | writer.WriteElementString("Text", sop.Text); |
1128 | writer.WriteElementString("SitName", sop.SitName); | 1126 | writer.WriteElementString("SitName", sop.SitName); |
diff --git a/OpenSim/Region/OptionalModules/SvnSerialiser/Properties/AssemblyInfo.cs b/OpenSim/Region/OptionalModules/SvnSerialiser/Properties/AssemblyInfo.cs deleted file mode 100644 index 54c90bf..0000000 --- a/OpenSim/Region/OptionalModules/SvnSerialiser/Properties/AssemblyInfo.cs +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSimulator Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | using System.Reflection; | ||
29 | using System.Runtime.InteropServices; | ||
30 | |||
31 | // General information about an assembly is controlled through the following | ||
32 | // set of attributes. Change these attribute values to modify the information | ||
33 | // associated with an assembly. | ||
34 | [assembly: AssemblyTitle("SvnSerialiser")] | ||
35 | [assembly: AssemblyDescription("")] | ||
36 | [assembly: AssemblyConfiguration("")] | ||
37 | [assembly: AssemblyCompany("http://opensimulator.org")] | ||
38 | [assembly: AssemblyProduct("SvnSerialiser")] | ||
39 | [assembly: AssemblyCopyright("Copyright (c) 2008")] | ||
40 | [assembly: AssemblyTrademark("")] | ||
41 | [assembly: AssemblyCulture("")] | ||
42 | |||
43 | // Setting ComVisible to false makes the types in this assembly not visible | ||
44 | // to COM components. If you need to access a type in this assembly from | ||
45 | // COM, set the ComVisible attribute to true on that type. | ||
46 | [assembly: ComVisible(false)] | ||
47 | |||
48 | // The following GUID is for the ID of the typelib if this project is exposed to COM | ||
49 | [assembly: Guid("c0893655-0c18-4dd7-8b5b-5f58ab1ec6c7")] | ||
50 | |||
51 | // Version information for an assembly consists of the following four values: | ||
52 | // | ||
53 | // Major Version | ||
54 | // Minor Version | ||
55 | // Build Number | ||
56 | // Revision | ||
57 | // | ||
58 | // You can specify all the values or you can default the Build and Revision Numbers | ||
59 | // by using the '*' as shown below: | ||
60 | // [assembly: AssemblyVersion("0.6.5.*")] | ||
61 | [assembly: AssemblyVersion("0.6.5.*")] | ||
62 | [assembly: AssemblyFileVersion("0.6.5.0")] | ||
diff --git a/OpenSim/Region/OptionalModules/SvnSerialiser/SvnBackupModule.cs b/OpenSim/Region/OptionalModules/SvnSerialiser/SvnBackupModule.cs deleted file mode 100644 index ccdea14..0000000 --- a/OpenSim/Region/OptionalModules/SvnSerialiser/SvnBackupModule.cs +++ /dev/null | |||
@@ -1,399 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSimulator Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.IO; | ||
31 | using System.Reflection; | ||
32 | using System.Timers; | ||
33 | using log4net; | ||
34 | using Nini.Config; | ||
35 | using OpenSim.Region.Framework.Interfaces; | ||
36 | using OpenSim.Region.CoreModules.World.Serialiser; | ||
37 | using OpenSim.Region.CoreModules.World.Terrain; | ||
38 | using OpenSim.Region.Framework.Scenes; | ||
39 | using PumaCode.SvnDotNet.AprSharp; | ||
40 | using PumaCode.SvnDotNet.SubversionSharp; | ||
41 | using Slash = System.IO.Path; | ||
42 | |||
43 | namespace OpenSim.Region.Modules.SvnSerialiser | ||
44 | { | ||
45 | public class SvnBackupModule : IRegionModule | ||
46 | { | ||
47 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
48 | |||
49 | private List<Scene> m_scenes; | ||
50 | private Timer m_timer; | ||
51 | private bool m_enabled; | ||
52 | private bool m_installBackupOnLoad; | ||
53 | private IRegionSerialiserModule m_serialiser; | ||
54 | private bool m_svnAutoSave; | ||
55 | private SvnClient m_svnClient; | ||
56 | private string m_svndir = "SVNmodule" + Slash.DirectorySeparatorChar + "repo"; | ||
57 | private string m_svnpass = "password"; | ||
58 | |||
59 | private TimeSpan m_svnperiod = new TimeSpan(0, 0, 15, 0, 0); | ||
60 | private string m_svnurl = "svn://insert.Your.svn/here/"; | ||
61 | private string m_svnuser = "username"; | ||
62 | |||
63 | #region SvnModule Core | ||
64 | |||
65 | /// <summary> | ||
66 | /// Exports a specified scene to the SVN repo directory, then commits. | ||
67 | /// </summary> | ||
68 | /// <param name="scene">The scene to export</param> | ||
69 | public void SaveRegion(Scene scene) | ||
70 | { | ||
71 | List<string> svnfilenames = CreateAndAddExport(scene); | ||
72 | |||
73 | m_svnClient.Commit3(svnfilenames, true, false); | ||
74 | m_log.Info("[SVNBACKUP]: Region backup successful (" + scene.RegionInfo.RegionName + ")."); | ||
75 | } | ||
76 | |||
77 | /// <summary> | ||
78 | /// Saves all registered scenes to the SVN repo, then commits. | ||
79 | /// </summary> | ||
80 | public void SaveAllRegions() | ||
81 | { | ||
82 | List<string> svnfilenames = new List<string>(); | ||
83 | List<string> regions = new List<string>(); | ||
84 | |||
85 | foreach (Scene scene in m_scenes) | ||
86 | { | ||
87 | svnfilenames.AddRange(CreateAndAddExport(scene)); | ||
88 | regions.Add("'" + scene.RegionInfo.RegionName + "' "); | ||
89 | } | ||
90 | |||
91 | m_svnClient.Commit3(svnfilenames, true, false); | ||
92 | m_log.Info("[SVNBACKUP]: Server backup successful (" + String.Concat(regions.ToArray()) + ")."); | ||
93 | } | ||
94 | |||
95 | private List<string> CreateAndAddExport(Scene scene) | ||
96 | { | ||
97 | m_log.Info("[SVNBACKUP]: Saving a region to SVN with name " + scene.RegionInfo.RegionName); | ||
98 | |||
99 | List<string> filenames = m_serialiser.SerialiseRegion(scene, m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID + Slash.DirectorySeparatorChar); | ||
100 | |||
101 | try | ||
102 | { | ||
103 | m_svnClient.Add3(m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID, true, false, false); | ||
104 | } | ||
105 | catch (SvnException) | ||
106 | { | ||
107 | } | ||
108 | |||
109 | List<string> svnfilenames = new List<string>(); | ||
110 | foreach (string filename in filenames) | ||
111 | svnfilenames.Add(m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID + Slash.DirectorySeparatorChar + filename); | ||
112 | svnfilenames.Add(m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID); | ||
113 | |||
114 | return svnfilenames; | ||
115 | } | ||
116 | |||
117 | public void LoadRegion(Scene scene) | ||
118 | { | ||
119 | IRegionSerialiserModule serialiser = scene.RequestModuleInterface<IRegionSerialiserModule>(); | ||
120 | if (serialiser != null) | ||
121 | { | ||
122 | serialiser.LoadPrimsFromXml2( | ||
123 | scene, | ||
124 | m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID | ||
125 | + Slash.DirectorySeparatorChar + "objects.xml"); | ||
126 | |||
127 | scene.RequestModuleInterface<ITerrainModule>().LoadFromFile( | ||
128 | m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID | ||
129 | + Slash.DirectorySeparatorChar + "heightmap.r32"); | ||
130 | |||
131 | m_log.Info("[SVNBACKUP]: Region load successful (" + scene.RegionInfo.RegionName + ")."); | ||
132 | } | ||
133 | else | ||
134 | { | ||
135 | m_log.ErrorFormat( | ||
136 | "[SVNBACKUP]: Region load of {0} failed - no serialisation module available", | ||
137 | scene.RegionInfo.RegionName); | ||
138 | } | ||
139 | } | ||
140 | |||
141 | private void CheckoutSvn() | ||
142 | { | ||
143 | m_svnClient.Checkout2(m_svnurl, m_svndir, Svn.Revision.Head, Svn.Revision.Head, true, false); | ||
144 | } | ||
145 | |||
146 | private void CheckoutSvn(SvnRevision revision) | ||
147 | { | ||
148 | m_svnClient.Checkout2(m_svnurl, m_svndir, revision, revision, true, false); | ||
149 | } | ||
150 | |||
151 | // private void CheckoutSvnPartial(string subdir) | ||
152 | // { | ||
153 | // if (!Directory.Exists(m_svndir + Slash.DirectorySeparatorChar + subdir)) | ||
154 | // Directory.CreateDirectory(m_svndir + Slash.DirectorySeparatorChar + subdir); | ||
155 | |||
156 | // m_svnClient.Checkout2(m_svnurl + "/" + subdir, m_svndir, Svn.Revision.Head, Svn.Revision.Head, true, false); | ||
157 | // } | ||
158 | |||
159 | // private void CheckoutSvnPartial(string subdir, SvnRevision revision) | ||
160 | // { | ||
161 | // if (!Directory.Exists(m_svndir + Slash.DirectorySeparatorChar + subdir)) | ||
162 | // Directory.CreateDirectory(m_svndir + Slash.DirectorySeparatorChar + subdir); | ||
163 | |||
164 | // m_svnClient.Checkout2(m_svnurl + "/" + subdir, m_svndir, revision, revision, true, false); | ||
165 | // } | ||
166 | |||
167 | #endregion | ||
168 | |||
169 | #region SvnDotNet Callbacks | ||
170 | |||
171 | private SvnError SimpleAuth(out SvnAuthCredSimple svnCredentials, IntPtr baton, | ||
172 | AprString realm, AprString username, bool maySave, AprPool pool) | ||
173 | { | ||
174 | svnCredentials = SvnAuthCredSimple.Alloc(pool); | ||
175 | svnCredentials.Username = new AprString(m_svnuser, pool); | ||
176 | svnCredentials.Password = new AprString(m_svnpass, pool); | ||
177 | svnCredentials.MaySave = false; | ||
178 | return SvnError.NoError; | ||
179 | } | ||
180 | |||
181 | private SvnError GetCommitLogCallback(out AprString logMessage, out SvnPath tmpFile, AprArray commitItems, IntPtr baton, AprPool pool) | ||
182 | { | ||
183 | if (!commitItems.IsNull) | ||
184 | { | ||
185 | foreach (SvnClientCommitItem2 item in commitItems) | ||
186 | { | ||
187 | m_log.Debug("[SVNBACKUP]: ... " + Path.GetFileName(item.Path.ToString()) + " (" + item.Kind.ToString() + ") r" + item.Revision.ToString()); | ||
188 | } | ||
189 | } | ||
190 | |||
191 | string msg = "Region Backup (" + System.Environment.MachineName + " at " + DateTime.UtcNow + " UTC)"; | ||
192 | |||
193 | m_log.Debug("[SVNBACKUP]: Saved with message: " + msg); | ||
194 | |||
195 | logMessage = new AprString(msg, pool); | ||
196 | tmpFile = new SvnPath(pool); | ||
197 | |||
198 | return (SvnError.NoError); | ||
199 | } | ||
200 | |||
201 | #endregion | ||
202 | |||
203 | #region IRegionModule Members | ||
204 | |||
205 | public void Initialise(Scene scene, IConfigSource source) | ||
206 | { | ||
207 | m_scenes = new List<Scene>(); | ||
208 | m_timer = new Timer(); | ||
209 | |||
210 | try | ||
211 | { | ||
212 | if (!source.Configs["SVN"].GetBoolean("Enabled", false)) | ||
213 | return; | ||
214 | |||
215 | m_enabled = true; | ||
216 | |||
217 | m_svndir = source.Configs["SVN"].GetString("Directory", m_svndir); | ||
218 | m_svnurl = source.Configs["SVN"].GetString("URL", m_svnurl); | ||
219 | m_svnuser = source.Configs["SVN"].GetString("Username", m_svnuser); | ||
220 | m_svnpass = source.Configs["SVN"].GetString("Password", m_svnpass); | ||
221 | m_installBackupOnLoad = source.Configs["SVN"].GetBoolean("ImportOnStartup", m_installBackupOnLoad); | ||
222 | m_svnAutoSave = source.Configs["SVN"].GetBoolean("Autosave", m_svnAutoSave); | ||
223 | m_svnperiod = new TimeSpan(0, source.Configs["SVN"].GetInt("AutosavePeriod", (int) m_svnperiod.TotalMinutes), 0); | ||
224 | } | ||
225 | catch (Exception) | ||
226 | { | ||
227 | } | ||
228 | |||
229 | lock (m_scenes) | ||
230 | { | ||
231 | m_scenes.Add(scene); | ||
232 | } | ||
233 | //Only register it once, to prevent command being executed x*region times | ||
234 | if (m_scenes.Count == 1) | ||
235 | { | ||
236 | scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole; | ||
237 | } | ||
238 | } | ||
239 | |||
240 | public void PostInitialise() | ||
241 | { | ||
242 | if (m_enabled == false) | ||
243 | return; | ||
244 | |||
245 | if (m_svnAutoSave) | ||
246 | { | ||
247 | m_timer.Interval = m_svnperiod.TotalMilliseconds; | ||
248 | m_timer.Elapsed += m_timer_Elapsed; | ||
249 | m_timer.AutoReset = true; | ||
250 | m_timer.Start(); | ||
251 | } | ||
252 | |||
253 | m_log.Info("[SVNBACKUP]: Connecting to SVN server " + m_svnurl + " ..."); | ||
254 | SetupSvnProvider(); | ||
255 | |||
256 | m_log.Info("[SVNBACKUP]: Creating repository in " + m_svndir + "."); | ||
257 | CreateSvnDirectory(); | ||
258 | CheckoutSvn(); | ||
259 | SetupSerialiser(); | ||
260 | |||
261 | if (m_installBackupOnLoad) | ||
262 | { | ||
263 | m_log.Info("[SVNBACKUP]: Importing latest SVN revision to scenes..."); | ||
264 | foreach (Scene scene in m_scenes) | ||
265 | { | ||
266 | LoadRegion(scene); | ||
267 | } | ||
268 | } | ||
269 | } | ||
270 | |||
271 | public void Close() | ||
272 | { | ||
273 | } | ||
274 | |||
275 | public string Name | ||
276 | { | ||
277 | get { return "SvnBackupModule"; } | ||
278 | } | ||
279 | |||
280 | public bool IsSharedModule | ||
281 | { | ||
282 | get { return true; } | ||
283 | } | ||
284 | |||
285 | #endregion | ||
286 | |||
287 | private void EventManager_OnPluginConsole(string[] args) | ||
288 | { | ||
289 | if (args[0] == "svn" && args[1] == "save") | ||
290 | { | ||
291 | SaveAllRegions(); | ||
292 | } | ||
293 | if (args.Length == 2) | ||
294 | { | ||
295 | if (args[0] == "svn" && args[1] == "load") | ||
296 | { | ||
297 | LoadAllScenes(); | ||
298 | } | ||
299 | } | ||
300 | if (args.Length == 3) | ||
301 | { | ||
302 | if (args[0] == "svn" && args[1] == "load") | ||
303 | { | ||
304 | LoadAllScenes(Int32.Parse(args[2])); | ||
305 | } | ||
306 | } | ||
307 | if (args.Length == 3) | ||
308 | { | ||
309 | if (args[0] == "svn" && args[1] == "load-region") | ||
310 | { | ||
311 | LoadScene(args[2]); | ||
312 | } | ||
313 | } | ||
314 | if (args.Length == 4) | ||
315 | { | ||
316 | if (args[0] == "svn" && args[1] == "load-region") | ||
317 | { | ||
318 | LoadScene(args[2], Int32.Parse(args[3])); | ||
319 | } | ||
320 | } | ||
321 | } | ||
322 | |||
323 | public void LoadScene(string name) | ||
324 | { | ||
325 | CheckoutSvn(); | ||
326 | |||
327 | foreach (Scene scene in m_scenes) | ||
328 | { | ||
329 | if (scene.RegionInfo.RegionName.ToLower().Equals(name.ToLower())) | ||
330 | { | ||
331 | LoadRegion(scene); | ||
332 | return; | ||
333 | } | ||
334 | } | ||
335 | m_log.Warn("[SVNBACKUP]: No region loaded - unable to find matching name."); | ||
336 | } | ||
337 | |||
338 | public void LoadScene(string name, int revision) | ||
339 | { | ||
340 | CheckoutSvn(new SvnRevision(revision)); | ||
341 | |||
342 | foreach (Scene scene in m_scenes) | ||
343 | { | ||
344 | if (scene.RegionInfo.RegionName.ToLower().Equals(name.ToLower())) | ||
345 | { | ||
346 | LoadRegion(scene); | ||
347 | return; | ||
348 | } | ||
349 | } | ||
350 | m_log.Warn("[SVNBACKUP]: No region loaded - unable to find matching name."); | ||
351 | } | ||
352 | |||
353 | public void LoadAllScenes() | ||
354 | { | ||
355 | CheckoutSvn(); | ||
356 | |||
357 | foreach (Scene scene in m_scenes) | ||
358 | { | ||
359 | LoadRegion(scene); | ||
360 | } | ||
361 | } | ||
362 | |||
363 | public void LoadAllScenes(int revision) | ||
364 | { | ||
365 | CheckoutSvn(new SvnRevision(revision)); | ||
366 | |||
367 | foreach (Scene scene in m_scenes) | ||
368 | { | ||
369 | LoadRegion(scene); | ||
370 | } | ||
371 | } | ||
372 | |||
373 | private void m_timer_Elapsed(object sender, ElapsedEventArgs e) | ||
374 | { | ||
375 | SaveAllRegions(); | ||
376 | } | ||
377 | |||
378 | private void SetupSerialiser() | ||
379 | { | ||
380 | if (m_scenes.Count > 0) | ||
381 | m_serialiser = m_scenes[0].RequestModuleInterface<IRegionSerialiserModule>(); | ||
382 | } | ||
383 | |||
384 | private void SetupSvnProvider() | ||
385 | { | ||
386 | m_svnClient = new SvnClient(); | ||
387 | m_svnClient.AddUsernameProvider(); | ||
388 | m_svnClient.AddPromptProvider(new SvnAuthProviderObject.SimplePrompt(SimpleAuth), IntPtr.Zero, 2); | ||
389 | m_svnClient.OpenAuth(); | ||
390 | m_svnClient.Context.LogMsgFunc2 = new SvnDelegate(new SvnClient.GetCommitLog2(GetCommitLogCallback)); | ||
391 | } | ||
392 | |||
393 | private void CreateSvnDirectory() | ||
394 | { | ||
395 | if (!Directory.Exists(m_svndir)) | ||
396 | Directory.CreateDirectory(m_svndir); | ||
397 | } | ||
398 | } | ||
399 | } | ||
diff --git a/ThirdPartyLicenses/ApachePortableRuntime.txt b/ThirdPartyLicenses/ApachePortableRuntime.txt deleted file mode 100644 index 261eeb9..0000000 --- a/ThirdPartyLicenses/ApachePortableRuntime.txt +++ /dev/null | |||
@@ -1,201 +0,0 @@ | |||
1 | Apache License | ||
2 | Version 2.0, January 2004 | ||
3 | http://www.apache.org/licenses/ | ||
4 | |||
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | ||
6 | |||
7 | 1. Definitions. | ||
8 | |||
9 | "License" shall mean the terms and conditions for use, reproduction, | ||
10 | and distribution as defined by Sections 1 through 9 of this document. | ||
11 | |||
12 | "Licensor" shall mean the copyright owner or entity authorized by | ||
13 | the copyright owner that is granting the License. | ||
14 | |||
15 | "Legal Entity" shall mean the union of the acting entity and all | ||
16 | other entities that control, are controlled by, or are under common | ||
17 | control with that entity. For the purposes of this definition, | ||
18 | "control" means (i) the power, direct or indirect, to cause the | ||
19 | direction or management of such entity, whether by contract or | ||
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the | ||
21 | outstanding shares, or (iii) beneficial ownership of such entity. | ||
22 | |||
23 | "You" (or "Your") shall mean an individual or Legal Entity | ||
24 | exercising permissions granted by this License. | ||
25 | |||
26 | "Source" form shall mean the preferred form for making modifications, | ||
27 | including but not limited to software source code, documentation | ||
28 | source, and configuration files. | ||
29 | |||
30 | "Object" form shall mean any form resulting from mechanical | ||
31 | transformation or translation of a Source form, including but | ||
32 | not limited to compiled object code, generated documentation, | ||
33 | and conversions to other media types. | ||
34 | |||
35 | "Work" shall mean the work of authorship, whether in Source or | ||
36 | Object form, made available under the License, as indicated by a | ||
37 | copyright notice that is included in or attached to the work | ||
38 | (an example is provided in the Appendix below). | ||
39 | |||
40 | "Derivative Works" shall mean any work, whether in Source or Object | ||
41 | form, that is based on (or derived from) the Work and for which the | ||
42 | editorial revisions, annotations, elaborations, or other modifications | ||
43 | represent, as a whole, an original work of authorship. For the purposes | ||
44 | of this License, Derivative Works shall not include works that remain | ||
45 | separable from, or merely link (or bind by name) to the interfaces of, | ||
46 | the Work and Derivative Works thereof. | ||
47 | |||
48 | "Contribution" shall mean any work of authorship, including | ||
49 | the original version of the Work and any modifications or additions | ||
50 | to that Work or Derivative Works thereof, that is intentionally | ||
51 | submitted to Licensor for inclusion in the Work by the copyright owner | ||
52 | or by an individual or Legal Entity authorized to submit on behalf of | ||
53 | the copyright owner. For the purposes of this definition, "submitted" | ||
54 | means any form of electronic, verbal, or written communication sent | ||
55 | to the Licensor or its representatives, including but not limited to | ||
56 | communication on electronic mailing lists, source code control systems, | ||
57 | and issue tracking systems that are managed by, or on behalf of, the | ||
58 | Licensor for the purpose of discussing and improving the Work, but | ||
59 | excluding communication that is conspicuously marked or otherwise | ||
60 | designated in writing by the copyright owner as "Not a Contribution." | ||
61 | |||
62 | "Contributor" shall mean Licensor and any individual or Legal Entity | ||
63 | on behalf of whom a Contribution has been received by Licensor and | ||
64 | subsequently incorporated within the Work. | ||
65 | |||
66 | 2. Grant of Copyright License. Subject to the terms and conditions of | ||
67 | this License, each Contributor hereby grants to You a perpetual, | ||
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
69 | copyright license to reproduce, prepare Derivative Works of, | ||
70 | publicly display, publicly perform, sublicense, and distribute the | ||
71 | Work and such Derivative Works in Source or Object form. | ||
72 | |||
73 | 3. Grant of Patent License. Subject to the terms and conditions of | ||
74 | this License, each Contributor hereby grants to You a perpetual, | ||
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
76 | (except as stated in this section) patent license to make, have made, | ||
77 | use, offer to sell, sell, import, and otherwise transfer the Work, | ||
78 | where such license applies only to those patent claims licensable | ||
79 | by such Contributor that are necessarily infringed by their | ||
80 | Contribution(s) alone or by combination of their Contribution(s) | ||
81 | with the Work to which such Contribution(s) was submitted. If You | ||
82 | institute patent litigation against any entity (including a | ||
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work | ||
84 | or a Contribution incorporated within the Work constitutes direct | ||
85 | or contributory patent infringement, then any patent licenses | ||
86 | granted to You under this License for that Work shall terminate | ||
87 | as of the date such litigation is filed. | ||
88 | |||
89 | 4. Redistribution. You may reproduce and distribute copies of the | ||
90 | Work or Derivative Works thereof in any medium, with or without | ||
91 | modifications, and in Source or Object form, provided that You | ||
92 | meet the following conditions: | ||
93 | |||
94 | (a) You must give any other recipients of the Work or | ||
95 | Derivative Works a copy of this License; and | ||
96 | |||
97 | (b) You must cause any modified files to carry prominent notices | ||
98 | stating that You changed the files; and | ||
99 | |||
100 | (c) You must retain, in the Source form of any Derivative Works | ||
101 | that You distribute, all copyright, patent, trademark, and | ||
102 | attribution notices from the Source form of the Work, | ||
103 | excluding those notices that do not pertain to any part of | ||
104 | the Derivative Works; and | ||
105 | |||
106 | (d) If the Work includes a "NOTICE" text file as part of its | ||
107 | distribution, then any Derivative Works that You distribute must | ||
108 | include a readable copy of the attribution notices contained | ||
109 | within such NOTICE file, excluding those notices that do not | ||
110 | pertain to any part of the Derivative Works, in at least one | ||
111 | of the following places: within a NOTICE text file distributed | ||
112 | as part of the Derivative Works; within the Source form or | ||
113 | documentation, if provided along with the Derivative Works; or, | ||
114 | within a display generated by the Derivative Works, if and | ||
115 | wherever such third-party notices normally appear. The contents | ||
116 | of the NOTICE file are for informational purposes only and | ||
117 | do not modify the License. You may add Your own attribution | ||
118 | notices within Derivative Works that You distribute, alongside | ||
119 | or as an addendum to the NOTICE text from the Work, provided | ||
120 | that such additional attribution notices cannot be construed | ||
121 | as modifying the License. | ||
122 | |||
123 | You may add Your own copyright statement to Your modifications and | ||
124 | may provide additional or different license terms and conditions | ||
125 | for use, reproduction, or distribution of Your modifications, or | ||
126 | for any such Derivative Works as a whole, provided Your use, | ||
127 | reproduction, and distribution of the Work otherwise complies with | ||
128 | the conditions stated in this License. | ||
129 | |||
130 | 5. Submission of Contributions. Unless You explicitly state otherwise, | ||
131 | any Contribution intentionally submitted for inclusion in the Work | ||
132 | by You to the Licensor shall be under the terms and conditions of | ||
133 | this License, without any additional terms or conditions. | ||
134 | Notwithstanding the above, nothing herein shall supersede or modify | ||
135 | the terms of any separate license agreement you may have executed | ||
136 | with Licensor regarding such Contributions. | ||
137 | |||
138 | 6. Trademarks. This License does not grant permission to use the trade | ||
139 | names, trademarks, service marks, or product names of the Licensor, | ||
140 | except as required for reasonable and customary use in describing the | ||
141 | origin of the Work and reproducing the content of the NOTICE file. | ||
142 | |||
143 | 7. Disclaimer of Warranty. Unless required by applicable law or | ||
144 | agreed to in writing, Licensor provides the Work (and each | ||
145 | Contributor provides its Contributions) on an "AS IS" BASIS, | ||
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
147 | implied, including, without limitation, any warranties or conditions | ||
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | ||
149 | PARTICULAR PURPOSE. You are solely responsible for determining the | ||
150 | appropriateness of using or redistributing the Work and assume any | ||
151 | risks associated with Your exercise of permissions under this License. | ||
152 | |||
153 | 8. Limitation of Liability. In no event and under no legal theory, | ||
154 | whether in tort (including negligence), contract, or otherwise, | ||
155 | unless required by applicable law (such as deliberate and grossly | ||
156 | negligent acts) or agreed to in writing, shall any Contributor be | ||
157 | liable to You for damages, including any direct, indirect, special, | ||
158 | incidental, or consequential damages of any character arising as a | ||
159 | result of this License or out of the use or inability to use the | ||
160 | Work (including but not limited to damages for loss of goodwill, | ||
161 | work stoppage, computer failure or malfunction, or any and all | ||
162 | other commercial damages or losses), even if such Contributor | ||
163 | has been advised of the possibility of such damages. | ||
164 | |||
165 | 9. Accepting Warranty or Additional Liability. While redistributing | ||
166 | the Work or Derivative Works thereof, You may choose to offer, | ||
167 | and charge a fee for, acceptance of support, warranty, indemnity, | ||
168 | or other liability obligations and/or rights consistent with this | ||
169 | License. However, in accepting such obligations, You may act only | ||
170 | on Your own behalf and on Your sole responsibility, not on behalf | ||
171 | of any other Contributor, and only if You agree to indemnify, | ||
172 | defend, and hold each Contributor harmless for any liability | ||
173 | incurred by, or claims asserted against, such Contributor by reason | ||
174 | of your accepting any such warranty or additional liability. | ||
175 | |||
176 | END OF TERMS AND CONDITIONS | ||
177 | |||
178 | APPENDIX: How to apply the Apache License to your work. | ||
179 | |||
180 | To apply the Apache License to your work, attach the following | ||
181 | boilerplate notice, with the fields enclosed by brackets "[]" | ||
182 | replaced with your own identifying information. (Don't include | ||
183 | the brackets!) The text should be enclosed in the appropriate | ||
184 | comment syntax for the file format. We also recommend that a | ||
185 | file or class name and description of purpose be included on the | ||
186 | same "printed page" as the copyright notice for easier | ||
187 | identification within third-party archives. | ||
188 | |||
189 | Copyright [yyyy] [name of copyright owner] | ||
190 | |||
191 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
192 | you may not use this file except in compliance with the License. | ||
193 | You may obtain a copy of the License at | ||
194 | |||
195 | http://www.apache.org/licenses/LICENSE-2.0 | ||
196 | |||
197 | Unless required by applicable law or agreed to in writing, software | ||
198 | distributed under the License is distributed on an "AS IS" BASIS, | ||
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
200 | See the License for the specific language governing permissions and | ||
201 | limitations under the License. | ||
diff --git a/ThirdPartyLicenses/IronPython.txt b/ThirdPartyLicenses/IronPython.txt deleted file mode 100644 index b678a05..0000000 --- a/ThirdPartyLicenses/IronPython.txt +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. | ||
2 | 1. Definitions | ||
3 | |||
4 | The terms “reproduce,” “reproduction,” “derivative works,” and “distribution” have the same meaning here as under U.S. copyright law. | ||
5 | |||
6 | A “contribution” is the original software, or any additions or changes to the software. | ||
7 | |||
8 | A “contributor” is any person that distributes its contribution under this license. | ||
9 | |||
10 | “Licensed patents” are a contributor’s patent claims that read directly on its contribution. | ||
11 | 2. Grant of Rights | ||
12 | |||
13 | (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. | ||
14 | |||
15 | (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. | ||
16 | 3. Conditions and Limitations | ||
17 | |||
18 | (A) No Trademark License- This license does not grant you rights to use any contributors’ name, logo, or trademarks. | ||
19 | |||
20 | (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. | ||
21 | |||
22 | (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. | ||
23 | |||
24 | (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. | ||
25 | |||
26 | (E) The software is licensed “as-is.” You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement. | ||
27 | |||
28 | See FAQ.html for answers to frequently asked questions about this license. | ||
diff --git a/ThirdPartyLicenses/SvnDotNet.txt b/ThirdPartyLicenses/SvnDotNet.txt deleted file mode 100644 index f9060f9..0000000 --- a/ThirdPartyLicenses/SvnDotNet.txt +++ /dev/null | |||
@@ -1,497 +0,0 @@ | |||
1 | The SvnDotNet libraries are Copyright (c) 2007 by PumaCode.org and | ||
2 | released under the GNU Library General Public License (LGPL) | ||
3 | version 2.1 as stated below. | ||
4 | http://www.pumacode.org/projects/svndotnet | ||
5 | |||
6 | By committing code or submitting patches to this project or its mailing | ||
7 | list, you agree that you hold the copyright to such code unless | ||
8 | explicitly noted otherwise, and you agree to donate your copyright | ||
9 | of such code to PumaCode.org for the purposes of releasing it under the | ||
10 | LGPL. | ||
11 | |||
12 | Portions of this code, specifically the majority of the AprSharp and | ||
13 | SubversionSharp namespaces, are Copyright (c) 2004 SOFTEC sa. and are | ||
14 | also released under the LGPL. | ||
15 | http://www.softec.st/index.html | ||
16 | |||
17 | GNU LIBRARY GENERAL PUBLIC LICENSE | ||
18 | Version 2, June 1991 | ||
19 | |||
20 | Copyright (C) 1991 Free Software Foundation, Inc. | ||
21 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
22 | Everyone is permitted to copy and distribute verbatim copies | ||
23 | of this license document, but changing it is not allowed. | ||
24 | |||
25 | [This is the first released version of the library GPL. It is | ||
26 | numbered 2 because it goes with version 2 of the ordinary GPL.] | ||
27 | |||
28 | Preamble | ||
29 | |||
30 | The licenses for most software are designed to take away your | ||
31 | freedom to share and change it. By contrast, the GNU General Public | ||
32 | Licenses are intended to guarantee your freedom to share and change | ||
33 | free software--to make sure the software is free for all its users. | ||
34 | |||
35 | This license, the Library General Public License, applies to some | ||
36 | specially designated Free Software Foundation software, and to any | ||
37 | other libraries whose authors decide to use it. You can use it for | ||
38 | your libraries, too. | ||
39 | |||
40 | When we speak of free software, we are referring to freedom, not | ||
41 | price. Our General Public Licenses are designed to make sure that you | ||
42 | have the freedom to distribute copies of free software (and charge for | ||
43 | this service if you wish), that you receive source code or can get it | ||
44 | if you want it, that you can change the software or use pieces of it | ||
45 | in new free programs; and that you know you can do these things. | ||
46 | |||
47 | To protect your rights, we need to make restrictions that forbid | ||
48 | anyone to deny you these rights or to ask you to surrender the rights. | ||
49 | These restrictions translate to certain responsibilities for you if | ||
50 | you distribute copies of the library, or if you modify it. | ||
51 | |||
52 | For example, if you distribute copies of the library, whether gratis | ||
53 | or for a fee, you must give the recipients all the rights that we gave | ||
54 | you. You must make sure that they, too, receive or can get the source | ||
55 | code. If you link a program with the library, you must provide | ||
56 | complete object files to the recipients so that they can relink them | ||
57 | with the library, after making changes to the library and recompiling | ||
58 | it. And you must show them these terms so they know their rights. | ||
59 | |||
60 | Our method of protecting your rights has two steps: (1) copyright | ||
61 | the library, and (2) offer you this license which gives you legal | ||
62 | permission to copy, distribute and/or modify the library. | ||
63 | |||
64 | Also, for each distributor's protection, we want to make certain | ||
65 | that everyone understands that there is no warranty for this free | ||
66 | library. If the library is modified by someone else and passed on, we | ||
67 | want its recipients to know that what they have is not the original | ||
68 | version, so that any problems introduced by others will not reflect on | ||
69 | the original authors' reputations. | ||
70 | |||
71 | Finally, any free program is threatened constantly by software | ||
72 | patents. We wish to avoid the danger that companies distributing free | ||
73 | software will individually obtain patent licenses, thus in effect | ||
74 | transforming the program into proprietary software. To prevent this, | ||
75 | we have made it clear that any patent must be licensed for everyone's | ||
76 | free use or not licensed at all. | ||
77 | |||
78 | Most GNU software, including some libraries, is covered by the ordinary | ||
79 | GNU General Public License, which was designed for utility programs. This | ||
80 | license, the GNU Library General Public License, applies to certain | ||
81 | designated libraries. This license is quite different from the ordinary | ||
82 | one; be sure to read it in full, and don't assume that anything in it is | ||
83 | the same as in the ordinary license. | ||
84 | |||
85 | The reason we have a separate public license for some libraries is that | ||
86 | they blur the distinction we usually make between modifying or adding to a | ||
87 | program and simply using it. Linking a program with a library, without | ||
88 | changing the library, is in some sense simply using the library, and is | ||
89 | analogous to running a utility program or application program. However, in | ||
90 | a textual and legal sense, the linked executable is a combined work, a | ||
91 | derivative of the original library, and the ordinary General Public License | ||
92 | treats it as such. | ||
93 | |||
94 | Because of this blurred distinction, using the ordinary General | ||
95 | Public License for libraries did not effectively promote software | ||
96 | sharing, because most developers did not use the libraries. We | ||
97 | concluded that weaker conditions might promote sharing better. | ||
98 | |||
99 | However, unrestricted linking of non-free programs would deprive the | ||
100 | users of those programs of all benefit from the free status of the | ||
101 | libraries themselves. This Library General Public License is intended to | ||
102 | permit developers of non-free programs to use free libraries, while | ||
103 | preserving your freedom as a user of such programs to change the free | ||
104 | libraries that are incorporated in them. (We have not seen how to achieve | ||
105 | this as regards changes in header files, but we have achieved it as regards | ||
106 | changes in the actual functions of the Library.) The hope is that this | ||
107 | will lead to faster development of free libraries. | ||
108 | |||
109 | The precise terms and conditions for copying, distribution and | ||
110 | modification follow. Pay close attention to the difference between a | ||
111 | "work based on the library" and a "work that uses the library". The | ||
112 | former contains code derived from the library, while the latter only | ||
113 | works together with the library. | ||
114 | |||
115 | Note that it is possible for a library to be covered by the ordinary | ||
116 | General Public License rather than by this special one. | ||
117 | |||
118 | GNU LIBRARY GENERAL PUBLIC LICENSE | ||
119 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||
120 | |||
121 | 0. This License Agreement applies to any software library which | ||
122 | contains a notice placed by the copyright holder or other authorized | ||
123 | party saying it may be distributed under the terms of this Library | ||
124 | General Public License (also called "this License"). Each licensee is | ||
125 | addressed as "you". | ||
126 | |||
127 | A "library" means a collection of software functions and/or data | ||
128 | prepared so as to be conveniently linked with application programs | ||
129 | (which use some of those functions and data) to form executables. | ||
130 | |||
131 | The "Library", below, refers to any such software library or work | ||
132 | which has been distributed under these terms. A "work based on the | ||
133 | Library" means either the Library or any derivative work under | ||
134 | copyright law: that is to say, a work containing the Library or a | ||
135 | portion of it, either verbatim or with modifications and/or translated | ||
136 | straightforwardly into another language. (Hereinafter, translation is | ||
137 | included without limitation in the term "modification".) | ||
138 | |||
139 | "Source code" for a work means the preferred form of the work for | ||
140 | making modifications to it. For a library, complete source code means | ||
141 | all the source code for all modules it contains, plus any associated | ||
142 | interface definition files, plus the scripts used to control compilation | ||
143 | and installation of the library. | ||
144 | |||
145 | Activities other than copying, distribution and modification are not | ||
146 | covered by this License; they are outside its scope. The act of | ||
147 | running a program using the Library is not restricted, and output from | ||
148 | such a program is covered only if its contents constitute a work based | ||
149 | on the Library (independent of the use of the Library in a tool for | ||
150 | writing it). Whether that is true depends on what the Library does | ||
151 | and what the program that uses the Library does. | ||
152 | |||
153 | 1. You may copy and distribute verbatim copies of the Library's | ||
154 | complete source code as you receive it, in any medium, provided that | ||
155 | you conspicuously and appropriately publish on each copy an | ||
156 | appropriate copyright notice and disclaimer of warranty; keep intact | ||
157 | all the notices that refer to this License and to the absence of any | ||
158 | warranty; and distribute a copy of this License along with the | ||
159 | Library. | ||
160 | |||
161 | You may charge a fee for the physical act of transferring a copy, | ||
162 | and you may at your option offer warranty protection in exchange for a | ||
163 | fee. | ||
164 | |||
165 | 2. You may modify your copy or copies of the Library or any portion | ||
166 | of it, thus forming a work based on the Library, and copy and | ||
167 | distribute such modifications or work under the terms of Section 1 | ||
168 | above, provided that you also meet all of these conditions: | ||
169 | |||
170 | a) The modified work must itself be a software library. | ||
171 | |||
172 | b) You must cause the files modified to carry prominent notices | ||
173 | stating that you changed the files and the date of any change. | ||
174 | |||
175 | c) You must cause the whole of the work to be licensed at no | ||
176 | charge to all third parties under the terms of this License. | ||
177 | |||
178 | d) If a facility in the modified Library refers to a function or a | ||
179 | table of data to be supplied by an application program that uses | ||
180 | the facility, other than as an argument passed when the facility | ||
181 | is invoked, then you must make a good faith effort to ensure that, | ||
182 | in the event an application does not supply such function or | ||
183 | table, the facility still operates, and performs whatever part of | ||
184 | its purpose remains meaningful. | ||
185 | |||
186 | (For example, a function in a library to compute square roots has | ||
187 | a purpose that is entirely well-defined independent of the | ||
188 | application. Therefore, Subsection 2d requires that any | ||
189 | application-supplied function or table used by this function must | ||
190 | be optional: if the application does not supply it, the square | ||
191 | root function must still compute square roots.) | ||
192 | |||
193 | These requirements apply to the modified work as a whole. If | ||
194 | identifiable sections of that work are not derived from the Library, | ||
195 | and can be reasonably considered independent and separate works in | ||
196 | themselves, then this License, and its terms, do not apply to those | ||
197 | sections when you distribute them as separate works. But when you | ||
198 | distribute the same sections as part of a whole which is a work based | ||
199 | on the Library, the distribution of the whole must be on the terms of | ||
200 | this License, whose permissions for other licensees extend to the | ||
201 | entire whole, and thus to each and every part regardless of who wrote | ||
202 | it. | ||
203 | |||
204 | Thus, it is not the intent of this section to claim rights or contest | ||
205 | your rights to work written entirely by you; rather, the intent is to | ||
206 | exercise the right to control the distribution of derivative or | ||
207 | collective works based on the Library. | ||
208 | |||
209 | In addition, mere aggregation of another work not based on the Library | ||
210 | with the Library (or with a work based on the Library) on a volume of | ||
211 | a storage or distribution medium does not bring the other work under | ||
212 | the scope of this License. | ||
213 | |||
214 | 3. You may opt to apply the terms of the ordinary GNU General Public | ||
215 | License instead of this License to a given copy of the Library. To do | ||
216 | this, you must alter all the notices that refer to this License, so | ||
217 | that they refer to the ordinary GNU General Public License, version 2, | ||
218 | instead of to this License. (If a newer version than version 2 of the | ||
219 | ordinary GNU General Public License has appeared, then you can specify | ||
220 | that version instead if you wish.) Do not make any other change in | ||
221 | these notices. | ||
222 | |||
223 | Once this change is made in a given copy, it is irreversible for | ||
224 | that copy, so the ordinary GNU General Public License applies to all | ||
225 | subsequent copies and derivative works made from that copy. | ||
226 | |||
227 | This option is useful when you wish to copy part of the code of | ||
228 | the Library into a program that is not a library. | ||
229 | |||
230 | 4. You may copy and distribute the Library (or a portion or | ||
231 | derivative of it, under Section 2) in object code or executable form | ||
232 | under the terms of Sections 1 and 2 above provided that you accompany | ||
233 | it with the complete corresponding machine-readable source code, which | ||
234 | must be distributed under the terms of Sections 1 and 2 above on a | ||
235 | medium customarily used for software interchange. | ||
236 | |||
237 | If distribution of object code is made by offering access to copy | ||
238 | from a designated place, then offering equivalent access to copy the | ||
239 | source code from the same place satisfies the requirement to | ||
240 | distribute the source code, even though third parties are not | ||
241 | compelled to copy the source along with the object code. | ||
242 | |||
243 | 5. A program that contains no derivative of any portion of the | ||
244 | Library, but is designed to work with the Library by being compiled or | ||
245 | linked with it, is called a "work that uses the Library". Such a | ||
246 | work, in isolation, is not a derivative work of the Library, and | ||
247 | therefore falls outside the scope of this License. | ||
248 | |||
249 | However, linking a "work that uses the Library" with the Library | ||
250 | creates an executable that is a derivative of the Library (because it | ||
251 | contains portions of the Library), rather than a "work that uses the | ||
252 | library". The executable is therefore covered by this License. | ||
253 | Section 6 states terms for distribution of such executables. | ||
254 | |||
255 | When a "work that uses the Library" uses material from a header file | ||
256 | that is part of the Library, the object code for the work may be a | ||
257 | derivative work of the Library even though the source code is not. | ||
258 | Whether this is true is especially significant if the work can be | ||
259 | linked without the Library, or if the work is itself a library. The | ||
260 | threshold for this to be true is not precisely defined by law. | ||
261 | |||
262 | If such an object file uses only numerical parameters, data | ||
263 | structure layouts and accessors, and small macros and small inline | ||
264 | functions (ten lines or less in length), then the use of the object | ||
265 | file is unrestricted, regardless of whether it is legally a derivative | ||
266 | work. (Executables containing this object code plus portions of the | ||
267 | Library will still fall under Section 6.) | ||
268 | |||
269 | Otherwise, if the work is a derivative of the Library, you may | ||
270 | distribute the object code for the work under the terms of Section 6. | ||
271 | Any executables containing that work also fall under Section 6, | ||
272 | whether or not they are linked directly with the Library itself. | ||
273 | |||
274 | 6. As an exception to the Sections above, you may also compile or | ||
275 | link a "work that uses the Library" with the Library to produce a | ||
276 | work containing portions of the Library, and distribute that work | ||
277 | under terms of your choice, provided that the terms permit | ||
278 | modification of the work for the customer's own use and reverse | ||
279 | engineering for debugging such modifications. | ||
280 | |||
281 | You must give prominent notice with each copy of the work that the | ||
282 | Library is used in it and that the Library and its use are covered by | ||
283 | this License. You must supply a copy of this License. If the work | ||
284 | during execution displays copyright notices, you must include the | ||
285 | copyright notice for the Library among them, as well as a reference | ||
286 | directing the user to the copy of this License. Also, you must do one | ||
287 | of these things: | ||
288 | |||
289 | a) Accompany the work with the complete corresponding | ||
290 | machine-readable source code for the Library including whatever | ||
291 | changes were used in the work (which must be distributed under | ||
292 | Sections 1 and 2 above); and, if the work is an executable linked | ||
293 | with the Library, with the complete machine-readable "work that | ||
294 | uses the Library", as object code and/or source code, so that the | ||
295 | user can modify the Library and then relink to produce a modified | ||
296 | executable containing the modified Library. (It is understood | ||
297 | that the user who changes the contents of definitions files in the | ||
298 | Library will not necessarily be able to recompile the application | ||
299 | to use the modified definitions.) | ||
300 | |||
301 | b) Accompany the work with a written offer, valid for at | ||
302 | least three years, to give the same user the materials | ||
303 | specified in Subsection 6a, above, for a charge no more | ||
304 | than the cost of performing this distribution. | ||
305 | |||
306 | c) If distribution of the work is made by offering access to copy | ||
307 | from a designated place, offer equivalent access to copy the above | ||
308 | specified materials from the same place. | ||
309 | |||
310 | d) Verify that the user has already received a copy of these | ||
311 | materials or that you have already sent this user a copy. | ||
312 | |||
313 | For an executable, the required form of the "work that uses the | ||
314 | Library" must include any data and utility programs needed for | ||
315 | reproducing the executable from it. However, as a special exception, | ||
316 | the source code distributed need not include anything that is normally | ||
317 | distributed (in either source or binary form) with the major | ||
318 | components (compiler, kernel, and so on) of the operating system on | ||
319 | which the executable runs, unless that component itself accompanies | ||
320 | the executable. | ||
321 | |||
322 | It may happen that this requirement contradicts the license | ||
323 | restrictions of other proprietary libraries that do not normally | ||
324 | accompany the operating system. Such a contradiction means you cannot | ||
325 | use both them and the Library together in an executable that you | ||
326 | distribute. | ||
327 | |||
328 | 7. You may place library facilities that are a work based on the | ||
329 | Library side-by-side in a single library together with other library | ||
330 | facilities not covered by this License, and distribute such a combined | ||
331 | library, provided that the separate distribution of the work based on | ||
332 | the Library and of the other library facilities is otherwise | ||
333 | permitted, and provided that you do these two things: | ||
334 | |||
335 | a) Accompany the combined library with a copy of the same work | ||
336 | based on the Library, uncombined with any other library | ||
337 | facilities. This must be distributed under the terms of the | ||
338 | Sections above. | ||
339 | |||
340 | b) Give prominent notice with the combined library of the fact | ||
341 | that part of it is a work based on the Library, and explaining | ||
342 | where to find the accompanying uncombined form of the same work. | ||
343 | |||
344 | 8. You may not copy, modify, sublicense, link with, or distribute | ||
345 | the Library except as expressly provided under this License. Any | ||
346 | attempt otherwise to copy, modify, sublicense, link with, or | ||
347 | distribute the Library is void, and will automatically terminate your | ||
348 | rights under this License. However, parties who have received copies, | ||
349 | or rights, from you under this License will not have their licenses | ||
350 | terminated so long as such parties remain in full compliance. | ||
351 | |||
352 | 9. You are not required to accept this License, since you have not | ||
353 | signed it. However, nothing else grants you permission to modify or | ||
354 | distribute the Library or its derivative works. These actions are | ||
355 | prohibited by law if you do not accept this License. Therefore, by | ||
356 | modifying or distributing the Library (or any work based on the | ||
357 | Library), you indicate your acceptance of this License to do so, and | ||
358 | all its terms and conditions for copying, distributing or modifying | ||
359 | the Library or works based on it. | ||
360 | |||
361 | 10. Each time you redistribute the Library (or any work based on the | ||
362 | Library), the recipient automatically receives a license from the | ||
363 | original licensor to copy, distribute, link with or modify the Library | ||
364 | subject to these terms and conditions. You may not impose any further | ||
365 | restrictions on the recipients' exercise of the rights granted herein. | ||
366 | You are not responsible for enforcing compliance by third parties to | ||
367 | this License. | ||
368 | |||
369 | 11. If, as a consequence of a court judgment or allegation of patent | ||
370 | infringement or for any other reason (not limited to patent issues), | ||
371 | conditions are imposed on you (whether by court order, agreement or | ||
372 | otherwise) that contradict the conditions of this License, they do not | ||
373 | excuse you from the conditions of this License. If you cannot | ||
374 | distribute so as to satisfy simultaneously your obligations under this | ||
375 | License and any other pertinent obligations, then as a consequence you | ||
376 | may not distribute the Library at all. For example, if a patent | ||
377 | license would not permit royalty-free redistribution of the Library by | ||
378 | all those who receive copies directly or indirectly through you, then | ||
379 | the only way you could satisfy both it and this License would be to | ||
380 | refrain entirely from distribution of the Library. | ||
381 | |||
382 | If any portion of this section is held invalid or unenforceable under any | ||
383 | particular circumstance, the balance of the section is intended to apply, | ||
384 | and the section as a whole is intended to apply in other circumstances. | ||
385 | |||
386 | It is not the purpose of this section to induce you to infringe any | ||
387 | patents or other property right claims or to contest validity of any | ||
388 | such claims; this section has the sole purpose of protecting the | ||
389 | integrity of the free software distribution system which is | ||
390 | implemented by public license practices. Many people have made | ||
391 | generous contributions to the wide range of software distributed | ||
392 | through that system in reliance on consistent application of that | ||
393 | system; it is up to the author/donor to decide if he or she is willing | ||
394 | to distribute software through any other system and a licensee cannot | ||
395 | impose that choice. | ||
396 | |||
397 | This section is intended to make thoroughly clear what is believed to | ||
398 | be a consequence of the rest of this License. | ||
399 | |||
400 | 12. If the distribution and/or use of the Library is restricted in | ||
401 | certain countries either by patents or by copyrighted interfaces, the | ||
402 | original copyright holder who places the Library under this License may add | ||
403 | an explicit geographical distribution limitation excluding those countries, | ||
404 | so that distribution is permitted only in or among countries not thus | ||
405 | excluded. In such case, this License incorporates the limitation as if | ||
406 | written in the body of this License. | ||
407 | |||
408 | 13. The Free Software Foundation may publish revised and/or new | ||
409 | versions of the Library General Public License from time to time. | ||
410 | Such new versions will be similar in spirit to the present version, | ||
411 | but may differ in detail to address new problems or concerns. | ||
412 | |||
413 | Each version is given a distinguishing version number. If the Library | ||
414 | specifies a version number of this License which applies to it and | ||
415 | "any later version", you have the option of following the terms and | ||
416 | conditions either of that version or of any later version published by | ||
417 | the Free Software Foundation. If the Library does not specify a | ||
418 | license version number, you may choose any version ever published by | ||
419 | the Free Software Foundation. | ||
420 | |||
421 | 14. If you wish to incorporate parts of the Library into other free | ||
422 | programs whose distribution conditions are incompatible with these, | ||
423 | write to the author to ask for permission. For software which is | ||
424 | copyrighted by the Free Software Foundation, write to the Free | ||
425 | Software Foundation; we sometimes make exceptions for this. Our | ||
426 | decision will be guided by the two goals of preserving the free status | ||
427 | of all derivatives of our free software and of promoting the sharing | ||
428 | and reuse of software generally. | ||
429 | |||
430 | NO WARRANTY | ||
431 | |||
432 | 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO | ||
433 | WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. | ||
434 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR | ||
435 | OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY | ||
436 | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE | ||
437 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
438 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE | ||
439 | LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME | ||
440 | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. | ||
441 | |||
442 | 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN | ||
443 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY | ||
444 | AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU | ||
445 | FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR | ||
446 | CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE | ||
447 | LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING | ||
448 | RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A | ||
449 | FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF | ||
450 | SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH | ||
451 | DAMAGES. | ||
452 | |||
453 | END OF TERMS AND CONDITIONS | ||
454 | |||
455 | How to Apply These Terms to Your New Libraries | ||
456 | |||
457 | If you develop a new library, and you want it to be of the greatest | ||
458 | possible use to the public, we recommend making it free software that | ||
459 | everyone can redistribute and change. You can do so by permitting | ||
460 | redistribution under these terms (or, alternatively, under the terms of the | ||
461 | ordinary General Public License). | ||
462 | |||
463 | To apply these terms, attach the following notices to the library. It is | ||
464 | safest to attach them to the start of each source file to most effectively | ||
465 | convey the exclusion of warranty; and each file should have at least the | ||
466 | "copyright" line and a pointer to where the full notice is found. | ||
467 | |||
468 | <one line to give the library's name and a brief idea of what it does.> | ||
469 | Copyright (C) <year> <name of author> | ||
470 | |||
471 | This library is free software; you can redistribute it and/or | ||
472 | modify it under the terms of the GNU Library General Public | ||
473 | License as published by the Free Software Foundation; either | ||
474 | version 2 of the License, or (at your option) any later version. | ||
475 | |||
476 | This library is distributed in the hope that it will be useful, | ||
477 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
478 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
479 | Library General Public License for more details. | ||
480 | |||
481 | You should have received a copy of the GNU Library General Public | ||
482 | License along with this library; if not, write to the Free | ||
483 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
484 | |||
485 | Also add information on how to contact you by electronic and paper mail. | ||
486 | |||
487 | You should also get your employer (if you work as a programmer) or your | ||
488 | school, if any, to sign a "copyright disclaimer" for the library, if | ||
489 | necessary. Here is a sample; alter the names: | ||
490 | |||
491 | Yoyodyne, Inc., hereby disclaims all copyright interest in the | ||
492 | library `Frob' (a library for tweaking knobs) written by James Random Hacker. | ||
493 | |||
494 | <signature of Ty Coon>, 1 April 1990 | ||
495 | Ty Coon, President of Vice | ||
496 | |||
497 | That's all there is to it! | ||
diff --git a/bin/AprSharp.dll b/bin/AprSharp.dll deleted file mode 100644 index b5035d5..0000000 --- a/bin/AprSharp.dll +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/AprSharp.pdb b/bin/AprSharp.pdb deleted file mode 100644 index 67e0f07..0000000 --- a/bin/AprSharp.pdb +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/Mono.GetOptions.dll b/bin/Mono.GetOptions.dll deleted file mode 100644 index f146ca6..0000000 --- a/bin/Mono.GetOptions.dll +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 988831f..7245bee 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -622,16 +622,21 @@ | |||
622 | ;; or from the SimianGrid project at http://code.google.com/p/openmetaverse | 622 | ;; or from the SimianGrid project at http://code.google.com/p/openmetaverse |
623 | ; Module = Default | 623 | ; Module = Default |
624 | 624 | ||
625 | ;# {MessagingEnabled} {Module:GroupsModule} {Is groups messaging enabled?} {true false} true | ||
626 | ; MessagingEnabled = true | ||
625 | 627 | ||
626 | ;; Service connectors to the Groups Service. Select one depending on | 628 | ;# {MessagingModule} {MessagingEnabled:true} {Module to use for groups messaging} {GroupsMessagingModule} GroupsMessagingModule |
627 | ;; whether you're using a Flotsam XmlRpc backend or a SimianGrid backend | 629 | ; MessagingModule = GroupsMessagingModule |
628 | 630 | ||
629 | ;# {ServicesConnectorModule} {Module:GroupsModule} {Service connector to use for groups?} {XmlRpcGroupsServicesConnector SimianGroupsServicesConnector} XmlRpcGroupsServicesConnector | 631 | ;# {ServicesConnectorModule} {Module:GroupsModule} {Service connector to use for groups} {XmlRpcGroupsServicesConnector SimianGroupsServicesConnector} XmlRpcGroupsServicesConnector |
630 | ;; The service connector to use for the GroupsModule | 632 | ;; Service connectors to the Groups Service as used in the GroupsModule. Select one depending on |
633 | ;; whether you're using a Flotsam XmlRpc backend or a SimianGrid backend | ||
631 | ; ServicesConnectorModule = SimianGroupsServicesConnector | 634 | ; ServicesConnectorModule = SimianGroupsServicesConnector |
632 | 635 | ||
633 | ;# {GroupsServerURI} {Module:GroupsModule} {Groups Server URI?} {} | 636 | ;# {GroupsServerURI} {Module:GroupsModule} {Groups Server URI} {} |
634 | ;; URI for the groups services | 637 | ;; URI for the groups services |
638 | ;; e.g. http://yourxmlrpcserver.com/xmlrpc.php for Flotsam XmlRpc | ||
639 | ;; or http://mygridserver.com:82/Grid/ for SimianGrid | ||
635 | ; GroupsServerURI = "" | 640 | ; GroupsServerURI = "" |
636 | 641 | ||
637 | ;# {NoticesEnabled} {Module:GroupsModule} {Enable group notices?} {true false} true | 642 | ;# {NoticesEnabled} {Module:GroupsModule} {Enable group notices?} {true false} true |
@@ -641,13 +646,8 @@ | |||
641 | ;; This makes the Groups modules very chatty on the console. | 646 | ;; This makes the Groups modules very chatty on the console. |
642 | ; DebugEnabled = false | 647 | ; DebugEnabled = false |
643 | 648 | ||
644 | ;; Specify which messaging module to use for groups messaging and if it's | ||
645 | ;; enabled | ||
646 | ; MessagingModule = GroupsMessagingModule | ||
647 | ; MessagingEnabled = true | ||
648 | |||
649 | ;; XmlRpc Security settings. These must match those set on your backend | 649 | ;; XmlRpc Security settings. These must match those set on your backend |
650 | ;; groups service. | 650 | ;; groups service if the service is using these keys |
651 | ; XmlRpcServiceReadKey = 1234 | 651 | ; XmlRpcServiceReadKey = 1234 |
652 | ; XmlRpcServiceWriteKey = 1234 | 652 | ; XmlRpcServiceWriteKey = 1234 |
653 | 653 | ||
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 9cfac98..8437ece 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -906,17 +906,6 @@ | |||
906 | PriceParcelRent = 1 | 906 | PriceParcelRent = 1 |
907 | 907 | ||
908 | 908 | ||
909 | [SVN] | ||
910 | Enabled = false | ||
911 | Directory = SVNmodule\repo | ||
912 | URL = "svn://your.repo.here/" | ||
913 | Username = "user" | ||
914 | Password = "password" | ||
915 | ImportOnStartup = false | ||
916 | Autosave = false | ||
917 | AutoSavePeriod = 15 ; Number of minutes between autosave backups | ||
918 | |||
919 | |||
920 | [XEngine] | 909 | [XEngine] |
921 | ; Enable this engine in this OpenSim instance | 910 | ; Enable this engine in this OpenSim instance |
922 | Enabled = true | 911 | Enabled = true |
@@ -1115,10 +1104,12 @@ | |||
1115 | ; May represent a security risk if you disable this. | 1104 | ; May represent a security risk if you disable this. |
1116 | OwnerOnly = true | 1105 | OwnerOnly = true |
1117 | 1106 | ||
1107 | |||
1118 | [Hypergrid] | 1108 | [Hypergrid] |
1119 | ; Keep it false for now. Making it true requires the use of a special client in order to access inventory | 1109 | ; Keep it false for now. Making it true requires the use of a special client in order to access inventory |
1120 | safemode = false | 1110 | safemode = false |
1121 | 1111 | ||
1112 | |||
1122 | [VivoxVoice] | 1113 | [VivoxVoice] |
1123 | ; The VivoxVoice module will allow you to provide voice on your | 1114 | ; The VivoxVoice module will allow you to provide voice on your |
1124 | ; region(s). It uses the same voice technology as the LL grid and | 1115 | ; region(s). It uses the same voice technology as the LL grid and |
@@ -1177,6 +1168,7 @@ | |||
1177 | ; - a value between 0 and 160, default is 10 | 1168 | ; - a value between 0 and 160, default is 10 |
1178 | ;vivox_channel_clamping_distance = 10 | 1169 | ;vivox_channel_clamping_distance = 10 |
1179 | 1170 | ||
1171 | |||
1180 | [Groups] | 1172 | [Groups] |
1181 | Enabled = false | 1173 | Enabled = false |
1182 | 1174 | ||
@@ -1208,7 +1200,7 @@ | |||
1208 | ;ServicesConnectorModule = XmlRpcGroupsServicesConnector | 1200 | ;ServicesConnectorModule = XmlRpcGroupsServicesConnector |
1209 | ;GroupsServerURI = http://yourxmlrpcserver.com/xmlrpc.php | 1201 | ;GroupsServerURI = http://yourxmlrpcserver.com/xmlrpc.php |
1210 | 1202 | ||
1211 | ; XmlRpc Security settings. These must match those set on your backend groups service. | 1203 | ; XmlRpc Security settings. These must match those set on your backend groups service if the service is using these keys |
1212 | ;XmlRpcServiceReadKey = 1234 | 1204 | ;XmlRpcServiceReadKey = 1234 |
1213 | ;XmlRpcServiceWriteKey = 1234 | 1205 | ;XmlRpcServiceWriteKey = 1234 |
1214 | 1206 | ||
@@ -1268,4 +1260,3 @@ | |||
1268 | 1260 | ||
1269 | [Modules] | 1261 | [Modules] |
1270 | Include-modules = "addon-modules/*/config/*.ini" | 1262 | Include-modules = "addon-modules/*/config/*.ini" |
1271 | |||
diff --git a/bin/SubversionSharp.dll b/bin/SubversionSharp.dll deleted file mode 100644 index 944de1d..0000000 --- a/bin/SubversionSharp.dll +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/SubversionSharp.pdb b/bin/SubversionSharp.pdb deleted file mode 100644 index 19e54ae..0000000 --- a/bin/SubversionSharp.pdb +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/intl3_svn.dll b/bin/intl3_svn.dll deleted file mode 100644 index 527d8e9..0000000 --- a/bin/intl3_svn.dll +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/libapr.dll b/bin/libapr.dll deleted file mode 100644 index c22746a..0000000 --- a/bin/libapr.dll +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/libapr.pdb b/bin/libapr.pdb deleted file mode 100644 index 2e5ae0c..0000000 --- a/bin/libapr.pdb +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/libapriconv.dll b/bin/libapriconv.dll deleted file mode 100644 index fc95a51..0000000 --- a/bin/libapriconv.dll +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/libapriconv.pdb b/bin/libapriconv.pdb deleted file mode 100644 index 0e92adc..0000000 --- a/bin/libapriconv.pdb +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/libaprutil.dll b/bin/libaprutil.dll deleted file mode 100644 index 2e2a0c1..0000000 --- a/bin/libaprutil.dll +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/libaprutil.pdb b/bin/libaprutil.pdb deleted file mode 100644 index de862ef..0000000 --- a/bin/libaprutil.pdb +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/libdb44d.dll b/bin/libdb44d.dll deleted file mode 100644 index 0b975b7..0000000 --- a/bin/libdb44d.dll +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/libeay32.dll b/bin/libeay32.dll deleted file mode 100644 index 3eacd76..0000000 --- a/bin/libeay32.dll +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/ssleay32.dll b/bin/ssleay32.dll deleted file mode 100644 index e852b1b..0000000 --- a/bin/ssleay32.dll +++ /dev/null | |||
Binary files differ | |||
diff --git a/bin/svn_client-1.dll b/bin/svn_client-1.dll deleted file mode 100644 index f258bc6..0000000 --- a/bin/svn_client-1.dll +++ /dev/null | |||
Binary files differ | |||