Brenden Matthews
ddef05d4eb
Update version, copyright.
2012-05-03 16:34:44 -07:00
Brenden Matthews
cf7610cf42
Build fix for defconfig.h.
2012-03-07 13:43:26 -08:00
Christian Brabandt
354e577b15
Cmus support added to conky
2011-10-13 09:41:53 +02:00
Pavel Labath
75e147fa25
Remove timed_thread code as it is no longer used.
2011-03-26 21:04:07 +01:00
Pavel Labath
9d6d26154a
added a convenient c++ wrapper for strerror_r
...
as a bonus, it can be used to insulate us from the GNU vs. XSI strerror_r interface differences
2011-02-27 22:43:40 +01:00
Pavel Labath
c5fe259ae0
a new update callback system
...
it should replace both timed_thread and run_update_callback() systems
it features:
- automatic removal of callbacks which are not used
- ability to run callback less frequent than the update_interval
- avoidance of running the same callback multiple times
2010-12-24 15:09:40 +01:00
Nikolas Garofil
5d28bed7db
Support for old config syntax (Optional)
2010-11-19 14:27:18 +01:00
Nikolas Garofil
b5ff3eb411
Make lua required by cmake
2010-11-14 01:41:07 +01:00
Pavel Labath
eeb1a6a0d7
Properly load config file and print the default one
...
ps: the new implementation no longer requires fopencookie() and co.
2010-09-12 16:23:06 +02:00
Pavel Labath
78ba5c2800
Merge remote branch 'origin/master' into lua-config
...
Conflicts:
src/conky.cc
src/conky.h
src/top.cc
2010-06-20 19:09:13 +02:00
Pavel Labath
f81c29a42d
make out_to_ncurses a lua setting
...
this completes the porting of bool settings
2010-04-30 19:33:21 +02:00
Nikolas Garofil
3f7ecb3a26
Add support for $irc
2010-04-30 19:32:42 +02:00
Nikolas Garofil
a13c56a7a5
Add support for $ical
2010-04-27 16:42:21 +02:00
Pavel Labath
00e91d8c31
Merge remote branch 'origin/master' into lua-config
...
Conflicts:
src/conky.cc
src/x11.cc
2010-04-22 21:17:14 +02:00
Nikolas Garofil
a6e63bcaa0
Add support for MySQL
...
Warning: Altough the current version works (for me),
the syntax of the configoptions and vars will probably change
over time. Contact me if you have ideas.
The following is a example of how you can use it now:
mysql_host someserver.com
mysql_db my_database
mysql_user loginname
mysql_password "s3cr3t"
TEXT
${mysql select var1 from some_table}${mysql select var2 from some_table}
2010-04-18 17:52:41 +02:00
Nikolas Garofil
0047a132ab
Merge read_tcp and read_udp as much as possible
2010-04-17 02:31:37 +02:00
Pavel Labath
8c6c0aa995
Merge remote branch 'origin/master' into lua-config
...
Conflicts:
src/CMakeLists.txt
2010-02-24 18:10:22 +01:00
Nikolas Garofil
63133c19d6
cpp-ify conf_cookie.c
2010-02-24 15:37:20 +01:00
Nikolas Garofil
4afe96b9ce
cpp-ify prioqueue.c and use free_and_zero in [p-r]*.cc where appropriate
2010-02-24 02:46:45 +01:00
Pavel Labath
c61376b60b
A framework for registering config settins
...
similar to the one for data sources.
2010-02-17 22:52:19 +01:00
Pavel Labath
f59a198a04
export functions for accessing data sources to lua
...
this adds some code to main() which tests these features and then exits, so it's normal that
conky doesn't work anymore.
2010-02-12 18:39:01 +01:00
Pavel Labath
4eda1a8eda
A framework for registering data sources
...
This is needed so that we know which sources to export to lua, and a huge switch or something is
just too ugly.
2010-02-11 16:30:05 +01:00
Pavel Labath
e4461782ef
C++ binding for lua, with some fancy features
...
such as being able to throw exceptions across c++-lua boundary. For more details, see comments
in the source code.
2010-02-10 17:34:09 +01:00
Nikolas Garofil
043b12b15a
cpp-ify a lot of files
2010-02-09 13:11:56 +01:00
Nikolas Garofil
66a63d9e87
cpp-ify timeinfo.c
2010-02-09 02:24:41 +01:00
Nikolas Garofil
196f6bc796
cpp-ify text_object.c
2010-02-09 02:15:32 +01:00
Nikolas Garofil
9544239a19
cpp-ify read_tcp.c
2010-02-09 02:02:00 +01:00
Nikolas Garofil
d0646bc4bb
cpp-ify mboxscan.c
2010-02-09 01:49:51 +01:00
Nikolas Garofil
b49ac8e6d3
cpp-ify template.c
2010-02-09 00:28:33 +01:00
Nikolas Garofil
287c38a0b9
Added support for builtin config in cmake
2010-01-17 03:00:51 +01:00
Brenden Matthews
002685c0ce
Make timed-thread a lib, rename files.
2010-01-13 10:52:54 -08:00
Phil Sutter
081f5e1699
make imlib2.c a C++ source, as it uses the C++ symbol 'to_real_path()'
2010-01-10 22:04:15 +01:00
Pavel Labath
d61c545973
"Port" nvidia code to c++
2010-01-06 20:57:13 +01:00
Brenden Matthews
620e9876a4
C++ conversions WIP.
...
Currently stuck on an issue with g++ and using '%lli' with printf/scanf.
2010-01-04 19:21:12 -08:00
Brenden Matthews
d3a8c4d22e
timed_thread
...
Convert everything (everything? maybe missed some stuff) from old
timed_thread to new timed_thread.
2010-01-04 19:21:12 -08:00
Brenden Matthews
01ac47d082
Implement timed_thread rewrite in C++.
...
Rewrote timed_thread library in C++ using fancy new C++0x features. The
main reason for this is to phase out poor encapsulation and C-style
function pointers.
2010-01-04 19:21:12 -08:00
Brenden Matthews
b8a678728c
Remove automake build system, fix defconfig.h.
2010-01-04 18:07:49 -08:00
Brenden Matthews
2951f5571c
Add missing copyright notices.
2010-01-01 15:49:41 -08:00
Brenden Matthews
fb33419cd4
Add CMake build support for Lua bindings.
2009-12-17 19:46:26 -08:00
Brenden Matthews
32c5f451b9
Minor build fixes
2009-12-17 18:55:54 -08:00
Brenden Matthews
48e834d1eb
More work on CMake build system.
2009-12-10 20:37:56 -08:00
Brenden Matthews
07e2002b03
Build libtcp-portmon as a separate library.
2009-12-10 15:19:13 -08:00
Brenden Matthews
b6331b4eb6
Switch some more bits to C++, more CMake changes.
2009-12-09 20:05:32 -08:00
Pavel Labath
78da8a1946
Update cmake to address portmon change.
2009-12-09 23:59:07 +01:00
Brenden Matthews
d80cacd4b7
Handle build.h, too.
2009-12-07 11:51:00 -08:00
Brenden Matthews
c5cbb3c38f
Produce error if src/config.h exists.
2009-12-07 10:08:01 -08:00
Brenden Matthews
4dcce0b386
Improve platform stuff.
2009-12-07 09:35:43 -08:00
Brenden Matthews
0406000351
More CMake build work, added Lua support.
2009-12-05 18:45:26 -08:00
Brenden Matthews
07cb6efdaf
More work on CMake build system (see README.cmake for instructions).
2009-12-05 12:00:10 -08:00
Brenden Matthews
f36f747aca
Add (broken) cmake build stuff.
2009-11-26 11:25:32 -08:00