Commit Graph

67 Commits

Author SHA1 Message Date
Robert Adam
923045ac60 FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
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
Robert Adam
34c602c85b BUILD(qmake): Remove
This commit removes all qmake-related build-files from the system. We
have now migrated to cmake and are no longer maintaining qmake anyways
and therefore there is no reason to keep it.

Removing it also clearly states to any potential user/programmer that
this project is no longer intended to be compiled with qmake.

Given that the .pri files no longer exist, the mumble-version.py script
had to be adapted to read the version from the CMakeLists.txt file
instead.

Furthermore a few of the submodules support cmake natively and therefore
we no longer need the src/buid-directory approach in order to build
them. The respective build dirs have been removed and the src-dirs have
been renamed.
2020-09-02 08:29:45 +02:00
Davide Beatrici
6b87ac6221 Plugins: add CMakeLists.txt files 2020-07-11 19:34:49 +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
5db12321ac plugins: link to user32 in common project (only on Windows) 2019-10-11 22:48:06 +02: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
Jan Klass
23e763888f Fix assignment spacing in pro files
Consistently use single space before assignment operator.
2017-08-05 20:44:00 +02: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
davidebeatrici
90bcd40d39 plugins: Move NUL terminator to escape function 2016-10-23 21:32:08 +02:00
davidebeatrici
0785dea6cf plugins/wow: Update version number
The memory addresses didn't change.
2016-10-18 17:53:24 +02:00
davidebeatrici
a18d61c4d4 plugins/wow: update plugin to work with build 22624
Game version: 7.0.3.22624

http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing/585582-wow-7-0-3-22624-release-info-dump-thread.html#post3615091
2016-09-25 22:07:53 +02:00
davidebeatrici
04dacb11cf plugins/wow: Total revamp and support for the x64 executable. 2016-09-12 21:47:28 +02:00
Mikkel Krautz
4030d2cceb plugins/wow: convert plugin to use mumble_plugin_win32_32bit.h. 2016-08-21 18:22:27 +02:00
Mikkel Krautz
b19840cd10 plugins: use MUMBLE_PLUGIN_EXPORT instead of __declspec(dllexport). 2016-08-13 22:59:30 +02:00
Mikkel Krautz
64f1c095e6 Remove old-style license header from WoW plugin.
Karl Dietz has allowed us to remove the old license header
from the WoW plugin.
2016-06-11 19:18:01 +02:00
Mikkel Krautz
313be4b66b plugins: update to use LICENSE.header. 2016-05-10 22:42:04 +02:00
Jamie Fraser
263607f578 Update World of Warcraft 32-bit plugin to build 20444
Untested because I have no friends. :( Debug printf()s look correct, and
I've gotten away with it before.
2015-09-20 14:12:05 +02:00
Mikkel Krautz
370fae6b5b plugins: cleanup a few warnings in the WoW plugin. 2014-12-30 21:46:05 +01:00
Jamie Fraser
b9baebbb84 Update WoW Plugin to build #19116
Update the 32-bit WoW plugin to build #19116.
2014-11-09 22:49:09 +01:00
Jamie Fraser
d2a1b5ca42 Update WoW plugin to build 19103
Update the WoW plugin again, clean up some of the old code that's not
necessary, and add solution by @hacst to append realm name to identity
so it's actually useful now.
2014-11-01 21:30:03 +01:00
Jamie Fraser
8ab0c4a6b1 Update WoW Plugin to build 19034
Update WoW plugin, including switching to 128-bit GUIDs, which I've
naively done with a structure containing two 64-bit integers instead.
There's probably a nicer way to do this.
2014-10-18 02:01:32 +02:00
Jamie Fraser
82f95c6344 Update World of Warcraft Plugin to build 18291
I'm also tentatively throwing away the process of going through NameStore
looking for our characer name - all the posters on OwnedCore are doing it through
a simple pointer. I'm guessing this plugin doesn't do it that way because there was
no static pointer when it was written, but for now this seems to work.

(Also, no one has posted the updated offset for NameStorePtr yet)
2014-06-06 16:13:07 +02:00
Jamie Fraser
fb3d6c64fe Update WoW plugin to build 18019. 2014-04-24 10:18:09 +10:00
Benjamin Jemlich
f90c6e35ab More plugin touching 2012-05-01 11:12:43 +02:00
Jamie Fraser
8e84148315 Update World of Warcraft plugin to build #15050. 2011-12-03 20:50:15 -05:00
Jamie Fraser
b46b5e159b Update WoW plugin to build 14545. 2011-10-13 01:46:45 -04: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
Karl Dietz
d1dd3e746d wow: update to 3.3.5 2010-07-05 18:28:23 +02:00
Karl Dietz
dc11bc50ae wow update plugin to 3.3.3a 2010-06-02 01:15:43 +02:00
Karl Dietz
d6d2e4abcf wow: unbreak plugin after regexp experiment 2010-03-01 17:10:29 +01: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
Karl Dietz
1615b47347 WOW update to 3.3.2 2010-02-05 23:58:07 +01:00
Tuck Therebelos
57e8b77258 Update remaining plugin licenses 2010-01-07 06:25:46 -06:00
Karl Dietz
6da2259173 update wow plugin
removes name of server as context as we now raid with people from other servers
2009-12-21 17:20:24 +01:00
Karl Dietz
6019fc1faf plugins/wow: disable context in release builds 2009-11-12 02:35:10 +01:00
Thorvald Natvig
5677602e7b Indent, changelog and submodule update 2009-11-11 00:46:26 +01:00
Karl Dietz
e0c06096ab stabilty improvements
add wow plugin to installer
add conversion of avatar name
begin separation of wow spefific functions
rework MultiByte to WideCharacter conversion as suggested by slicer
reenable detaching from wow once it's gone
improve string handling as suggested by dD0T and slicer
show full error message when attachment to wow fails in debug build
2009-11-07 00:10:16 +01:00
Thorvald Natvig
a786cf6e87 Indent, changelog and submodule update 2009-11-03 16:34:11 +01:00