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
Nikolas Garofil
bf7c2bafc2
fix tiny memleak when $top is used wrong
2010-05-30 17:13:40 +02:00
Alexander Graf
0b3e3c637e
${top}: big cleanup
...
Linux-specific code in top.cc was moved to linux.cc.
Redundant code (e.g. the parts sorting by CPU usage, CPU time or memory
usage) was removed. Sorting etc. happens in top.cc, whilst
platform-dependent code in linux.cc, freebsd.cc or openbsd.cc just
builds up the process table.
In the Linux code, some functions had a return value which was never
evaluated. They return void now.
I tested it on FreeBSD and Linux; The OpenBSD port does not compile
anyway. I changed the OpenBSD parts, too, so that it will be less
effort to get conky working under OpenBSD.
Signed-off-by: Alexander Graf <agraf@znc.in>
2010-05-30 13:55:50 +02:00
Alexander Graf
cc35a00a30
Fix segmentation violation bug in freebsd.cc
...
Last patch removed a needed strndup().
Signed-off-by: Alexander Graf <agraf@znc.in>
Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2010-05-28 18:58:23 +02:00
Alexander Graf
b0e5e2cd22
${top} improvements for FreeBSD
...
- Displaying of CPU time of the processes now works
- ${top_time} (sorting by CPU time) works
- Using memcpy() instead of many sequential assignments (more clear,
less lines, maybe faster, less effort to change something)
Signed-off-by: Alexander Graf <agraf@znc.in>
Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2010-05-28 18:58:23 +02:00
Nikolas Garofil
53b167a84a
Let $ical show recurring events that had the first start in the past but have one of the next starts in the future.
...
Each recurring event is only showed once, maybe i'll change this in the future
2010-05-25 17:33:55 +02:00
Nikolas Garofil
4bc136be88
Bugfix: $alignr had some problems after commit 40452c9712
...
Example:
TEXT
alfa bravo
charlie ${alignr}delta
echo ${alignr}foxtrot
Note to self:
It could be that this fix brings back part of the bug that
40452c9712
fixed. Check this !
2010-05-24 21:04:42 +02:00
Alexander Graf
fbd7ad0152
Accept top_name_width on FreeBSD
...
It was inside #ifdef __linux__, though it is not Linux specific.
Signed-off-by: Alexander Graf <agraf@znc.in>
Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2010-05-23 21:54:42 +02:00
Alexander Graf
696d841e97
Compile under FreeBSD
...
This allows compilation under FreeBSD without errors.
read_tcpip.cc: Avoid using of SOCK_NONBLOCK argument for socket().
SOCK_NONBLOCK is Linux-specific and its use was substituted with a
fcntl() call after socket().
freebsd.cc: Change return type of update_*() to int, as required by
common.h.
Signed-off-by: Alexander Graf <agraf@znc.in>
Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2010-05-23 21:54:42 +02:00
Cesare Tirabassi
7a61fe8504
Fix battery_bar not parsing arguments correctly (sf: #2998034 , lp: #569195 )
2010-05-23 11:25:19 +02:00
Nikolas Garofil
4256da3b7f
forgot to change header in previous commit
2010-05-09 22:42:06 +02:00
Nikolas Garofil
9838bb2cde
Make sure audacious-code compiles
2010-05-09 22:07:12 +02:00
Nikolas Garofil
9cb4583429
Bugfix: mem-problems in ical-code
2010-05-07 02:10:49 +02:00
Nikolas Garofil
78e9a69b4e
Bugfix: memleaks in rss-code
2010-05-06 17:29:09 +02:00
Nikolas Garofil
f7980ca5a1
Bugfix: BUILD_WEATHER is replaced by BUILD_WEATHER_METAR and BUILD_WEATHER_XOAP
2010-05-06 16:09:17 +02:00
Nikolas Garofil
f6ab74f3a6
Bugfix: RSS interval was in secs instead of mins
2010-05-06 11:54:47 +02:00
Nikolas Garofil
a9b12b3074
Make building with RSS possible
2010-05-06 01:46:07 +02:00
Nikolas Garofil
51f7969571
Bugfix: pthread - $curl related bug
2010-05-06 01:24:30 +02:00
Nikolas Garofil
40452c9712
Bugfix: $alignr only worked on the first line of $execp, $execpi, $lua and $lua_parse
2010-05-05 22:02:28 +02:00
Nikolas Garofil
a32d9e41a4
Bugfix: memory and thread-deleting problems
...
For example the following config had a problem:
TEXT
$i8k_cpu_temp
I could fix it shorter, but then valgrind would still show memleaks
2010-05-05 18:46:04 +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
Pavel Labath
dfc9efa3cc
make out_to_console/stderr lua settings
2010-04-30 19:06:17 +02:00
Pavel Labath
c31f27fe92
make override_utf8_locale a lua setting
2010-04-30 17:51:30 +02:00
Nikolas Garofil
4fe945fbc4
Fix bug in ical's eventlist
2010-04-28 12:18:15 +02:00
Nikolas Garofil
aada8c4d26
ical support default off and block compiling if it's requested but not available
2010-04-27 21:14:32 +02:00
Pavel Labath
a7513c76e5
better fix the gcc warning
2010-04-27 18:11:38 +02:00
Nikolas Garofil
a13c56a7a5
Add support for $ical
2010-04-27 16:42:21 +02:00
Nikolas Garofil
b4bcc0814f
Solve some gcc warnings
2010-04-25 18:33:08 +02:00
Nikolas Garofil
c2c743f542
complete stock error mesg
2010-04-24 18:26:17 +02:00
Nikolas Garofil
343a2f6842
fix bug in stock
2010-04-24 18:09:09 +02:00
Nikolas Garofil
9a50e0ed19
update docs
2010-04-24 15:01:10 +02:00
Nikolas Garofil
00c869a2bf
Add almost all stock data yahoo provides
2010-04-24 14:57:04 +02:00
Nikolas Garofil
45d63c7fba
Default tcp_ping port changed to 80
2010-04-24 12:33:40 +02:00
Nikolas Garofil
a2ae025f56
Add support for $tcp_ping
2010-04-24 01:40:24 +02:00
Pavel Labath
ede92b87bd
make gap_[xy] a lua setting
2010-04-23 22:00:32 +02:00
Pavel Labath
feb4100e84
make double_buffer a lua setting
2010-04-23 21:54:40 +02:00
Pavel Labath
9e8bbdd4ef
Create a conky window when own_window is set
2010-04-23 21:25:09 +02:00
Pavel Labath
67e37668ec
make border_width a lua setting
2010-04-23 01:22:22 +02:00
Pavel Labath
96c966b7a6
Make border_{inner,outer}_margin a lua setting
2010-04-22 21:59:12 +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
ed0dd49dd8
Add some more stock data that yahoo is providing
2010-04-22 16:52:15 +02:00
Nikolas Garofil
3b427bf004
Bugfix: segfault in curl-related code
2010-04-22 16:35:00 +02:00
Nikolas Garofil
52ec22c30a
Bugfix: segfault in
2010-04-22 13:52:55 +02:00
Nikolas Garofil
28bf02a451
Removed cleanup functions added in the previous 2 commits
...
These functions are not everywhere supported.
2010-04-22 12:33:14 +02:00
Nikolas Garofil
bb34971fbf
Remove some more memleaks in the curl code, also caused by openssl
2010-04-22 00:47:06 +02:00
Nikolas Garofil
986e1251ae
Removed one of the memleaks in curl caused by openssl
2010-04-22 00:05:56 +02:00
Pavel Labath
927394505c
Make use_xft a lua setting
2010-04-21 19:33:39 +02:00