Fix build checks for Lua >=5.1 and <5.2.
Remove unused variable.
Big refactoring of the thread/task runner code
Hopefully a lua build check which finally works on all distros
changed to absolute url paths to fix broken links
Merge pull request #6 from borgified/master

relative paths referring to portions of wiki dont work
Fixed short process names in top

Conky takes process names from /proc/<pid>/stat and it's limited to 16
chars in kernel. That obviously makes top_name_width option to work only
for decreasing name length. To obtain longer names we parse
/proc/<pid>/cmdline.

Not every process has cmdline, so we take both process names and choose
one we want to use. Like this:

- Get process name from /proc/<pid>/stat

- Get process cmdline from /proc/<pid>/cmdline

- Transform cmdline to a bit simpler form(i.e. "/usr/bin/python
 /usr/bin/terminator" to "python /usr/bin/terminator"), keeping
the arguments(might be changed easily)

- Choose the one that is longer and use it
Merge pull request #7 from alcazoid/master

Fix short process names in top
Quick fix for crashes when mpd stops
Fix unknown short battery status

Before, in the case of an unknown battery status (which often happens on my Sony VAIO laptop after waking from sleep), the buffer would be unterminated.

(Although, this memmove trick is a bit odd. It would probably be better to remove the memmove's and put a single buffer[1] = '\0'; at the end of the function).
Initial groundwork for rsvg bindings

Add scratch files as a start: merge rsvg.h and rsvg-cairo.h.
Concatenate licenses of rsvg.h and rsvg-cairo.
Remove unnecessary defines, private structs, unused apis
(GIO/GdkPixbuf), etc.
Replace deprecated api functions with glib-object functions
Add headers for glib.h and librsvg/rsvg.h
Replace glib types with primitive types

This help tolua++ to recognize them as native types and not as
usertypes.
Remove unused GIO/GdkPixbuf interface

Conky Lua only uses cairo, so that's everything we need to keep.
Anything else is just a source for trouble.
Inline typedefs
Wrapper functions for {creat,destroy}ing an rsvg handle

This wrapper functions should facilitate the handling of rsvg handles.
Especially unrefing with g_object_unref does not seem to work properly
using the lua bindings.
Functions for creating and accessing Dimension/Position structs
Include header file for helper functions

Also add function declarations
Add rsvg bindings to cmake build framework
Merge pull request #10 from troxor/fixmpdcrash

Quick fix for crashes when mpd stops
Merge pull request #11 from rephorm/patch-1

Fix unknown short battery status