Brenden Matthews
72d2aad026
Merge branch 'master' into lua
2009-05-16 14:55:24 -06:00
Brenden Matthews
0e21a804ee
Couple minor lua changes.
2009-05-16 14:55:05 -06:00
Nikolas Garofil
3762c5cb10
Use a builtin config without X11-support when compiled without it
...
also, make sure X isn't initialised when compiled without x11-support
2009-05-16 15:57:01 +02:00
Nikolas Garofil
2c35099b82
Bugfix: Segfault when starting with no configfile.
2009-05-16 13:14:45 +02:00
Toni Spets
66ba6e36c9
* Fix leaks
...
* Fix HUP behaviour - scripts are now reloaded on HUP
* Remove unneccessary calls to llua_close()
2009-05-15 23:35:18 +03:00
Toni Spets
a64e9f8950
Lua scripting support, initial commit
2009-05-15 21:08:51 +03:00
Brenden Matthews
b4ca1d146f
Merge branch 'master' of git.omp.am:/home/omp/git/conky
2009-05-13 12:29:09 -06:00
Brenden Matthews
9e79881b5f
Fix remove_comments()?
2009-05-13 12:28:53 -06:00
Nikolas Garofil
4db2119a2b
Bugfix: segfault with wrong config
...
Altough the following configuration is wrong, it should only produce a error
about a missing $endif but instead it also produced a segmentation fault:
TEXT
$if_gw$gw_ip$else
2009-05-13 20:25:14 +02:00
Brenden Matthews
4910d33524
Fix comment removal stuff so that it doesn't break $color.
2009-05-12 18:05:51 -06:00
Nikolas Garofil
e0b2f75433
Don't check if_gw twice
2009-05-12 20:25:40 +02:00
Phil Sutter
580043075e
relying on the return value of scanf when using %n is bad
2009-05-12 00:49:40 +02:00
Phil Sutter
5d69d0378f
fix human readable precision calculation
...
This bug was quite hard to trigger (happens only with values 9.995-9.999
and 99.95-99.99), but I made it. ;)
2009-05-12 00:49:40 +02:00
Phil Sutter
322d77942a
hwmon: add args for value precalculation
2009-05-12 00:49:40 +02:00
Nikolas Garofil
a01f968677
Bugfix: if_gw only outputs if another gw var is in the if block (sf id 2784627)
2009-05-11 19:47:24 +02:00
Nikolas Garofil
ae1b6c50e6
Remove even more x11-stuff with --disable-x11
2009-05-11 18:37:12 +02:00
Jaromir Smrcek
22601ff864
APC UPS fixes.
2009-05-10 13:37:04 -06:00
Nikolas Garofil
829201517e
no x11-stuff for apcupsd when disabled
2009-05-10 21:18:20 +02:00
Brenden Matthews
8cb0027f45
Various fixes.
...
Added missing apcupsd.[hc], added apcupsd_loadgauge, fixed compilation
errors, updated docs & syntax stuff.
2009-05-10 13:11:09 -06:00
Jaromir Smrcek
cf2c61b588
Added support for APC UPS daemon monitoring.
2009-05-10 12:58:06 -06:00
Nikolas Garofil
c53813a49f
no gauges, bars, ... when compiled without X11
2009-05-10 14:14:21 +02:00
Nikolas Garofil
09ad5ce3f1
optimize previous commit (thanks Plague)
2009-05-10 13:44:13 +02:00
Nikolas Garofil
f7568b0753
strcpy shouldn't be used for overlapping strings
2009-05-10 13:14:54 +02:00
Nikolas Garofil
2afe66ed01
Bugfix: removing comments worked only partially
...
All lines behind a comment line were also removed, comments should also be able
to start in the middle of line, \# shouldn't be replaced if it's in a comment
2009-05-10 12:48:22 +02:00
Brenden Matthews
197c4d5bc3
Update docs, remove deprecated code.
2009-05-09 23:30:42 -06:00
Brenden Matthews
24f97c45c6
Allow the use of '#' for comments within text area (can be escaped with '\#'.
...
Also refactored some code relating to the config file loading (since
there was some duplication of code).
2009-05-09 20:10:55 -06:00
Nikolas Garofil
9153318329
Only include disp when needed
2009-05-08 16:04:16 +02:00
Nikolas Garofil
bd99fe5d81
Bugfix: run update_uname also without X11
2009-05-08 14:57:19 +02:00
Brenden Matthews
fdadbbf98e
Added top_name_width config option.
2009-05-07 17:49:32 -06:00
Nikolas Garofil
c1e47013ef
Bugfix: sometimes segfaults with cpubar
2009-05-07 18:44:45 +02:00
Brenden Matthews
fde096c435
Added some completely pointless OpenMP optimizations(?)
2009-05-05 17:36:12 -06:00
Brenden Matthews
0d31ff0f4f
Missing files, fix last commit.
...
Added sony.[ch] stuff, as well as the important change from commit
3dd1738fb9
2009-05-04 13:15:46 -06:00
Brenden Matthews
f6fe653401
Revert "Combine can now use other chars to seperate vars (used to be only space)"
...
This reverts commit 3dd1738fb9
.
2009-05-04 13:13:51 -06:00
Nikolas Garofil
3dd1738fb9
Combine can now use other chars to seperate vars (used to be only space)
...
Also undid the last change because sony.h was not included, feel free to submit
it again if you include this file and other sourcefiles needed (there is also
no definition of get_sony_fanspeed). If sony systems already have this file and
a definition of this function, please update the configure file so that support
for this is disabled by default and can be enabled by sony owners.
2009-05-04 12:58:52 +02:00
Yeon-Hyeong Yang
f8a6a4035c
Added Sony VAIO fanspeed info (thanks Yeon-Hyeong).
...
Also removed the README and man page from the repo, as they don't really
need to be there and just cause conflicts.
2009-05-03 21:23:59 -06:00
Brenden Matthews
27fff0d9cb
Fixed $texeci regression.
2009-05-01 23:05:06 -06:00
Yeon-Hyeong Yang
68ea7a7859
Added diskio_avg_samples patch (thanks Yeon-Hyeong)
2009-05-01 17:03:59 -06:00
Brenden Matthews
e8e6d1c819
Few misc doc related things.
...
Added the (incomplete) check_docs.py, to 'synchronize' the docs with the
code, as well as vim/nano syntax stuff.
Removed some unused OBJ_* stuff from text_objects.h, and updated docs
with some missing things. Also removed a couple deprecated objects
which were still documented.
2009-05-01 16:53:50 -06:00
Nikolas Garofil
e05e9ece8e
Added the combine variable
2009-04-30 21:05:59 +02:00
Jérôme Plût
ff9154216b
Make ALSA mixers available on Linux, and added $if_mixer_mute.
2009-04-28 10:56:49 -06:00
Brenden Matthews
2dfc0ee6b4
Fix minor environment variable bug.
2009-04-28 10:54:43 -06:00
Brenden Matthews
d1b6548c55
Minor for for mail args parsing.
2009-04-28 10:19:28 -06:00
Lassi Selander
49aee8707a
Various XMMS2 updates (thanks Lassi).
2009-04-28 10:02:24 -06:00
Phil Sutter
fb8ccd7a05
fix for enviroment variable expansion
2009-04-26 22:49:46 +02:00
Nikolas Garofil
6bc19d0396
Workaround for the problem that $goto only moves the first rss-item by making
...
it possible to specify the number of spaces you want in front of each rss-item
2009-04-19 00:42:01 +02:00
Nikolas Garofil
86b91db305
Bugfix: compilation without X11 broke after latest patches
2009-04-13 14:42:31 +02:00
Brenden Matthews
506f6ecc3b
Special default & gauge fixes.
2009-04-09 20:10:08 -06:00
Brenden Matthews
38ee788da4
Added default_bar/graph/gauge_size config options (thanks wire64 for the idea)
2009-04-09 16:00:40 -06:00
Or Cohen
b6e691e8ac
Minor fix for fs_used_perc, fs_free and fs_free_perc
2009-04-09 15:34:12 -06:00
Phil Sutter
7001e95186
be consistent when parsing args of cpu objects
...
The inconsistent naming of the cpu parameter in the docs led me to this,
so I also simplified parsing by introducing the macro SCAN_CPU(). Note
that this introduces a syntactical change to the config: the cpuN
argument now has to be passed at first position to $cpugraph.
2009-04-04 01:25:33 +02:00