path: root/src/plugin.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-12-31Fix crashes when loading plugins on the command lineSam Spilsbury1-2/+3
plugin.cpp:plugins is a reverse list, so iterate it in reverse
2010-12-06Fix startup order.Sam Spilsbury1-11/+11
Previously we were doing something like this: init -> screen init -> init core plugin screen -> create windows -> eventLoop -> updatePlugins -> initPlugin (initScreen (initWindow))). This order has a number of problems with it - namely that config plugins will be loaded on one full pass of the event loop and then core options are initialized, before which we were doing certain startup procedures on the default options, which resulted in strange race condition bugs. Also, if we are compositing we have a brief (visible) switch from 2D mode to 3D mode - in reality we want to be in 3D mode ASAP. The new order is init -> updatePlugins (load plugins specified on command line) -> screen init -> load command line plugins -> update plugins (load new plugins specified by config plugins on the command line) -> init screens -> create window (init plugins for window) -> eventLoop. This means that it takes longer for us to get to the event loop, but at least we can zip through the initialization phase quite quickly
2009-08-21Fix memory leaks.Erkin Bahceci1-0/+1
2009-07-17Convert Bool -> bool, TRUE -> true, FALSE -> false.Erkin Bahceci1-1/+1
2009-03-16Whitespace fixes.Danny Baumann1-5/+5
2009-03-15Removed const from getOptions.Dennis Kasprzyk1-3/+3
2009-03-15Drop CompMetadata from plugin vtable.Dennis Kasprzyk1-16/+5
Added getOptions and setOption functions to plugin vtable template class.
2009-02-25Get plugin loading improvements from 0.8 branch and add --debug commandDanny Baumann1-35/+44
line parameter that enables logging of CompLogLevelDebug messages on stdout.
2008-12-16New plugin loader systemDennis Kasprzyk1-30/+63
2008-09-17Move core headers into core subdirectory.Dennis Kasprzyk1-1/+1
2008-09-16Initialize window in correct order.Dennis Kasprzyk1-2/+10
2008-09-16Drop never finished object handling.Dennis Kasprzyk1-143/+111
2008-09-15Merge CompCore and CompDisplay into CompScreen class.Dennis Kasprzyk1-24/+18
2008-09-07Use CompPlugin::List.Erkin Bahceci1-1/+1
2008-09-07Use plugin and window maps for more efficient search.Erkin Bahceci1-7/+15
2008-08-24Save ABI in global map.Dennis Kasprzyk1-28/+7
2008-08-21Fixed segfaults.Dennis Kasprzyk1-0/+3
2008-08-21Cleanup compiz[-core].hDennis Kasprzyk1-22/+20
2008-08-20Move Plugin related function into CompPlugin header.Dennis Kasprzyk1-181/+118
2008-08-20Store displays as STL list.Dennis Kasprzyk1-1/+1
2008-08-20C++ port of CompMetadata.Dennis Kasprzyk1-1/+1
2008-08-20Port of CompOption and CompAction to C++.Dennis Kasprzyk1-31/+26
2008-08-08Added new object private handling system.Dennis Kasprzyk1-76/+23
2008-08-08Make CompObject smarter.Dennis Kasprzyk1-9/+10
2008-08-06Conversion ob main classes to C++.Dennis Kasprzyk1-64/+114
2008-07-25Switch to c++ and compile with a basic set of plugins.Dennis Kasprzyk1-0/+780