-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core/Engines: migrate to MonoAddins infrastructure
Only for the backend for now. (TODO: Load frontends with mono-addins too.) This integration work opens the door for more add-in management love, such as loading/unloading capabilities at runtime, installing/updating add-ins from remote repositories (via Cydin[1]), etc. [1] https://github.com/slluis/cydin
- Loading branch information
Showing
21 changed files
with
219 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Addin | ||
id="smuxi-engine-campfire" | ||
version="1.1" | ||
compatVersion="1.1" | ||
copyright="© 2012 Carlos Martín Nieto. Licensed under the GPL license." | ||
name="Campfire" | ||
category="Engines" | ||
description="Support for Campfire protocol." | ||
author="Carlos Martín Nieto" | ||
url="http://smuxi.im/" | ||
defaultEnabled="true"> | ||
|
||
<Dependencies> | ||
<!-- not depending on other addin, just the addinRoot --> | ||
<Addin id="smuxi-engine" version="1.1"/> | ||
</Dependencies> | ||
|
||
<Extension path="/Smuxi/Server/Engine"> | ||
<Engine class="Smuxi.Engine.CampfireProtocolManager"/> | ||
</Extension> | ||
</Addin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Addin | ||
id="smuxi-engine-irc" | ||
version="1.1" | ||
compatVersion="1.1" | ||
copyright="© 2005-2015 Mirco Bauer. Licensed under the GPL license." | ||
name="IRC" | ||
category="Engines" | ||
description="Support for IRC protocol." | ||
author="Mirco Bauer" | ||
url="http://smuxi.im/" | ||
defaultEnabled="true"> | ||
|
||
<Dependencies> | ||
<!-- not depending on other addin, just the addinRoot --> | ||
<Addin id="smuxi-engine" version="1.1"/> | ||
</Dependencies> | ||
|
||
<Extension path="/Smuxi/Server/Engine"> | ||
<Engine class="Smuxi.Engine.IrcProtocolManager"/> | ||
</Extension> | ||
</Addin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Addin | ||
id="smuxi-engine-jabbr" | ||
version="1.1" | ||
compatVersion="1.1" | ||
copyright="© 2012-2014 Mirco Bauer. Licensed under the GPL license." | ||
name="IRC" | ||
category="Engines" | ||
description="Support for JabbR protocol." | ||
author="Mirco Bauer" | ||
url="http://smuxi.im/" | ||
defaultEnabled="true"> | ||
|
||
<Dependencies> | ||
<!-- not depending on other addin, just the addinRoot --> | ||
<Addin id="smuxi-engine" version="1.1"/> | ||
</Dependencies> | ||
|
||
<Extension path="/Smuxi/Server/Engine"> | ||
<Engine class="Smuxi.Engine.JabbrProtocolManager"/> | ||
</Extension> | ||
</Addin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Addin | ||
id="smuxi-engine-twitter" | ||
version="1.1" | ||
compatVersion="1.1" | ||
copyright="© 2009-2015 Mirco Bauer. Licensed under the GPL license." | ||
name="Twitter" | ||
category="Engines" | ||
description="Support for Twitter protocol." | ||
author="Mirco Bauer" | ||
url="http://smuxi.im/" | ||
defaultEnabled="true"> | ||
|
||
<Dependencies> | ||
<!-- not depending on other addin, just the addinRoot --> | ||
<Addin id="smuxi-engine" version="1.1"/> | ||
</Dependencies> | ||
|
||
<Extension path="/Smuxi/Server/Engine"> | ||
<Engine class="Smuxi.Engine.TwitterProtocolManager"/> | ||
</Extension> | ||
</Addin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Addin | ||
id="smuxi-engine-xmpp" | ||
version="1.1" | ||
compatVersion="1.1" | ||
copyright="© 2005-2006 Mirco Bauer, © 2011 tuukka, © 2013-2014 Oliver Schneider. Licensed under the GPL license." | ||
name="XMPP" | ||
category="Engines" | ||
description="Support for XMPP and XMPP-based protocols (e.g. Facebook)." | ||
author="Mirco Bauer, Oliver Schneider" | ||
url="http://smuxi.im/" | ||
defaultEnabled="true"> | ||
|
||
<Dependencies> | ||
<!-- not depending on other addin, just the addinRoot --> | ||
<Addin id="smuxi-engine" version="1.1"/> | ||
</Dependencies> | ||
|
||
<Extension path="/Smuxi/Server/Engine"> | ||
<Engine class="Smuxi.Engine.XmppProtocolManager"/> | ||
<Engine class="Smuxi.Engine.FacebookProtocolManager"/> | ||
</Extension> | ||
</Addin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Smuxi - Smart MUltipleXed Irc | ||
// | ||
// Copyright (c) 2016 Andrés G. Aragoneses | ||
// | ||
// Full GPL License: <http://www.gnu.org/licenses/gpl.txt> | ||
// | ||
// This program is free software; you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation; either version 2 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with this program; if not, write to the Free Software | ||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
|
||
using Mono.Addins; | ||
|
||
[assembly:AddinRoot("smuxi-engine", "1.1")] | ||
[assembly:AddinDescription("This add-in root provides the engine extension point for add-in protocols to hook")] | ||
[assembly:ExtensionPoint("/Smuxi/Server/Engine", NodeName="Engine")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.