Phil Sutter
80e41032cd
{down,up}speedgraph: convert to match common signature
2009-11-19 23:52:39 +01:00
Phil Sutter
80114f3b1e
diskio: convert print functions to match common signature
2009-11-19 23:51:13 +01:00
Phil Sutter
b9f1dc7283
cleanup times_in_seconds enhancement
...
This also adds code to unset the variable before reloading the config.
2009-11-19 23:39:08 +01:00
Phil Sutter
45a183d840
xlib: do exit() on IOError instead of abort()
...
The IOError happens every time I close conky's normal own window, so I
guess the situation is not as abnormal as abort() indicates. Calling
exit() instead should really suffice and give the process a chance to
clean up (by calling destructor routines for instance).
2009-11-19 23:04:09 +01:00
Phil Sutter
6f9bfe970a
fix potential buffer overflow when printing top values
2009-11-19 23:04:09 +01:00
Phil Sutter
9efa384bbc
lua: outsource code
2009-11-19 23:04:09 +01:00
Phil Sutter
b6d1ff6c42
i8k: outsource code
2009-11-19 23:04:09 +01:00
Nikolas Garofil
fe1d7da3d5
Add support for $pid_read and $pid_write
2009-11-19 12:32:14 +01:00
Nikolas Garofil
f8bae62234
$format_time treats ( and ) as special chars
2009-11-19 00:21:49 +01:00
Nikolas Garofil
59594e70d2
Added support for \Sx to $format_time
2009-11-19 00:04:49 +01:00
Nikolas Garofil
4a1be880d3
Make $user_time, $mpd_elapsed and $mpd_length compatible with times_in_seconds
2009-11-18 21:25:05 +01:00
Nikolas Garofil
d9ad73af65
Make sure $format_time only works when times_in_seconds is enabled
2009-11-18 20:27:53 +01:00
Nikolas Garofil
8f42831a62
Add support for time_in_seconds configuration setting
2009-11-18 20:07:47 +01:00
Nikolas Garofil
4cfb042df9
Fix bug in $pid_cmdline
2009-11-18 18:02:10 +01:00
Nikolas Garofil
6046198053
Fix bug in $pid_nice, $pid_priority, $pid_time, $pid_time_kernelmode and $pid_time_usermode
2009-11-18 17:13:20 +01:00
Nikolas Garofil
0215298c27
Added support for $format_time
2009-11-18 15:35:35 +01:00
Nikolas Garofil
ed21808597
Fix default config when built without x11
2009-11-16 21:42:55 +01:00
Nikolas Garofil
90f5701f3e
Bugfix: crash when apcupsd isnt running
2009-11-16 20:19:57 +01:00
Phil Sutter
a1ddcc0786
fix potential buffer overflow in parse_conky_vars()
2009-11-16 19:52:48 +01:00
Phil Sutter
70e5afe5ac
ifblock: fix clash with specials when freeing objects
...
Murphy hit me again: in my naive attempt to fix the clash between
ifblocks and objects parsing text objects due to the double use of the
'sub' field, I overlooked this problem with reusing the 'special_data'
field. So here comes the real thing (TM), donating ifblocks their own
field for pointing to the jump target.
2009-11-16 19:52:12 +01:00
Phil Sutter
44f76f4876
drop leftover freq_dynamic code in freebsd.c and openbsd.c
...
As the comment states, those functions were originally copied from
linux.c; in fact just the code which has been removed due to licensing
issues.
2009-11-16 19:41:06 +01:00
Pavel Labath
e97b67aa20
IPv6 support for $tcp_portmon
...
In theory, this may fail to compile on ancient systems that don't have IPv6 types (struct
sockaddr_in6 et al.) available. If it turns out that such systems are still in use, the best way
to solve it would be to provide dummy declarations via configure tests.
2009-11-16 18:17:16 +01:00
Nikolas Garofil
66d8b2cbe0
fix minor mistake in docs
2009-11-16 17:37:25 +01:00
Nikolas Garofil
84d6095c40
Use seconds instead of centiseconds as unit for $pid_time_kernelmode, $pid_time_usermode and $pid_time
2009-11-16 16:59:41 +01:00
Nikolas Garofil
7b05f78de8
Added support for $pid_time_usermode, $pid_time_kernelmode and $pid_time
2009-11-16 15:30:57 +01:00
Nikolas Garofil
015d275098
Add support for $pid_nice and $pid_priority
2009-11-16 15:01:43 +01:00
Nikolas Garofil
f93aa2a68d
Added support for $pid_threads and $pid_thread_list
2009-11-16 09:54:17 +01:00
Nikolas Garofil
f3e250df55
Bugfix: make sure $else works correct and without memleaks
2009-11-16 08:39:05 +01:00
Nikolas Garofil
5eebf1c516
Fix invalid free for all $if_-vars
2009-11-16 00:21:49 +01:00
Nikolas Garofil
f0211cd43d
fix invalid free in if_up
2009-11-15 23:45:33 +01:00
Pavel Labath
ec879680d2
Forgot to set top_running when $running_processes is used
2009-11-15 23:00:14 +01:00
Nikolas Garofil
2ed76a345f
Added support for $pid_vmpeak, $pid_vmsize, $pid_vmlck, $pid_vmhwm, $pid_vmrss, $pid_vmdata, $pid_vmstk, $pid_vmexe, $pid_vmlib, $pid_vmpte
2009-11-15 19:44:37 +01:00
Pavel Labath
256f0b1164
Fix ChangeLog messup
2009-11-15 17:56:07 +01:00
Pavel Labath
72412c463b
Rename $running_processes to $running_threads, implement real $running_processes
2009-11-15 17:55:03 +01:00
Nikolas Garofil
2c2e87061b
Added support for $gid_name
2009-11-15 17:46:41 +01:00
Nikolas Garofil
3fa868f35b
Added support for $uid_name
2009-11-15 17:21:55 +01:00
Nikolas Garofil
d38049fb96
Added support for $pid_uid, $pid_euid, $pid_suid, $pid_fsuid, $pid_gid, $pid_egid, $pid_sgid and $pid_fsgid
2009-11-15 14:49:55 +01:00
Nikolas Garofil
b8e6b1a58d
Add support for $pid_parent
2009-11-15 13:26:40 +01:00
Phil Sutter
68278e4a45
yet another fix for FreeBSD (somehow sneaked through last time)
2009-11-14 16:47:30 +01:00
Phil Sutter
78c4d44ba7
print which features are unsupported at the end of configure
2009-11-15 01:43:30 +01:00
Phil Sutter
40792b7d05
fix compiling for freebsd
...
Tested using default options, lua disabled as only lua50 available in
7.2-RELEASE.
2009-11-15 01:36:17 +01:00
Phil Sutter
8f1eae1b94
add generated files for profiling to clean list
2009-11-15 01:36:17 +01:00
Nikolas Garofil
038e182c38
argument of $cmdline_to_pid doesnt have to be the full commandline
2009-11-15 00:51:38 +01:00
Nikolas Garofil
7b6e01b869
fix last commit
2009-11-14 22:17:41 +01:00
Nikolas Garofil
fa459f0539
Make it possible to use other vars as arguments for the $pid-vars, add support for $pid_state_short, add support for $cmdline_to_pid
2009-11-14 22:07:54 +01:00
Cesare Tirabassi
e582acf1a0
Merge branch 'master' of git.omp.am:/home/omp/git/conky
2009-11-14 15:58:06 +01:00
Cesare Tirabassi
0ee5e9935a
Refactoring of commit 363cf1ab73
...
The problem with the original commit was that some session-managers set
stdin to /dev/null for the processes they launch, therefore the variable
wasn't very effective.
This commit change the variable conky_user_time to user_time.
This variable has a mandatory argument, a console identifier
(eg. tty7, pts/0, etc.).
Once called, this will list how long the user for the given console has been
logged in for.
This commit also allows multiple user_time to be specified for different
consoles, as well as correctly handle a conky restart.
2009-11-14 15:57:45 +01:00
Nikolas Garofil
1a4c2c61e8
Shrink proc.c
2009-11-14 15:08:41 +01:00
Nikolas Garofil
44de7fe6be
Support for $pid_state
2009-11-14 13:58:07 +01:00
Pavel Labath
7cd6ae02b0
own_window_colour documentation fix
...
the manpage says the hex color string should include the '#', but that's not true (not now,
anyway). Also, the syntax highlighting is wrong, but i don't know how to fix that.
2009-11-14 12:27:05 +01:00