Commit Graph

33 Commits

Author SHA1 Message Date
Robert Adam
27dbee8e62 FEAT(client): Plugin framework
This commit introduces a new plugin framework into the codebase of the
Mumble client. Note that "plugin" here really refers to a (more or less)
general purpose plugin and is therefore not to be confused with the
previously available positional data plugins (only responsible for
fetching positional data from a running game and passing that to
Mumble).

The plugin interface is written in C, removing the compiler-dependence
the old "plugins" had. Instead plugins can now be written in an
arbitrary language as long as that language is capable of being compiled
into a shared library and also being capable of being C-compatible.

As already indicated a plugin is essentially a shared library that
provides certain functions that allow Mumble to interface with it.

Inside Mumble the so-called PluginManager is responsible for managing
the plugins and relaying events to the respective callbacks. Plugins
themselves can also interact with Mumble on their own initiative by
using the provided API functions.

Fixes #2455
Fixes #2148
Fixes #1594
Fixes #2051
Fixes #3742
Fixes #4575
Fixes #4751
2021-04-16 20:15:44 +02:00
Robert Adam
59ae429972 MAINT: Update copyright notice to 2021
This was done by running scripts/updateLicenseHeaders.py and then
manually editing the LICENSE file.
2021-03-02 10:15:01 +01:00
Robert
af7dac72f4 FORMAT: Run clang-format 10 on all C/CXX source-files 2020-09-11 18:29:33 +02:00
Popkornium18
691c38736a REFAC(plugins): replace NULL with nullptr
This changes all occurances of NULL in the plugins source
dir to nullptr. Additionally explicit comparisons with NULL were
removed.
2020-06-28 19:04:27 +02:00
Davide Beatrici
4e67a2fafb Auto-update LICENSE.header in source files 2020-01-07 03:09:22 +01:00
Davide Beatrici
b427333257 Auto-update LICENSE.header in source files 2019-01-25 04:56:19 +01:00
Mikkel Krautz
f6ba3a52bf Auto-update LICENSE.header in source files. 2018-01-01 23:05:37 +01:00
Mikkel Krautz
91ebb8b0b5 Update tree copyrights to 2017. 2017-01-08 21:05:57 +01:00
Mikkel Krautz
b19840cd10 plugins: use MUMBLE_PLUGIN_EXPORT instead of __declspec(dllexport). 2016-08-13 22:59:30 +02:00
Mikkel Krautz
042efe4d4b plugins/link: remove uses of HWND in about() and config(). 2016-08-06 17:18:11 +02:00
Mikkel Krautz
313be4b66b plugins: update to use LICENSE.header. 2016-05-10 22:42:04 +02:00
Kissaki
9bd10b0001 refacs; initialization, var-scope reduction, replace c-style casts, rm unused
* DBus.h, AudioOutputSpeech.cpp: initialize uninitialized members,
* d3d10.cpp: actually use assigned results for a dbg output
* lib.cpp, link.cpp: c-style to c++-style casts
* SpeexMark.cpp, ResampMark.cpp: rm unused var
* AGC.cpp, ResampMark.cpp:
rm unused var (ineffective return statement after prior return;
thus removing unused code - but someone check if sth. was missed there)
2012-10-24 19:24:33 +02:00
Benjamin Jemlich
f90c6e35ab More plugin touching 2012-05-01 11:12:43 +02:00
Thorvald Natvig
f3437a6ba7 Update copyright year ranges of dev team. 2011-03-18 05:52:51 +01:00
Thorvald Natvig
71e5e85277 Backwards compatible plugin structure 2010-02-25 14:14:44 +01:00
Thorvald Natvig
6d9bc4e116 Send pidmap to plugin trylock 2010-02-25 13:15:18 +01:00
Thorvald Natvig
16339bfc91 Update license to 2010 2010-01-05 08:49:22 +01:00
Thorvald Natvig
45da4e1569 Add license info to a few plugins 2010-01-05 05:34:09 +01:00
Thorvald Natvig
f91647345b Avoid constref initializers of std::wstring inside const structs 2009-04-27 00:18:19 +02:00
Thorvald Natvig
a6886afe8f Indent, changelog and submodule update 2009-04-22 14:59:59 +02:00
Thorvald Natvig
965a35409a Check magic signature on plugins 2009-04-18 17:14:01 +02:00
Thorvald Natvig
82c7cdcd15 Link 1.2.0 for Win32 2009-04-18 17:03:52 +02:00
Thorvald Natvig
ac0b3cf4d4 Indenting 2009-03-04 16:32:43 +01:00
Thorvald Natvig
7d873031e9 Indenting
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1109 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-04-25 16:48:54 +00:00
Thorvald Natvig
7ff1e6ef49 Patch 1950979: Repair broken ALSA, Changes to Plugins [derandi]
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1108 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-04-25 16:46:11 +00:00
Thorvald Natvig
8d67fd188f Don't break Win32 API for link plugin -- there's no need.
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1058 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-04-04 13:39:55 +00:00
Thorvald Natvig
dba5f302e5 git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1049 05730e5d-ab1b-0410-a4ac-84af385074fa 2008-03-28 13:47:46 +00:00
Thorvald Natvig
2db85f41e2 Plugin updates.
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1047 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-03-28 13:02:42 +00:00
Thorvald Natvig
8e6bd0de0c Fix for logic of Link plugin.
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1044 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-03-26 14:07:15 +00:00
Thorvald Natvig
e93c194397 Indenting run
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1019 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-03-20 14:26:20 +00:00
Thorvald Natvig
d6ef7b8c51 Compile Win32 with Visual Studio + Intel C Compiler
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@958 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-03-01 16:57:14 +00:00
Thorvald Natvig
7d26a570b9 Memory map bugfixes
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@773 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-10-08 11:59:10 +00:00
Thorvald Natvig
fdd190ddc3 Support explicit linked games.
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@772 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-10-08 11:42:35 +00:00