Brenden Matthews
4d7ecc7951
* Getting rid of goto usage throughout code.
...
* Fix bug due to usage of gethostbyname() in threads (which is not
reentrant) by using gethostbyname_r() when available.
* Added patch for battery_time problem on 2.6.24 (thanks wedge).
* Added patch to fix broken xmms2 stuff (thanks sleipner).
* Added patch to fix SIGHUP/SIGUSR1 segfault (thanks norsetto).
* Added patch to improve $if_up (thanks Aseem).
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1103 7f574dfc-610e-0410-a909-a81674777703
2008-04-10 22:45:45 +00:00
Brenden Matthews
a6a4a4c548
* Replacing strdup() with strndup() throughout
...
(this is probably going to break a few things)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1100 7f574dfc-610e-0410-a909-a81674777703
2008-04-02 18:44:49 +00:00
Brenden Matthews
be2cd44e6d
doc cleanup
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1090 7f574dfc-610e-0410-a909-a81674777703
2008-03-31 04:56:39 +00:00
Brenden Matthews
c2c6a63f5a
* Added mem_res and mem_vsize to $top.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1084 7f574dfc-610e-0410-a909-a81674777703
2008-03-30 07:04:25 +00:00
Brenden Matthews
4fe68fcc04
fixing problem where p_max_size becomes <1
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1020 7f574dfc-610e-0410-a909-a81674777703
2008-03-20 20:56:13 +00:00
Roman Bogorodskiy
ae8c4198b8
Fix compilation.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1008 7f574dfc-610e-0410-a909-a81674777703
2008-02-24 16:35:18 +00:00
Kevin Lyles
3d26a4880e
Reformatted all code
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1007 7f574dfc-610e-0410-a909-a81674777703
2008-02-20 20:30:45 +00:00
Kevin Lyles
9c3ae23a15
Fixed a few minor type issues
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1005 7f574dfc-610e-0410-a909-a81674777703
2008-02-20 10:01:23 +00:00
Kevin Lyles
9a44d8b1c8
Fixed broken compilation on FreeBSD
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1001 7f574dfc-610e-0410-a909-a81674777703
2008-02-19 18:48:54 +00:00
Brenden Matthews
433b564e14
* Applied 2 patches:
...
1) Add diskio for individual devices
2) Improved output of units, added "short_units" option
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@996 7f574dfc-610e-0410-a909-a81674777703
2008-02-09 02:21:06 +00:00
Philip Kovacs
651be79121
applied submitted patches for get_ibm_acpi_volume bug,
...
realtime clock bug and kFreeBSD support (thanks KPH).
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@993 7f574dfc-610e-0410-a909-a81674777703
2007-12-31 00:00:35 +00:00
Roman Bogorodskiy
2addde8cc4
Never commit stuff before you're going to bed.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@925 7f574dfc-610e-0410-a909-a81674777703
2007-08-22 05:11:06 +00:00
Roman Bogorodskiy
3c0aaee4dc
Fix a typo - variable was used before declarated and
...
the code was broken, though it was under #ifdef i386,
so conky compiled fine on other arches.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@924 7f574dfc-610e-0410-a909-a81674777703
2007-08-21 18:40:08 +00:00
Philip Kovacs
10a5ee6074
hwmon leveraging existing code
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@922 7f574dfc-610e-0410-a909-a81674777703
2007-08-13 23:14:01 +00:00
Philip Kovacs
33943bda7c
* Added var $platform which is similar to $i2c and accommodates the conversion
...
of many devices from /sys/bus/i2c/devices to /sys/bus/platform/devices.
* Removed config item post_21_kernel since it forced all i2c device lookups
to go to /sys/bus/platform/devices and some people may need a mix of both
i2c and platform devices.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@917 7f574dfc-610e-0410-a909-a81674777703
2007-08-13 00:28:48 +00:00
Toni Spets
dbe5ee1f3f
Didn't remove all references to linkstatus ;-)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@910 7f574dfc-610e-0410-a909-a81674777703
2007-08-10 20:57:14 +00:00
Brenden Matthews
27b4c8550c
clarifying licensing
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@904 7f574dfc-610e-0410-a909-a81674777703
2007-08-10 19:53:44 +00:00
Roman Bogorodskiy
cf49198176
Remove freebsd wifi stuff since the API seems to be
...
changed and I have no wifi devices to test it.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@893 7f574dfc-610e-0410-a909-a81674777703
2007-08-06 16:42:48 +00:00
Brenden Matthews
f95d63bf56
* Fixed potential issue on FreeBSD when nprocs < 10 (thanks zotrix)
...
* Added support for multiple batteries when using acpi (thanks Phil)
* a bunch of code cleanups (thanks Psychon)
* added max length paramater to mpd_title (thinks fow)
* a number of small bug fixes
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@889 7f574dfc-610e-0410-a909-a81674777703
2007-08-05 04:47:21 +00:00
Toni Spets
a2fbf01fe2
fixed apm_adapter for both openbsd and freebsd and some build warnings cleaned
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@862 7f574dfc-610e-0410-a909-a81674777703
2007-05-06 09:32:21 +00:00
Roman Bogorodskiy
60764129c1
Fix build on teh free bds.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@859 7f574dfc-610e-0410-a909-a81674777703
2007-05-05 16:46:12 +00:00
Roman Bogorodskiy
7515d8319a
Fix build on FreeBSD on arches !(i386 or amd64).
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@857 7f574dfc-610e-0410-a909-a81674777703
2007-04-15 04:58:41 +00:00
Philip Kovacs
4f7f4bf11e
conky 1.4.6-svn trunk
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@836 7f574dfc-610e-0410-a909-a81674777703
2007-02-25 23:35:53 +00:00
Philip Kovacs
1c35f432e5
Conky 1.5.0 -- client/server prototype
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@818 7f574dfc-610e-0410-a909-a81674777703
2006-12-23 06:01:16 +00:00
Philip Kovacs
5ff932ff21
split battery off into battery and battery_time
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@814 7f574dfc-610e-0410-a909-a81674777703
2006-12-12 23:21:14 +00:00
Roman Bogorodskiy
de84fcac2a
Fix ${freq} and ${freq_g} on FreeBSD.
...
Reported by: Karsten Rothemund <karsten@photor.de>
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@804 7f574dfc-610e-0410-a909-a81674777703
2006-12-03 18:10:21 +00:00
Philip Kovacs
9a016c9377
added , , for crypto freaks
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@797 7f574dfc-610e-0410-a909-a81674777703
2006-11-30 20:46:34 +00:00
Roman Bogorodskiy
38d2d64b08
Cleanup wifi code a bit.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@758 7f574dfc-610e-0410-a909-a81674777703
2006-11-12 14:17:31 +00:00
Roman Bogorodskiy
112253e474
Fix build on FreeBSD.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@756 7f574dfc-610e-0410-a909-a81674777703
2006-11-12 06:11:47 +00:00
Philip Kovacs
9bbdaa03c5
SIGUSR1 fix on freebsd and linux
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@738 7f574dfc-610e-0410-a909-a81674777703
2006-11-08 03:06:42 +00:00
Roman Bogorodskiy
a5de2b09d9
Stepan Zastupov's "fucking patch" (that's how he identifies it
...
himself) for WiFi stuff. Basicly, we use strlcpy() instead of
strncpy(). strlcpy() is avaible since FreeBSD 3.3 and on
Debian/kFreeBSD and simular systems it's possible to install
a third party lib to get a support for it (if somebody cares).
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@712 7f574dfc-610e-0410-a909-a81674777703
2006-10-19 18:52:14 +00:00
Roman Bogorodskiy
00e92953b6
Add WiFi signal level detection support on FreeBSD (patch by
...
Stepan Zastupov).
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@711 7f574dfc-610e-0410-a909-a81674777703
2006-10-18 16:02:28 +00:00
Roman Bogorodskiy
fe7ec00729
- Fix build on FreeBSD by moving volage stuff under #ifdef __linux__
...
and adjusting get_freq() prototype
- Fix Xdamage detection, make it not mandatory
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@678 7f574dfc-610e-0410-a909-a81674777703
2006-08-01 21:24:15 +00:00
Roman Bogorodskiy
7698ec7c7f
Fix build on FreeBSD.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@670 7f574dfc-610e-0410-a909-a81674777703
2006-06-07 10:56:37 +00:00
Brenden Matthews
c4bf55b542
freebsd battery patch
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@613 7f574dfc-610e-0410-a909-a81674777703
2006-03-26 01:47:55 +00:00
Roman Bogorodskiy
704b590071
- Fix networking stuff on FreeBSD (Petr Holub)
...
- Minor style fixes
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@611 7f574dfc-610e-0410-a909-a81674777703
2006-03-25 15:30:59 +00:00
Roman Bogorodskiy
6b857758eb
- Minor change to ${top} stuff to fix a possible
...
race condition (Petr Holub)
- Make autogen.sh a little bit more configurable.
Now it calls 'automake', 'autoconf' etc by default.
To match your disto name conventions for autotools,
you can run it like:
"AUTOCONF=autoconf-2.59 AUTOMAKE=automake18 ./autogen.sh"
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@610 7f574dfc-610e-0410-a909-a81674777703
2006-03-25 14:28:40 +00:00
Roman Bogorodskiy
abecf3b63d
Re-arrange kvm code to fix memory leaks.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@603 7f574dfc-610e-0410-a909-a81674777703
2006-03-22 19:27:31 +00:00
Roman Bogorodskiy
25c3c7cbc9
- Fix memleaks in ${top(_mem)} code on FreeBSD (thanks to Petr Holub)
...
- Update ChangeLog
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@602 7f574dfc-610e-0410-a909-a81674777703
2006-03-21 11:32:59 +00:00
Roman Bogorodskiy
1fb0efb5f1
Make cstyle.pl(1) happy.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@601 7f574dfc-610e-0410-a909-a81674777703
2006-03-20 11:44:29 +00:00
Roman Bogorodskiy
c2fb9f583a
Started fixing ${top} and ${top_mem} stuff on
...
FreeBSD:
- fixed ${top_mem} sorting
- fixed crash if using ${top_mem name 1}
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@600 7f574dfc-610e-0410-a909-a81674777703
2006-03-18 16:04:36 +00:00
Roman Bogorodskiy
838674bbb3
Style issues. Mainly to check if my author redirection works on CIA.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@599 7f574dfc-610e-0410-a909-a81674777703
2006-03-16 20:52:20 +00:00
Jasper
62a9253384
sort #inludes according to OpenBSD's style(9).
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@593 7f574dfc-610e-0410-a909-a81674777703
2006-03-16 13:33:15 +00:00
Brenden Matthews
e2da4c5118
freebsd patch from mirrorbox
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@586 7f574dfc-610e-0410-a909-a81674777703
2006-03-12 23:26:12 +00:00
Roman Bogorodskiy
c34df9e6ee
free_all_processes() has been placed in "#ifdef i386" zone for some
...
reason. Fix that to make it link on arch != i386.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@439 7f574dfc-610e-0410-a909-a81674777703
2005-12-08 13:20:29 +00:00
Philip Kovacs
ad9f6f92e4
added stub free_all_processes so freebsd can link conky
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@420 7f574dfc-610e-0410-a909-a81674777703
2005-11-17 05:08:08 +00:00
Philip Kovacs
9081d47d83
fixed typos
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@418 7f574dfc-610e-0410-a909-a81674777703
2005-11-17 04:30:26 +00:00
Philip Kovacs
f34f7e0336
fix typos
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@417 7f574dfc-610e-0410-a909-a81674777703
2005-11-17 03:46:22 +00:00
Philip Kovacs
79aacf1ea2
get_adt746x_cpu() / get_adt746x_fan() interface changes as per bug 1355470
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@411 7f574dfc-610e-0410-a909-a81674777703
2005-11-13 04:04:00 +00:00
Philip Kovacs
223a9d128f
changed call interfaces for get_freq/get_freq_dynamic, eliminating mallocs. bug# 1355470
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@410 7f574dfc-610e-0410-a909-a81674777703
2005-11-13 03:33:26 +00:00