1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +00:00
Commit Graph

51 Commits

Author SHA1 Message Date
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
Philip Kovacs
754d973b6e get_acpi_fan() / get_acpi_ac_adapter() interface changes as per bug 1355470
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@409 7f574dfc-610e-0410-a909-a81674777703
2005-11-12 21:42:00 +00:00
Roman Bogorodskiy
ac63110dad APM is i386-only thing.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@336 7f574dfc-610e-0410-a909-a81674777703
2005-09-29 03:22:31 +00:00
Roman Bogorodskiy
6ff47b6101 Fix memory leak in update_diskio().
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@246 7f574dfc-610e-0410-a909-a81674777703
2005-08-30 17:32:58 +00:00
Roman Bogorodskiy
75032800b1 Add APM support for FreeBSD.
Submitted by:	 Daniel Thiele <dthiele@gmx.net>


git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@241 7f574dfc-610e-0410-a909-a81674777703
2005-08-30 04:19:16 +00:00
Roman Bogorodskiy
00d0e162cc - Make update_diskio() return 0 instead of total disk I/O since
boot for the first cycle
- Implement ${top} and ${top_mem} support (further review and testing
  required)


git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@237 7f574dfc-610e-0410-a909-a81674777703
2005-08-29 19:39:35 +00:00
Roman Bogorodskiy
2c8acab933 - Fix make dist without having HAVE_DOCSTUFF defined
- Remove obsolete comment from freebsd.c


git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@219 7f574dfc-610e-0410-a909-a81674777703
2005-08-27 14:14:34 +00:00
Roman Bogorodskiy
c336133dea - Hide i8k stuff under "#ifdef __linux__" since I don't think it present
on non-Linux systems
- Fiddle with cpu usage detecting code on FreeBSD. Now it can show usage
  on all CPUs, but usage for some single CPU on SMP system is not supported
  (I have no SMP, so it's hard to write/test SMP support for me).


git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@218 7f574dfc-610e-0410-a909-a81674777703
2005-08-27 12:59:46 +00:00
Roman Bogorodskiy
313ef55c14 - Implement update_diskio() on FreeBSD (it would not work on FreeBSD <= 4.x,
maybe I will fix it later)
- Add tests for libdevstat to configure.in (needed by update_diskio())


git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@217 7f574dfc-610e-0410-a909-a81674777703
2005-08-27 11:56:22 +00:00
Roman Bogorodskiy
dd9eed5114 - Remove old cycles code from get_freq()
- Copy get_freq_dynamic() and rdtsc() from linux.c to make $freq_dyn{_g} work


git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@194 7f574dfc-610e-0410-a909-a81674777703
2005-08-26 11:10:52 +00:00
Roman Bogorodskiy
2e94decbf1 Fix typo and add empty update_diskis() (will be implemented a bit later) to
fix build on FreeBSD after recent changes.


git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@193 7f574dfc-610e-0410-a909-a81674777703
2005-08-26 09:54:57 +00:00
Brenden Matthews
cdb2b0d388 * More own_window fixes
* applied disk io patch (sf.net patch 1271691)
        * applied $freq fixes patch, adds new $freq_dyn (sf.net patch 1271633)
        * removed units from $freq* output
        * fix for graph config parsing


git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@185 7f574dfc-610e-0410-a909-a81674777703
2005-08-26 02:16:35 +00:00
Roman Bogorodskiy
632224e9c6 Make get_freq() return float.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@168 7f574dfc-610e-0410-a909-a81674777703
2005-08-24 20:52:55 +00:00
Roman Bogorodskiy
9c56581089 - On FreeBSD, first try dev.cpu.0.freq sysctl (see cpufreq(4) for details)
to detect CPU frequency and only then do i386 magic
- Minor cleanup


git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@159 7f574dfc-610e-0410-a909-a81674777703
2005-08-24 05:33:10 +00:00
Roman Bogorodskiy
dfd3ce76a5 Fix build on FreeBSD.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@156 7f574dfc-610e-0410-a909-a81674777703
2005-08-23 06:10:25 +00:00