Commit Graph

44 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
56db3410c5 MAINT: Update copyright notice to 2021 (Part II)
Apparently the first commit (59ae429972)
did not include all files.

Furthermore the used script tended to produce funny results in certain
cases. This has been fixed and as a result thereof a few more changes
were made in this second run.
2021-04-09 15:41:49 +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
9875c59b7a plugins: use new header 2019-08-08 23:51:13 +02: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
davidebeatrici
2a51c7bff6 Accomplish changes in all the plugins 2017-11-19 21:48:55 +01:00
Mikkel Krautz
91ebb8b0b5 Update tree copyrights to 2017. 2017-01-08 21:05:57 +01:00
Jan Klass
e2ad9c05f0 Fix 2643: Revert "Merge PR #2611: plugins: use the short form of peekProc"
This reverts commit e9c558ffdb, reversing
changes made to ca2fd07b90.

This is a quick-fix for crashing PA plugins. The intended change is
still useful and planned to land later.
2016-11-17 12:59:45 +01:00
Davide Beatrici
921ee19e3a plugins: use the short form of peekProc
The short form of peekProc automatically uses the correct size for the target.
2016-10-31 14:24:25 +01:00
Mikkel Krautz
08198a6b7d plugins: remove some old-style license headers now covered by LICENSE/AUTHORS. 2016-08-29 23:02:52 +02:00
Mikkel Krautz
b19840cd10 plugins: use MUMBLE_PLUGIN_EXPORT instead of __declspec(dllexport). 2016-08-13 22:59:30 +02:00
davidebeatrici
88797fa324 mumble/plugins: Rename Win32 headers 2016-08-11 23:31:15 +02:00
davidebeatrici
ed8748dc07 plugins: update memory addresses retrieval to use procptr32_t/procptr64_t. 2016-06-23 23:32:37 +02:00
Mikkel Krautz
313be4b66b plugins: update to use LICENSE.header. 2016-05-10 22:42:04 +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
e1b24d25f0 Clean up a few compiler warnings. 2011-01-20 18:25:15 -08:00
Tuck Therebelos
06dd3abbec Gmod update; minor plugin fixes/updates 2010-08-09 18:01:45 -05:00
Tuck Therebelos
5fe803e46e MW2, gmod updates; BFBC2 address fix 2010-05-06 13:33:20 -05:00
Tuck Therebelos
02115d6b4c MW2 update 2010-03-19 21:59:09 -05:00
Thorvald Natvig
f2c191daf8 The grand plugin multiregexp experiment 2010-02-25 15:18:35 +01:00
Thorvald Natvig
c263aa0a7d Update plugins to new trylock signature 2010-02-25 13:19:47 +01:00
Stefan Hacker
070692d6fb Small style fixes in some plugins 2010-02-08 22:35:22 +01:00
Thorvald Natvig
e207ef60c4 Zero camera positions in plugins' fetch() 2010-02-08 17:11:59 +01:00
Tuck Therebelos
936779d426 MW2 updates 2010-02-03 21:24:55 -06:00
Tuck Therebelos
d24d29bbc3 Added alpha-testing ArmA 2 plugin; plugin version bumps 2010-01-23 15:02:58 -06:00
Tuck Therebelos
295bc080b8 MW2 updates 2010-01-21 14:01:17 -06:00
Tuck Therebelos
ad0f30f6d1 MW2 version update 2010-01-16 20:49:00 -06:00
Tuck Therebelos
58081c648c Update licenses; add UT3, 2004, 1942 plugins; update some Source plugins 2010-01-07 05:56:08 -06:00
Tuck Therebelos
d58af53faa Fix remaining plugin bugs; ensure console connects get handled properly; link PA in AW to bTransmitPosition; set default minimum volume of PA to 85% 2009-12-29 00:52:31 -06:00
Tuck Therebelos
98cd01e065 Update MW2; remove useless context 2009-12-26 03:21:27 -06:00
Thorvald Natvig
6325fa8072 Indent, changelog and submodule update 2009-12-10 18:15:56 +01:00
Tuck Therebelos
eb9ab115b2 Various Source plugin updates, fixes; CoD4, MW2 context fixes 2009-12-08 10:01:14 -06:00
Tuck Therebelos
976624052c MW2 string updates, TF2 identifier update 2009-11-25 14:08:47 -06:00
Tuck Therebelos
b7bc917c56 Fix MW2 positional data 2009-11-23 23:21:34 -06:00
Tuck Therebelos
765c399ec0 MW2 MP update 2009-11-21 01:00:25 -06:00
Tuck Therebelos
1176bdf11c MW2 plugins version updates 2009-11-18 22:04:00 -06:00
Tuck Therebelos
d5777ef47e Fixed state and V/H for MW2; MW2SpecOps plugin added 2009-11-14 18:01:21 -06:00
Tuck Therebelos
dfd790939b Fixed state for MW2; MW2SpecOps plugin added 2009-11-14 16:39:49 -06:00
Tuck Therebelos
ddb16cee3f CoDMW2 plugin; HL2DM context example 2009-11-11 22:29:51 -06:00