First step in rewrite to C
Added code for connecting to SQLite database
Added code for creating the database
Use Argp to parse arguments
Implemented more command line options
Use stderr for messages and errors
Find wallpapers from PATH
Save image paths to database
Improved performance of the wallpaper scanner
Obtaining a random wallpaper
Return random wallpaper. Still very buggy.
Fixed bug in getting random wallpaper
Use gsettings to set the wallpaper. Currently doesn't work for some reason.
Calling g_settings_sync() makes sure the changes are written to disk.
Hence changing a gsettings setting was not persistent.
Use /dev/urandom as a seed for rand()
Comment sunriset.c's main()
Calculate local sunrise, sunset and twilight times and use it select wallpapers that fit the time of day
Moved all the local brightness calculation code to get_local_brightness()
Fixed a reference to freed memory and a logical error in get_local_brightness()
Fixed an error in comparing two strings