summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* bugzilla plugin can do +1 in a bugzillaZdenek Prikryl2009-08-112-11/+62
|
* for correct plugin's settings we need to know an userZdenek Prikryl2009-08-115-7/+9
|
* new function for gettings user's home directoryZdenek Prikryl2009-08-111-0/+6
|
* GUI: Added option to disable/enable plugins (config preview)Jiri Moskovcak2009-08-114-31/+16
|
* DBUS: exposed methods Un/RegisterPluginJiri Moskovcak2009-08-115-0/+44
|
* add the GPL notice to the kerneloops' scannerAnton Arapov2009-08-112-0/+52
| | | | this is important, since the codebase of the kerneloops.org was used.
* kerneloops eliminate commented code, related to type distinguishing...Anton Arapov2009-08-113-7/+7
| | | | it seems stable, proved by the stress tests. :)
* Kerneloops plugin: style fixesAnton Arapov2009-08-104-149/+153
|
* fix a bug where kerneloops segfaults on empty oops dataAnton Arapov2009-08-101-5/+15
| | | | | | | also, we aren't interested in empty reports, so do not report anything when oops message was not provided. Signed-off-by: Anton Arapov <aarapov@redhat.com>
* DBUS: added new method to get plugin settingsJiri Moskovcak2009-08-106-7/+32
|
* fix compile-time warnings.Denys Vlasenko2009-08-094-13/+17
| | | | | | | One fix (in CCrashWatcher::GetPluginsInfo) needs closer look, others are "trivially correct" Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* style fixes, no code changesDenys Vlasenko2009-08-093-10/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* replace string memebers of plugin_info_t with const char*Denys Vlasenko2009-08-071-6/+6
| | | | | | | | | | Since they are constant, and we never ever want to change them, there is no benefit in having them as strings. This change removes one global data object's constructor and destructor from every applet .so module. 6k less code. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify logging by removing CCommLayerInner classDenys Vlasenko2009-08-073-121/+18
| | | | | | | | It had single use site. The class itself is trivial, it just passed messages down to an CObserver. Now we pass messages directly to an CObserver. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix a bug where kerneloops scanner forgets to delete .lock filesDenys Vlasenko2009-08-071-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* preparatory cleanupsDenys Vlasenko2009-08-071-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Split real code from lib/MiddleWare/Plugin.h into Plugin.cpp.Denys Vlasenko2009-08-077-93/+105
| | | | | | 30k smaller code. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtJiri Moskovcak2009-08-065-322/+0
|\
| * move lib/MiddleWare/{ABRTPlugin,DynamicLibrary}.* to src/Daemon/Denys Vlasenko2009-08-065-322/+0
| |
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtJiri Moskovcak2009-08-0630-1895/+971
|\| | | | | | | | | Conflicts: lib/CommLayer/DBusServerProxy.h
| * fix a case when we print a warning twice.Denys Vlasenko2009-08-061-13/+14
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * move lib/MiddleWare/PluginManager.* -> src/Daemon/PluginManager.*Denys Vlasenko2009-08-063-444/+0
| | | | | | | | | | | | This reduces code size by 14k. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * style cleanups in preparation for PluginManager moveDenys Vlasenko2009-08-062-73/+77
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * move huge inlines out of DBusClientProxy.h to DBusClientProxy.cppDenys Vlasenko2009-08-065-190/+269
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * deinline 2k+ big inlines in DBusServerProxy.h. No logic changesDenys Vlasenko2009-08-063-179/+248
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * moving MiddleWare.{h,cpp} from lib/MiddleWare/ to src/Daemon/Denys Vlasenko2009-08-063-981/+18
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * prepare makefiles for code movement between dirs. no code changesDenys Vlasenko2009-08-061-15/+32
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * trailing whitespace removal. no code changesDenys Vlasenko2009-08-0614-87/+86
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * CDebugDump::Create(pDir, pUID): make 2nd param uid_t, not stringDenys Vlasenko2009-08-054-10/+9
| |
| * Hooks/CCpp.cpp: don't dump executables with "/abrt" substring in the nameDenys Vlasenko2009-08-051-1/+29
| | | | | | | | | | | | some cleanups and abrtlib work crept in too... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * do not abort if chown fails, just warnDenys Vlasenko2009-08-051-16/+7
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * forgot to add lib/Utils/copyfd.cppDenys Vlasenko2009-08-051-0/+107
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * simplify C/C++ hookDenys Vlasenko2009-08-051-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * move huge inlines out-of-lineDenys Vlasenko2009-08-052-0/+186
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | DBUS: added method GetPluginsInfo()Jiri Moskovcak2009-08-065-3/+31
|/
* made some functions staticDenys Vlasenko2009-08-043-61/+54
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove redundant virtual destructors definitionsDenys Vlasenko2009-08-0415-27/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dumpoops: hopefully fix KerneloopsScanner plugin usageDenys Vlasenko2009-08-041-0/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fix: s/Plugis/Plugins/gDenys Vlasenko2009-08-044-21/+23
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add error checks on lstat calls; add handling of DT_UNKNOWNDenys Vlasenko2009-08-041-11/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Minor fixes - just to make sources compile.Jiri Moskovcak2009-08-042-12/+12
|
* lib/Plugins/CCpp.cpp: move functions out of class where appropriate.Denys Vlasenko2009-08-032-33/+17
| | | | | | | | | | | | | | | | | | | I was struggling to read the code where classes have member functions with no apparent reasons to be such: they do not use any members of the class. Having them members of the class have only disadvantages: they need to be declared in the class (thus you need to touch TWO files), they cannot be shared among different classes, they look confusing at callsites - the code falsely suggests that function uses or alters object's state, they also are a bit less efficient. I was hesitating to do so before, but now I was told that there is a plan to gradually move to C implementation... then this change makes it a bit closer to that. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify parameter/return value passing for boolsDenys Vlasenko2009-08-032-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* DBus: Many fixes to client -> cli works again, changed JobDone notificationJiri Moskovcak2009-08-037-17/+64
|
* delete semicolon in "if (expr); stmt;" , autodetect dmesg/syslogDenys Vlasenko2009-07-313-12/+29
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* added new interface for geting plugins' settings (will be used in gui)Zdenek Prikryl2009-07-3123-71/+368
|
* moved to lib/MiddleWare/Plugin.hZdenek Prikryl2009-07-311-92/+0
|
* small fixes to dumpoopsDenys Vlasenko2009-07-311-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Move PLUGIN_INFOs to .cpp files: same object must never be defined twiceDenys Vlasenko2009-07-3126-130/+123
| | | | | | | | and if structure is defined in a .h file, that happens. Since this particular structure has non-trivial destructor, it was running twice and resulted in double-free. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* KerneloopsReporter: plug a leak in writefunctionDenys Vlasenko2009-07-317-31/+68
| | | | | | Also some preparatory cleanups for future dumpoops patch are included Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>