Pavel Labath
af4633a8ee
fix compilation errors in previous commit
2010-08-24 22:27:09 +02:00
Pavel Labath
684933416c
Fix segfault in i8k (sf.net #3007167 )
...
Apparently, sometimes the value of i8k.right_fan_status is sometimes null. This just makes sure
the null value isn't passed to atoi(3). A better solution would be to figure out why is it null,
but I cannot do that as I don't have the hardware.
2010-08-24 21:50:07 +02:00
Pavel Labath
2c96799e59
Make {overwrite,append}_file lua settings
2010-08-22 13:04:19 +02:00
Pavel Labath
3dd4593bc9
Make max_text_width a lua setting
2010-08-22 12:49:31 +02:00
Pavel Labath
228f65bc52
Make diskio_avg_samples a lua setting
2010-08-22 12:31:11 +02:00
Pavel Labath
9d30e34a01
Make net_avg_samples a lua setting
2010-08-22 12:28:04 +02:00
Pavel Labath
80f3359634
make cpu_avg_samples a lua setting
2010-08-22 12:24:26 +02:00
Pavel Labath
663e99ee53
Make mpd_{host,password,port} lua settings
2010-08-22 12:17:09 +02:00
Pavel Labath
3a9823b7f3
Add one more pushstring overload to lua::state
2010-08-21 21:06:34 +02:00
Pavel Labath
da5d739fd9
gcc-4.5 fix (kinda)
...
actually it was more of a bug in the code, but it worked in gcc-4.4
2010-08-21 18:01:16 +02:00
Pavel Labath
4cb6606ea2
Make nvidia_display a lua setting
2010-08-21 14:13:07 +02:00
Pavel Labath
179a1a15b9
Merge branch 'master' into lua-config
...
Conflicts:
src/conky.cc
src/mysql.cc
src/mysql.h
2010-08-21 14:11:33 +02:00
Pavel Labath
6b45fe1ef0
fix apcupsd compilation
2010-08-19 16:26:34 +02:00
Pavel Labath
a087333285
add missing include
2010-08-19 16:22:09 +02:00
Pavel Labath
1936d6a2ef
fix typo
2010-08-16 16:42:30 +02:00
Pavel Labath
abeadb59d7
Use getaddrinfo instead of gethostbyname
...
Patches conky to use getaddrinfo instead of gethostbyname everywhere. gethostbyname is rather
flawed and doesn't support IPv6 properly.
Patch contributed by Pascal Bleser
2010-08-15 15:56:36 +02:00
Pavel Labath
8ff9b58c3b
Fix 'nvidia with ncurses segfaults' (sf.net #3006233 )
...
Additionally, add a nvidia_display variable. This enables the $nvidia variable to be used without
out_to_x yes (X11 support still has to be built in, you just don't have to use it).
2010-08-13 15:23:11 +02:00
Pavel Labath
14511b19ea
Make $fs_used_perc and $fs_bar report used space correctly
...
they reported fs->size - fs->avail, which is not correct if fs has super-user reserved blocks.
note that now $fs_used_perc and $fs_free_perc need not add up to 100%, but that is consistent
with what $fs_used and $fs_free do.
2010-08-12 20:58:21 +02:00
Pavel Labath
699d6bed40
Fix buffer overflows in eve.c (sf.net #3034056 )
2010-08-12 17:26:07 +02:00
Pavel Labath
074271b430
Fix gcc warning
2010-07-29 16:31:30 +02:00
Pavel Labath
968f5f4201
auto_ptr is deprecated
2010-06-26 12:33:55 +02:00
Pavel Labath
dad4b80c8f
Fix double-free bug in mysql.cc
2010-06-23 19:06:32 +02:00
Pavel Labath
b5a4d899ab
Make mysql_* lua settings
2010-06-22 01:34:55 +02:00
Pavel Labath
c33d617179
make templateN a lua setting
2010-06-21 00:37:58 +02:00
Pavel Labath
76a1b17e5c
make out_to_http a lua setting
2010-06-20 19:31:17 +02:00
Pavel Labath
8c41d3183e
make http_refresh a lua setting
2010-06-20 19:15:56 +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
e70df5e477
Ignore spaces in {} when breaking up arguments to $lua
2010-06-18 17:55:49 +02:00
Pavel Labath
945b52b9a6
Use pass-by-reference paramers in ccurl_thread where possible
2010-06-17 15:19:31 +02:00
Pavel Labath
1cf1b5c631
Fix overflow in ccurl_thread interval caused by 0f213c89
2010-06-17 15:12:42 +02:00
Pavel Labath
b82250d551
Small build fix & zero playtime and progress bars when XMMS2 playback is stopped.
...
patch contributed by sleipner
2010-06-13 19:10:59 +02:00
Pavel Labath
cccbf3b4c0
Add a CMAKE variable for the patch program
2010-06-13 19:09:07 +02:00
Pavel Labath
c80deb2d69
Fix "wrong type of arguments for cairo_set_dash", sf.net #3014648
...
I am not particularly proud of this solution. If you have a better one, feel free to implement
it.
2010-06-13 18:57:07 +02:00
Pavel Labath
2232641b8e
Change the >=gcc-4.4 test from warning into an error
...
This reverts commit 37355406a8
.
2010-06-10 19:19:49 +02:00
Pavel Labath
0f213c89f2
Simplify timed_thread time calculations with some c++0x magic
2010-06-10 19:19:49 +02:00
Pavel Labath
6642004d61
gcc-4.5 compatibility fix
2010-06-10 19:19:49 +02:00
Pavel Labath
e5c9172de3
Use reference parameters where possible
2010-06-10 19:19:49 +02:00
Nikolas Garofil
99fc975780
Add support for $wireless_freq
2010-06-07 10:50:02 +02:00
Nikolas Garofil
7b9d69950c
Docs for $wireless_channel
2010-06-07 10:06:07 +02:00
Nikolas Garofil
6ccde5e7e7
Add support for $wireless_channel (based on a patch by Timothy Ball)
2010-06-07 09:54:25 +02:00
Nikolas Garofil
b5800a3418
Use fixed-width fonts with out_to_http so that everything lands where it should land
2010-06-05 14:27:20 +02:00
Nikolas Garofil
7a2e292429
Change multiple spaces in -s when out_to_http is used
2010-06-05 14:05:08 +02:00
Nikolas Garofil
e7eae4ec8f
Change newlines in "<br />"-s when out_to_http is used
2010-06-05 02:08:50 +02:00
Nikolas Garofil
6ab9167e38
update syntax files
2010-06-04 15:52:30 +02:00
Nikolas Garofil
edc45d41f2
Add support for http_refresh
2010-06-04 15:47:01 +02:00
Nikolas Garofil
54d4e6518d
Add support for out_to_http
2010-06-04 14:41:12 +02:00
Alexander Graf
1180733e13
${top}: fix bug of living dead processes
...
This fixes a bug occurred with 0b3e3c637e
.
Dead processes still appeared in ${top} under FreeBSD and OpenBSD. This was
because I forgot to update the g_time variable which is used as time stamp in
the process list.
Signed-off-by: Alexander Graf <agraf@znc.in>
2010-06-03 22:11:57 +02:00
Nikolas Garofil
3fa1ca15e1
Fix previous commit
2010-06-02 19:28:40 +02:00
Nikolas Garofil
d80c372a5c
Fix segfault in mail folder (SF: 3007493)
2010-06-02 18:00:38 +02:00
Alexander Graf
319ff32283
shorten top compare functions
...
A substraction is used instead of if, else if, else. This is much
shorter.
Signed-off-by: Alexander Graf <agraf@znc.in>
2010-05-30 17:52:00 +02:00