Pavel Labath
e9d4e32f8f
Replace GHashTable with tr1::unordered_map in tcp_portmon
...
This means portmon no longer depends on glib.
2009-12-09 23:59:07 +01:00
Cesare Tirabassi
a14cca6592
remove <programlisting> from variables.xml, it only messes the man page and serve no other purpose
2009-12-09 23:29:44 +01:00
Pavel Labath
913d956b7c
Fix linking on OpenBSD
...
OpenBSD doesn't need librt for clock_gettime, but configure was adding it to LIBS unconditionally.
Bug reported by dovim.
2009-12-08 20:57:12 +01:00
Brenden Matthews
be678a9ebb
Add missing file.
2009-12-07 21:17:58 -08:00
Brenden Matthews
8c9ed7b109
Minor build fixes.
2009-12-07 21:16:11 -08:00
Brenden Matthews
11c76e4c0d
More CMake work.
2009-12-07 20:46:49 -08:00
Pavel Labath
b1cbc64f60
Remove some strange network related code
...
Reported by norsetto.
This code disallows network traffic to be 0.
Brenden says it once had a purpose, but noone can think of what would that be atm.
2009-12-07 21:13:04 +01:00
Brenden Matthews
37a920de59
Add header guards for config.h.
2009-12-07 11:59:27 -08:00
Brenden Matthews
d80cacd4b7
Handle build.h, too.
2009-12-07 11:51:00 -08:00
Brenden Matthews
c5cbb3c38f
Produce error if src/config.h exists.
2009-12-07 10:08:01 -08:00
Brenden Matthews
4dcce0b386
Improve platform stuff.
2009-12-07 09:35:43 -08:00
Phil Sutter
4baba32459
replace modulo by bitwise AND for hash table lookups
...
This operation is a lot faster, but depends on the hash table size
be a power of 2 (so HTABSIZE - 1 is a row of 1's). Also a define for the
magic value cleans things up a bit.
2009-12-06 21:49:27 +01:00
Brenden Matthews
12d7781c7b
Merge branch 'master' of git.omp.am:/home/omp/git/conky
2009-12-06 11:43:30 -08:00
Brenden Matthews
c63d1bba78
Portmon and audacious CMake support.
2009-12-06 11:43:12 -08:00
Brenden Matthews
134439cbfa
Portmon CMake build support.
2009-12-06 11:30:06 -08:00
Phil Sutter
36f6af922b
improve hash_process() by inserting at bucket's top instead of bottom
2009-12-06 17:28:30 +01:00
Brenden Matthews
0406000351
More CMake build work, added Lua support.
2009-12-05 18:45:26 -08:00
Brenden Matthews
3858cc736f
More work on CMake stuff, add missing files.
...
Also updated gitignore.
2009-12-05 13:04:31 -08:00
Brenden Matthews
07cb6efdaf
More work on CMake build system (see README.cmake for instructions).
2009-12-05 12:00:10 -08:00
Phil Sutter
3764c883c7
convert mixer bars to double
2009-12-04 22:18:54 +01:00
Phil Sutter
1160e74d35
convert fs bars to double
2009-12-04 22:18:54 +01:00
Phil Sutter
361e5eba83
convert exec bars to double
2009-12-04 22:18:54 +01:00
Phil Sutter
b2c305a995
convert execbarval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
3361ea907b
convert *speedgraphval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
a68a523d40
convert diskiographval_* to double
2009-12-04 22:18:54 +01:00
Phil Sutter
1382915d1e
convert loadgraphval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
f74ae19944
convert apcupsd_loadbarval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
c52ee46cc3
convert entropy_barval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
2fc1efa8d5
convert lua_barval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
f1a57e40aa
convert audacious_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
e2e7c47c48
convert xmms2_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
202bbf01ff
convert mpd_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
9e587ae6d5
convert smapi_bat_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
db2b056969
convert swap_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
c5a8949784
convert mem_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
d46a2cb1b2
convert cpu_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
bfd7eabc0f
convert get_battery_perct_bar to double
2009-12-04 22:18:53 +01:00
Phil Sutter
4133d8fdbe
convert wireless_link_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
e5d32f4ad0
convert meter type object values from uint8_t to double
2009-12-04 22:17:40 +01:00
Phil Sutter
1e25633fc1
rename specials field "graph_scale" to a generic "scale"
2009-12-04 00:53:11 +01:00
Phil Sutter
82ef68aafa
hook in the scale value for bar and gauge objects
...
This patch already implements complete auto-scaling for bars and gauges,
therefore introducing a flags field in order to signal whether
auto-scaling is enabled (and the scale field contains just the max value
seen so far).
2009-12-04 00:50:13 +01:00
Phil Sutter
dae785e5d0
introduce scale field for bar and gauge specials
2009-12-02 01:36:22 +01:00
Phil Sutter
a49fb53ea3
fix scaling for exec*graph
2009-12-01 23:59:12 +01:00
Pavel Labath
018ca8e0ef
Fix $memgraph and $cpugraph in a way that doesn't break other things
2009-12-01 23:45:31 +01:00
Pavel Labath
24ebff6a62
Fix $memgraph (i think)
2009-12-01 14:20:35 +01:00
Nikolas Garofil
e24bc153b3
Fix building without X11
2009-12-01 14:07:22 +01:00
Nikolas Garofil
a2c9ac648d
Fix compiling without C99
2009-12-01 12:35:23 +01:00
Phil Sutter
d3aafc4a75
reenable top for all target OS's
...
Occurs to work fine on FreeBSD, the other BSD's probably need more work,
anyway.
2009-12-01 00:45:17 +01:00
Phil Sutter
d4bc07b1f1
fix for compiling on freebsd
2009-12-01 00:32:33 +01:00
Phil Sutter
b6a57a8f77
cleanup free_text_objects()
2009-12-01 00:32:33 +01:00