Pavel Labath
ff52605930
Fix compilation without --enable-argb
...
Bug reported by zaphire
2010-02-03 22:42:19 +01:00
Cesare Tirabassi
b1b91c80fa
Replaces commit 44e3708cdb
...
Thanks to ichelm610x for the patch.
I just added memoization to reduce the impact of the many system calls.
(cherry picked from commit 1eedf2633b
)
2010-01-31 21:01:08 +01:00
Cesare Tirabassi
80c56d099e
Modify last commit to keep compiler happy since it claims devbuf can never be null (should we really trust gcc that much?)
2010-01-30 19:17:17 +01:00
Cesare Tirabassi
ddec718a62
Fix diskio total computation for kernel > 2.6.31 (sf: #2942117 )
...
(cherry picked from commit 44e3708cdb
)
2010-01-30 14:32:05 +01:00
Brenden Matthews
a11cf38aaa
Only ever fork() once.
2010-01-26 13:06:17 -08:00
Brenden Matthews
5ed1f82ff5
Only pause during startup, not after reload.
2010-01-26 12:38:35 -08:00
Nikolas Garofil
0c19282eee
Let cmake check for and include xext when building with xdbe
2010-01-25 00:08:06 +01:00
Cesare Tirabassi
4264f759bb
Fix minor memory leak in mail.cc (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566524 )
2010-01-24 22:15:52 +01:00
Pavel Labath
1de2a9e6c5
Add optional argument to $acpiacadapter
...
The exact location of the state information seems hardware dependent, so this adds the option to
specify it manually. (linux only)
2010-01-24 15:34:03 +01:00
Pavel Labath
6e89ed7e2d
Get $iconv vars working again
2010-01-20 18:17:30 +01:00
Pavel Labath
9bee219adf
Make conky not crash when drawing on root window
...
It was failing in XQueryColor because colourmap was NULL. This seemed to help.
2010-01-20 00:01:01 +01:00
Pavel Labath
926af1041e
Make building with LUA and MAINTAINER_MODE work
...
apparently, it was just a name conflict.
2010-01-19 16:33:05 +01:00
Nikolas Garofil
e851171a42
Merge branch 'master' of ssh://git.omp.am/home/omp/git/conky
2010-01-17 20:42:47 +01:00
Nikolas Garofil
122f82ff16
disable dependencies in UI when disabling X11
2010-01-17 20:40:40 +01:00
Pavel Labath
ae4be102b6
Another off-by-one found by valgrind.
2010-01-17 19:51:17 +01:00
Nikolas Garofil
e840dcdd5b
When building without x11, also disable xdamage, own_window, xdbe, xft, imlib2, argb and remove x11-related options from the builtin config
2010-01-17 16:15:59 +01:00
Nikolas Garofil
287c38a0b9
Added support for builtin config in cmake
2010-01-17 03:00:51 +01:00
Dmitry Marakasov
5664cc3d13
Add SMP support for FreeBSD.
...
Original patch written by Ivan Klymenko <fidaj@ukr.net>.
Signed-off-by: Brenden Matthews <brenden@diddyinc.com>
2010-01-16 10:55:20 -08:00
Pavel Labath
3a23eb5f6c
Fix "off-by-one" bug in hddtemp found by valgrind
2010-01-15 23:41:04 +01:00
Brenden Matthews
002685c0ce
Make timed-thread a lib, rename files.
2010-01-13 10:52:54 -08:00
Pavel Labath
b7028cb9e5
Make weather.cc more c++-ish (and get rid of a leak in the process)
2010-01-13 13:59:24 +01:00
Pavel Labath
c62266a5db
Make sure the $exec buffer is null-terminated
2010-01-13 13:34:14 +01:00
Pavel Labath
86e744d334
Fix slightly over-zealous s///
2010-01-13 10:49:36 +01:00
Brenden Matthews
081d04a059
Pass by value here too.
2010-01-12 10:38:30 -08:00
Brenden Matthews
e0502719a0
Pass function by value to timed_thread::create().
2010-01-12 10:30:37 -08:00
Pavel Labath
0f3a56ccbe
An attempt at making wifi work
...
Someone who has iwlib should really test this.
2010-01-11 01:13:42 +01:00
Pavel Labath
47509b38bd
An attempt at making lua bindings work
2010-01-11 00:35:22 +01:00
Phil Sutter
bdda06f4ea
fix segfaults in CRIT_ERR condition
...
- pthread_join() on uninitialised threads causes segfault
- XFreeFont() dislikes font being zero
2010-01-10 22:09:33 +01:00
Phil Sutter
3ab853af65
fix for a fatal X11 error (possible creation of zero-sized window)
2010-01-10 22:07:52 +01:00
Phil Sutter
0bdff28f69
fix smapi move to C++
2010-01-10 22:06:01 +01: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
Phil Sutter
b4a73e166e
add missing BUILD_IBM define to config.h.in
2010-01-10 22:01:04 +01:00
Pavel Labath
e554e6ff67
If we want a function to change the object, we need to pass it by reference
2010-01-07 19:50:00 +01:00
Pavel Labath
4c2d634f07
Unbreak weather and iostats
...
The weather still doesn't quite work for me though.
2010-01-07 19:14:53 +01:00
Brenden Matthews
3e3dd16367
Update modelines and stuff.
2010-01-06 19:45:19 -08:00
Brenden Matthews
7e78f036f0
Use consistent naming for build option macros.
...
Probably have broken some build features with this commit.
2010-01-06 18:39:44 -08:00
Pavel Labath
79be66b15a
Fix building of iostats.
2010-01-06 21:11:58 +01:00
Pavel Labath
d61c545973
"Port" nvidia code to c++
2010-01-06 20:57:13 +01:00
Brenden Matthews
9b46a61ae6
Don't include non-existent files.
2010-01-06 11:33:42 -08:00
Brenden Matthews
5d20ed4b8c
Fix small logic error in diskio.
2010-01-06 10:18:32 -08:00
Cesare Tirabassi
2568030509
Fix sigsegv if cpu_usage has not yet been populated (seen on 1.8.0_rc1)
2010-01-05 16:59:50 +01:00
Brenden Matthews
7ff762e4af
Resolve issues with timed_thread rewrite WIP.
2010-01-04 19:21:12 -08: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
58cbbf57a3
Coulpe minor build fixes.
2010-01-04 18:43:40 -08:00
Brenden Matthews
b8a678728c
Remove automake build system, fix defconfig.h.
2010-01-04 18:07:49 -08:00
Cesare Tirabassi
36b6facaf5
Remove compiler warning about uninitialized variable
2010-01-03 18:52:22 +01:00
Cesare Tirabassi
c73f320798
There is no need to have glib for rss
2010-01-03 18:46:09 +01:00
Brenden Matthews
9acf0bb4c0
Fix some minor memleaks, fix crash on reload.
...
It seems that closing xft fonts on reload is a bad idea, but this seems
to result in a memory leak. As far as I can tell, the leak doesn't grow
beyond the initial allocation however.
2010-01-02 14:44:20 -08:00