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

28 Commits

Author SHA1 Message Date
Brenden Matthews
eebc8c653b
Add formatting/static analysis (#486)
* Reform source with clang-format.

Rules applied with:
    $ find . -iname *.h -o -iname *.cc | xargs clang-format \
        -style=file -i -fallback-style=google

* Add clang-format and analyze to build.

Based on the excellent work at: https://github.com/ttroy50/cmake-examples

* Clean up CMake stuff on macOS.

* Remove vim/emacs modelines.

* Update copyright dates.

* Build fixes.

* Build fixes.

* Build fixes.

* Build fixes.

* Build fixes.

* Build fixes.
2018-05-12 12:03:00 -04:00
Brenden Matthews
3e3dd16367 Update modelines and stuff. 2010-01-06 19:45:19 -08:00
Brenden Matthews
7e78f036f0 Use consistent naming for build option macros.
Probably have broken some build features with this commit.
2010-01-06 18:39:44 -08:00
Brenden Matthews
b6331b4eb6 Switch some more bits to C++, more CMake changes. 2009-12-09 20:05:32 -08:00
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
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
Cesare Tirabassi
81c691d15a add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
Brenden Matthews
dc3ed8df13 Removing old svn keywords. 2008-12-09 16:35:49 -07:00
Kevin Lyles
610b0b628d Split conky.h into several smaller header files
In order to do this correctly:
	Removed duplicate includes
	Fixed mpd functions to accept mpd_s instead of information
	Freed mpd.h of any need to include conky.h (mpd.c still includes it for the constants)



git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1154 7f574dfc-610e-0410-a909-a81674777703
2008-06-14 18:41:12 +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
Philip Kovacs
64b34981f3 update copywrite dates where appropriate
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@905 7f574dfc-610e-0410-a909-a81674777703
2007-08-10 20:09:43 +00:00
Philip Kovacs
c42fe7b6ab add license info to timed thread modules; update NEWS
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@817 7f574dfc-610e-0410-a909-a81674777703
2006-12-13 16:54:59 +00:00
Philip Kovacs
9405f780d6 Conky 1.4.5
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@815 7f574dfc-610e-0410-a909-a81674777703
2006-12-13 01:57:46 +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
Philip Kovacs
e4713dc790 use GLib GHashTable for port monitors
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@806 7f574dfc-610e-0410-a909-a81674777703
2006-12-09 05:40:08 +00:00
Philip Kovacs
952447be94 add REMOTESERVICE to port monitor peekables
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@615 7f574dfc-610e-0410-a909-a81674777703
2006-03-30 18:14:18 +00:00
Jasper
e600689ed7 sort includes
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@596 7f574dfc-610e-0410-a909-a81674777703
2006-03-16 17:57:53 +00:00
Philip Kovacs
99f4db7766 const several ptr args
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@437 7f574dfc-610e-0410-a909-a81674777703
2005-12-05 23:50:08 +00:00
Philip Kovacs
66d57c74ba typo fixes, no functionality changes
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@422 7f574dfc-610e-0410-a909-a81674777703
2005-11-19 05:54:11 +00:00
Philip Kovacs
c30e4f9f6e added copy_tcp_connection() instead of bitwise copy
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@408 7f574dfc-610e-0410-a909-a81674777703
2005-11-12 16:37:57 +00:00
Philip Kovacs
9a5602ded8 smaller tcp_connection_t
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@400 7f574dfc-610e-0410-a909-a81674777703
2005-11-11 22:50:16 +00:00
Philip Kovacs
004d3874cd updated comments
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@399 7f574dfc-610e-0410-a909-a81674777703
2005-11-11 22:28:06 +00:00
Philip Kovacs
040ab98c41 typo
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@394 7f574dfc-610e-0410-a909-a81674777703
2005-11-11 20:52:18 +00:00
Philip Kovacs
920eac02b6 moved hash sizing code into portmon lib, where it belongs
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@393 7f574dfc-610e-0410-a909-a81674777703
2005-11-11 20:46:42 +00:00
Philip Kovacs
1e8254687e added config settings min_port_monitors & min_port_monitor_connections
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@388 7f574dfc-610e-0410-a909-a81674777703
2005-11-11 03:28:24 +00:00
Philip Kovacs
c493fe416f addded cvs id tags
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@380 7f574dfc-610e-0410-a909-a81674777703
2005-11-09 02:01:10 +00:00
Philip Kovacs
87a3edbf01 fixed some minor typos
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@363 7f574dfc-610e-0410-a909-a81674777703
2005-11-01 00:58:34 +00:00
Philip Kovacs
e452fb5629 Added tcp port monitor support
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@357 7f574dfc-610e-0410-a909-a81674777703
2005-10-31 05:17:06 +00:00