Branch: refs/heads/master
Home: https://github.com/licq-im/licq
Commit: dfd04126bab2fae1fff51ef0a0e879ef907a5463
https://github.com/licq-im/licq/commit/dfd04126bab2fae1fff51ef0a0e879ef907a5463
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M jabber/src/plugin.cpp
A licq/include/licq/generalplugin.h
M licq/include/licq/plugin.h
M licq/include/licq/pluginmanager.h
A licq/include/licq/protocolplugin.h
M licq/src/licq.h
M licq/src/plugins/generalplugin.h
M licq/src/plugins/protocolplugin.h
M msn/src/msn.cpp
M qt4-gui/src/core/signalmanager.cpp
M qt4-gui/src/dialogs/plugindlg.h
M qt4-gui/src/userevents/usersendcommon.cpp
Log Message:
-----------
Moved plugin subclasses to separate headers
Commit: 115cc5d38316112dc773e40f387062ed39aa2493
https://github.com/licq-im/licq/commit/115cc5d38316112dc773e40f387062ed39aa2493
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M console/src/console_menu.cpp
M licq/include/licq/generalplugin.h
M licq/include/licq/plugin.h
M licq/include/licq/protocolplugin.h
M licq/src/contactlist/owner.cpp
M licq/src/contactlist/user.cpp
M licq/src/fifo.cpp
M licq/src/licq.cpp
M licq/src/plugins/generalplugin.cpp
M licq/src/plugins/generalplugin.h
M licq/src/plugins/plugin.cpp
M licq/src/plugins/plugin.h
M licq/src/plugins/plugineventhandler.cpp
M licq/src/plugins/pluginmanager.cpp
M licq/src/plugins/protocolplugin.cpp
M licq/src/plugins/protocolplugin.h
M licq/src/plugins/tests/generalplugintest.cpp
M licq/src/plugins/tests/plugintest.cpp
M licq/src/plugins/tests/protocolplugintest.cpp
M qt4-gui/src/core/licqgui.cpp
M qt4-gui/src/core/systemmenu.cpp
M qt4-gui/src/core/usermenu.cpp
M qt4-gui/src/dialogs/ownereditdlg.cpp
M qt4-gui/src/dialogs/ownermanagerdlg.cpp
M qt4-gui/src/dialogs/plugindlg.cpp
M qt4-gui/src/settings/status.cpp
M qt4-gui/src/userdlg/settings.cpp
M qt4-gui/src/userevents/usereventcommon.cpp
M qt4-gui/src/widgets/protocombobox.cpp
M rms/src/rms.cpp
Log Message:
-----------
api: Removed get prefix from plugin class members
Additional changes:
- Use std::string instead of char*
- Renamed getSendFunctions() to getCapabilities()
- Changed getStatus() to isEnabled() returning a bool
For now, the functions exported by the plugins are not changed.
Commit: cb28188113990abf7491f50f8fb32dbbddc17e31
https://github.com/licq-im/licq/commit/cb28188113990abf7491f50f8fb32dbbddc17e31
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M licq/src/plugins/plugin.h
M licq/src/plugins/pluginmanager.cpp
M licq/src/plugins/pluginmanager.h
Log Message:
-----------
Changed PluginManager to not need Plugin::Ptr
Commit: 13752dd76a3d9f9523d7f3d7051a179082d1f465
https://github.com/licq-im/licq/commit/13752dd76a3d9f9523d7f3d7051a179082d1f465
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M licq/src/plugins/generalplugin.cpp
M licq/src/plugins/generalplugin.h
M licq/src/plugins/plugin.cpp
M licq/src/plugins/plugin.h
M licq/src/plugins/pluginmanager.cpp
M licq/src/plugins/tests/generalplugintest.cpp
M licq/src/plugins/tests/plugintest.cpp
Log Message:
-----------
Moved signal masking to GeneralPlugin
There are no signals in Plugin and the masks are never used in
ProtocolPlugin.
Commit: cb45a22c067e53a3ce9b49fc356a3e56885c49c3
https://github.com/licq-im/licq/commit/cb45a22c067e53a3ce9b49fc356a3e56885c49c3
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M jabber/src/jabberplugin.cpp
M licq/include/licq/protocolbase.h
M licq/src/icq/icqprotocolplugin.cpp
M licq/src/plugins/generalplugin.cpp
M licq/src/plugins/generalplugin.h
M licq/src/plugins/plugin.cpp
M licq/src/plugins/plugin.h
M licq/src/plugins/pluginmanager.cpp
M licq/src/plugins/protocolplugin.cpp
M licq/src/plugins/protocolplugin.h
M licq/src/plugins/tests/generalplugintest.cpp
M licq/src/plugins/tests/plugintest.cpp
M licq/src/plugins/tests/protocolplugintest.cpp
M msn/src/plugin.cpp
Log Message:
-----------
api: Use same init handling for both plugin types
This simplifies the calls to init() in plugins at the cost of passing
along dummy argc,argv parameters to protocols.
Commit: e3f51909d0bd2741c1fe80e5ac37519bb5ea3244
https://github.com/licq-im/licq/commit/e3f51909d0bd2741c1fe80e5ac37519bb5ea3244
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M licq/src/plugins/generalplugin.cpp
M licq/src/plugins/generalplugin.h
M licq/src/plugins/plugin.cpp
M licq/src/plugins/plugin.h
M licq/src/plugins/pluginmanager.cpp
M licq/src/plugins/protocolplugin.cpp
M licq/src/plugins/protocolplugin.h
M licq/src/plugins/tests/generalplugintest.cpp
M licq/src/plugins/tests/plugintest.cpp
M licq/src/plugins/tests/protocolplugintest.cpp
Log Message:
-----------
Assign and set plugin id at creation
This allows plugins to know their id when loading and in init().
Constant INVALID_ID was dropped as it is hardly used and never
checked for.
Commit: 887a9bca194fe9fa5521cddddaf6da275d90d5f4
https://github.com/licq-im/licq/commit/887a9bca194fe9fa5521cddddaf6da275d90d5f4
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M licq/include/licq/generalplugin.h
M licq/include/licq/plugin.h
M licq/include/licq/protocolplugin.h
M licq/src/plugins/generalplugin.cpp
M licq/src/plugins/generalplugin.h
M licq/src/plugins/plugin.cpp
M licq/src/plugins/plugin.h
M licq/src/plugins/plugineventhandler.cpp
M licq/src/plugins/plugineventhandler.h
M licq/src/plugins/pluginmanager.cpp
M licq/src/plugins/pluginmanager.h
M licq/src/plugins/pluginthread.h
M licq/src/plugins/protocolplugin.cpp
M licq/src/plugins/protocolplugin.h
M licq/src/plugins/tests/generalplugintest.cpp
M licq/src/plugins/tests/plugintest.cpp
M licq/src/plugins/tests/protocolplugintest.cpp
Log Message:
-----------
api: Move plugin subclasses to private data
This makes the plugin classes in the API complete allowing them to be
created from plugins.
Friend declarations are used to allow PluginManager and unit tests
access to non-public functions.
Commit: 6b75f01201c627c0661adb94a37ee0a631658ff8
https://github.com/licq-im/licq/commit/6b75f01201c627c0661adb94a37ee0a631658ff8
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M licq/include/licq/generalplugin.h
M licq/include/licq/plugin.h
M licq/include/licq/protocolplugin.h
M licq/src/plugins/generalplugin.cpp
M licq/src/plugins/generalplugin.h
M licq/src/plugins/plugin.cpp
M licq/src/plugins/plugin.h
M licq/src/plugins/pluginmanager.cpp
M licq/src/plugins/protocolplugin.cpp
M licq/src/plugins/protocolplugin.h
M licq/src/plugins/tests/generalplugintest.cpp
M licq/src/plugins/tests/plugintest.cpp
M licq/src/plugins/tests/protocolplugintest.cpp
Log Message:
-----------
Use wrapper object for Plugin constructor params
This allows passing parameters to the Plugin constructor without
exposing them in the public headers. It also allows the constructor
parameters to be changed without affecting the public headers.
Commit: 1e00b33058088cd66c517efcd09fd1e932a37110
https://github.com/licq-im/licq/commit/1e00b33058088cd66c517efcd09fd1e932a37110
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M licq/cmake/FindLicq.cmake
M licq/include/licq/generalplugin.h
M licq/include/licq/plugin.h
M licq/include/licq/pluginbase.h
M licq/include/licq/pluginmanager.h
M licq/include/licq/protocolbase.h
M licq/include/licq/protocolplugin.h
M licq/src/icq/icqprotocolplugin.cpp
M licq/src/plugins/generalplugin.cpp
M licq/src/plugins/generalplugin.h
M licq/src/plugins/plugin.cpp
M licq/src/plugins/plugin.h
M licq/src/plugins/pluginmanager.cpp
M licq/src/plugins/pluginmanager.h
M licq/src/plugins/protocolplugin.cpp
M licq/src/plugins/protocolplugin.h
M licq/src/plugins/tests/generalplugintest.cpp
M licq/src/plugins/tests/plugintest.cpp
M licq/src/plugins/tests/protocolplugintest.cpp
Log Message:
-----------
api: Change plugin bases to be object based
The new plugin base exports only a single symbol which is a structure
containing everything Licq need to know to load the plugin. Currently
the contents is a magic value, the Licq version the plugin is built and
pointers to a functions for creating and deleting the plugins.
Plugin loading is only allowed if the magic value is correct and the
Licq version matches. This should prevent crashes later if plugins are
built for a Licq version with a different api. It is assumed that the
last digit in the version is only used for minor releases that doesn't
change the api and plugin loading will be allowed between for example
1.6.0 and 1.6.2, but not between 1.6.0 and 1.7.0.
The factory function must create and return a plugin object derived
from either Licq::GeneralPlugin or Licq::ProtocolPlugin. This object
is then the interface for communicating between Licq and the plugin.
This means that future additions to the plugin interface can be done
without having to export additional symbols for each plugin.
It should also allow plugins to communicate more directly with each
other by sharing a header file and casting the other plugins pointer
to the known subclass.
Additionally:
- Extra comments have been added in plugin interface headers to clarify
which functions are to be used by the plugin itself and which are
used by Licq and other plugins.
- The PluginManager uses a custom deleter for the plugins that makes
sure the plugin instance is completely destroyed before deleting
the DynamicLibrary instance that will close the library file.
- Plugin base classes contains implementations of configFile() and
isEnabled() allowing plugins to skip overriding.
- Plugins no longer need to register and unregister with the
PluginManager, instead they can get the read pipe and set their
signal mask through the plugin base class.
Commit: 1a758f77b430c07b03a915682c2a32ecde64ec9a
https://github.com/licq-im/licq/commit/1a758f77b430c07b03a915682c2a32ecde64ec9a
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M jabber/src/jabberplugin.cpp
M jabber/src/plugin.cpp
M jabber/src/plugin.h
M msn/src/msn.cpp
M msn/src/msn.h
M msn/src/plugin.cpp
Log Message:
-----------
Update protocol plugins for new plugin base
The existing "main" plugin classes are modified to inherit from
Licq::ProtocolPlugin.
Commit: b0db072f08b5888e4282018dd6beabf8d44c618e
https://github.com/licq-im/licq/commit/b0db072f08b5888e4282018dd6beabf8d44c618e
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M aosd/src/plugin.cpp
A aosd/src/plugin.h
M osd/src/CMakeLists.txt
M osd/src/licq-osd.cpp
A osd/src/licq-osd.h
A osd/src/plugin.cpp
M qt4-gui/src/core/licqgui.cpp
M qt4-gui/src/core/plugin.cpp
A qt4-gui/src/core/plugin.h
M qt4-gui/src/core/signalmanager.cpp
M qt4-gui/src/core/signalmanager.h
Log Message:
-----------
Update graphical plugins for new plugin base
For Qt4-Gui and Aosd, new plugin classes are added rather than trying
to make an existing classes inherit Licq::GeneralPlugin.
For Osd a class was created to hold the essential functions needed to
inherit Licq::GeneralPlugin. It is left as a future improvement to
change the remaining functions to also be members of the OsdPlugin
class.
Commit: f03a1110df96295e42c318605bafe96edc4ae743
https://github.com/licq-im/licq/commit/f03a1110df96295e42c318605bafe96edc4ae743
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M auto-reply/src/autoreply.cpp
M auto-reply/src/autoreply.h
M auto-reply/src/main.cpp
M console/src/console.cpp
M console/src/console.h
M console/src/main.cpp
M forwarder/src/forwarder.cpp
M forwarder/src/forwarder.h
M forwarder/src/main.cpp
M rms/src/main.cpp
M rms/src/rms.cpp
M rms/src/rms.h
Log Message:
-----------
Update remaining plugins for new plugin base
The existing "main" plugin classes are modified to inherit from
Licq::GenericPlugin.
Commit: f9fb1870bec5608e07b171a5e88deb49eba504f6
https://github.com/licq-im/licq/commit/f9fb1870bec5608e07b171a5e88deb49eba504f6
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M aosd/src/plugin.cpp
M auto-reply/src/autoreply.cpp
M console/src/console.cpp
M forwarder/src/forwarder.cpp
M jabber/src/plugin.cpp
M msn/src/msn.cpp
M osd/src/licq-osd.cpp
M qt4-gui/src/core/signalmanager.cpp
M rms/src/rms.cpp
Log Message:
-----------
Pop plugin signals directly from plugin base
The new plugin base class allows plugins to directly get signals and
events from the protected functions without the need to go through the
daemon class.
Commit: f6f8226f7d024e41de7c78acd8a9deeb84c183c5
https://github.com/licq-im/licq/commit/f6f8226f7d024e41de7c78acd8a9deeb84c183c5
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M licq/include/licq/daemon.h
M licq/include/licq/generalplugin.h
M licq/include/licq/protocolplugin.h
M licq/src/daemon.cpp
M licq/src/plugins/plugineventhandler.cpp
M licq/src/plugins/plugineventhandler.h
Log Message:
-----------
api: Remove signal pop wrappers from daemon class
Commit: 30356cbf8b948164de86eec8e931f4792afc4ce8
https://github.com/licq-im/licq/commit/30356cbf8b948164de86eec8e931f4792afc4ce8
Author: Anders Olofsson <[email protected]>
Date: 2011-06-24 (Fri, 24 Jun 2011)
Changed paths:
M licq/include/licq/event.h
M licq/include/licq/pluginmanager.h
M licq/src/CMakeLists.txt
M licq/src/daemon.cpp
R licq/src/plugins/plugineventhandler.cpp
R licq/src/plugins/plugineventhandler.h
M licq/src/plugins/pluginmanager.cpp
M licq/src/plugins/pluginmanager.h
Log Message:
-----------
Remove PluginEventHandler
The remaining three functions are moved to PluginManager.
Commit: f368125db2e59b831ddceee584adb812f3388f42
https://github.com/licq-im/licq/commit/f368125db2e59b831ddceee584adb812f3388f42
Author: Anders Olofsson <[email protected]>
Date: 2011-06-25 (Sat, 25 Jun 2011)
Changed paths:
M licq/include/licq/plugin.h
M licq/src/plugins/pluginmanager.cpp
Log Message:
-----------
Drop error_info from Plugin
Commit: b62b9349f89e223f262438651a240932cd8597ff
https://github.com/licq-im/licq/commit/b62b9349f89e223f262438651a240932cd8597ff
Author: Anders Olofsson <[email protected]>
Date: 2011-06-25 (Sat, 25 Jun 2011)
Changed paths:
M licq/include/licq/pluginmanager.h
Log Message:
-----------
api: Update example to match plugin changes
Commit: 0ef6cd44161d18eb8f0e1071429889d8b2166cc4
https://github.com/licq-im/licq/commit/0ef6cd44161d18eb8f0e1071429889d8b2166cc4
Author: Anders Olofsson <[email protected]>
Date: 2011-06-25 (Sat, 25 Jun 2011)
Changed paths:
M licq/include/licq/plugin.h
M licq/src/plugins/tests/generalplugintest.cpp
M licq/src/plugins/tests/plugintest.cpp
M licq/src/plugins/tests/protocolplugintest.cpp
Log Message:
-----------
api: Remove unit test names from plugin headers
Commit: 33cbd9483c18ab64512c042fac41f6c098bf1eac
https://github.com/licq-im/licq/commit/33cbd9483c18ab64512c042fac41f6c098bf1eac
Author: Anders Olofsson <[email protected]>
Date: 2011-06-25 (Sat, 25 Jun 2011)
Changed paths:
M licq/include/licq/CMakeLists.txt
R licq/include/licq/generalplugin.h
R licq/include/licq/plugin.h
A licq/include/licq/plugin/CMakeLists.txt
A licq/include/licq/plugin/generalbase.h
A licq/include/licq/plugin/generalplugin.h
A licq/include/licq/plugin/plugin.h
A licq/include/licq/plugin/pluginmanager.h
A licq/include/licq/plugin/protocolbase.h
A licq/include/licq/plugin/protocolplugin.h
R licq/include/licq/pluginbase.h
R licq/include/licq/pluginmanager.h
R licq/include/licq/protocolbase.h
R licq/include/licq/protocolplugin.h
M licq/src/CMakeLists.txt
M licq/src/contactlist/owner.cpp
M licq/src/contactlist/user.cpp
M licq/src/daemon.cpp
M licq/src/fifo.cpp
M licq/src/icq/icqprotocolplugin.cpp
M licq/src/icq/threads.cpp
M licq/src/licq.cpp
M licq/src/licq.h
M licq/src/main.cpp
A licq/src/plugin/generalplugin.cpp
A licq/src/plugin/generalplugin.h
A licq/src/plugin/plugin.cpp
A licq/src/plugin/plugin.h
A licq/src/plugin/pluginmanager.cpp
A licq/src/plugin/pluginmanager.h
A licq/src/plugin/pluginthread.cpp
A licq/src/plugin/pluginthread.h
A licq/src/plugin/protocolplugin.cpp
A licq/src/plugin/protocolplugin.h
A licq/src/plugin/tests/generalplugintest.cpp
A licq/src/plugin/tests/plugintest.cpp
A licq/src/plugin/tests/pluginthreadtest.cpp
A licq/src/plugin/tests/protocolplugintest.cpp
R licq/src/plugins/generalplugin.cpp
R licq/src/plugins/generalplugin.h
R licq/src/plugins/plugin.cpp
R licq/src/plugins/plugin.h
R licq/src/plugins/pluginmanager.cpp
R licq/src/plugins/pluginmanager.h
R licq/src/plugins/pluginthread.cpp
R licq/src/plugins/pluginthread.h
R licq/src/plugins/protocolplugin.cpp
R licq/src/plugins/protocolplugin.h
R licq/src/plugins/tests/generalplugintest.cpp
R licq/src/plugins/tests/plugintest.cpp
R licq/src/plugins/tests/pluginthreadtest.cpp
R licq/src/plugins/tests/protocolplugintest.cpp
Log Message:
-----------
api: Move plugin headers to separate sub dir
Also renamed licq/src/plugins to licq/src/plugin and renamed the
public header pluginbase.h to generalbase.h.
Commit: 9ba37617d0094bac3e233c09de788209a3f64d7f
https://github.com/licq-im/licq/commit/9ba37617d0094bac3e233c09de788209a3f64d7f
Author: Anders Olofsson <[email protected]>
Date: 2011-06-25 (Sat, 25 Jun 2011)
Changed paths:
M aosd/src/plugin.cpp
M aosd/src/plugin.h
M auto-reply/src/autoreply.h
M auto-reply/src/main.cpp
M console/src/console.h
M console/src/console_menu.cpp
M console/src/main.cpp
M forwarder/src/forwarder.h
M forwarder/src/main.cpp
M jabber/src/jabberplugin.cpp
M jabber/src/plugin.cpp
M jabber/src/plugin.h
M msn/src/msn.h
M msn/src/plugin.cpp
M osd/src/licq-osd.cpp
M osd/src/licq-osd.h
M osd/src/plugin.cpp
M qt4-gui/src/core/licqgui.cpp
M qt4-gui/src/core/plugin.cpp
M qt4-gui/src/core/plugin.h
M qt4-gui/src/core/signalmanager.cpp
M qt4-gui/src/core/systemmenu.cpp
M qt4-gui/src/core/usermenu.cpp
M qt4-gui/src/dialogs/ownereditdlg.cpp
M qt4-gui/src/dialogs/ownermanagerdlg.cpp
M qt4-gui/src/dialogs/plugindlg.cpp
M qt4-gui/src/dialogs/plugindlg.h
M qt4-gui/src/settings/status.cpp
M qt4-gui/src/userdlg/settings.cpp
M qt4-gui/src/userevents/usereventcommon.cpp
M qt4-gui/src/userevents/usersendcommon.cpp
M qt4-gui/src/widgets/protocombobox.cpp
M rms/src/main.cpp
M rms/src/rms.cpp
M rms/src/rms.h
Log Message:
-----------
Update plugins for new plugin header path
Compare: https://github.com/licq-im/licq/compare/f7f6243...9ba3761
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.