Phil Sutter
aa95dde706
fix for unused results in smapi.c
2009-12-28 03:02:05 +01:00
Phil Sutter
8662e6630e
fix for unused results in linux.c
2009-12-28 03:02:05 +01:00
Phil Sutter
c986aa6346
fix unused result warnings in mail.c
2009-12-28 03:02:05 +01:00
Cesare Tirabassi
c8a99a865a
Fix some typos in documentation
2009-12-27 23:07:16 +01:00
Cesare Tirabassi
7adbbc5198
Fix WEATHER not defined for BUILD_WEATHER_XOAP
2009-12-20 15:07:43 +01:00
Phil Sutter
37355406a8
conky compiles fine here with gcc-4.3.4
2009-12-20 02:23:25 +01:00
Phil Sutter
2c83899458
cmake: fix obvious mistake in config.h.in
2009-12-20 02:23:25 +01:00
Phil Sutter
243a234352
cmake: fix for imlib2
...
- on my system, libImlib2.so is written with a capitalised I
- IMLIB2_LIB is empty, but IMLIB2_LDFLAGS contains what we need
2009-12-20 02:23:25 +01:00
Cesare Tirabassi
52e3cd36c4
The tolua++ helper is called tolua++5.1 on some distro
2009-12-20 00:58:40 +01:00
Brenden Matthews
c72ad5ddc6
Add missing CMake file.
2009-12-19 11:44:40 -08:00
Brenden Matthews
4d0924f6b0
More work on CMake build system (possibly finished?).
2009-12-19 11:39:16 -08:00
Brenden Matthews
fb33419cd4
Add CMake build support for Lua bindings.
2009-12-17 19:46:26 -08:00
Brenden Matthews
32c5f451b9
Minor build fixes
2009-12-17 18:55:54 -08:00
Brenden Matthews
51ff65ede0
Merge branch 'master' of git.omp.am:/home/omp/git/conky
2009-12-17 18:52:05 -08:00
Phil Sutter
0522832350
cleanup apcupsd a bit, fix some whitespace errors
2009-12-17 23:07:15 +01:00
Phil Sutter
9b66a4715b
hide smapi internal functions and cleanup header
2009-12-17 22:45:00 +01:00
Phil Sutter
861988be24
font_h could be used uninitialised (so it says)
2009-12-17 22:42:52 +01:00
Phil Sutter
bf1e5108ab
we shall not ignore the return value of functions declared with warn_unused_result
2009-12-17 22:42:52 +01:00
Phil Sutter
1724a1fe49
ISO C++ forbids variable length arrays
2009-12-17 22:42:52 +01:00
Phil Sutter
de049dcbde
--enable-testing rejects commas at end of enumerator lists
2009-12-17 22:42:47 +01:00
Phil Sutter
3bc141cb7b
use -std=c++0x for C++ sources
...
This is for --enable-testing, as we use C99 features (anonymous variadic
macros, in logging.h).
2009-12-17 22:14:22 +01:00
Phil Sutter
4229fbd380
introduce a generic priority queue implementation
2009-12-13 17:10:45 +01:00
Phil Sutter
bb72583a95
simplify this conditional a bit
2009-12-13 03:42:14 +01:00
Phil Sutter
bad6d62b31
little header cleanup in conky.cc
2009-12-13 02:54:48 +01:00
Phil Sutter
510d617c74
fix doc typo and add highlighting for times_in_seconds
2009-12-13 00:28:01 +01:00
Phil Sutter
8bc17ca311
top: add update callbacks conditionally, drop useless check
2009-12-12 19:50:36 +01:00
Phil Sutter
8045e7f714
drop enum text_object_type and all references to it's members
...
After some minor rewrite of the top parser (which was in fact the only
real user of the obj->type field left since introduction of text object
callbacks), there is no need for the obj->type field anymore.
2009-12-12 15:56:00 +01:00
Phil Sutter
5c86a80614
fix $scroll color reset (add missing callback)
2009-12-12 15:43:39 +01:00
Pavel Labath
52b5fe11ed
Fix race condition in update_stat()
2009-12-11 22:54:11 +01:00
Pavel Labath
a49000ba22
Eliminate warnings in mail.c
...
PS: functions pop3_thread and imap_thread look ridiculously similar. It may be worth merging them
at some point.
2009-12-11 21:34:41 +01:00
Pavel Labath
95f1930220
Set -std compiler options for all build types, not just debug
2009-12-11 18:08:19 +01:00
Nikolas Garofil
6d4ba8b2f4
Fix anonymous enum warning
2009-12-11 17:58:25 +01:00
Brenden Matthews
48e834d1eb
More work on CMake build system.
2009-12-10 20:37:56 -08:00
Brenden Matthews
01c01671e5
Require GCC >=4.4.
2009-12-10 15:19:45 -08:00
Brenden Matthews
07e2002b03
Build libtcp-portmon as a separate library.
2009-12-10 15:19:13 -08:00
Pavel Labath
316198a0c3
Explicitly cast NULL to the specific type for compilers that (for some unknown reason) require it
2009-12-10 23:42:22 +01:00
Pavel Labath
b4feb01818
Fix memory allocation problem in exec.c
...
Bug reported by c0nv1ct.
2009-12-10 23:09:56 +01:00
Brenden Matthews
b6331b4eb6
Switch some more bits to C++, more CMake changes.
2009-12-09 20:05:32 -08:00
Phil Sutter
1a76df4a1d
Revert "add hint about the need to make distclean"
...
This reverts commit f7cf5ac9f6
.
Cmake is totally innocent, the need for distclean is only related to
e9d4e32f8f
, therefore a need for everyone
having an existing, compiled clone.
2009-12-10 02:12:23 +01:00
Phil Sutter
475b00e709
drop local definitions of _GNU_SOURCE since it's passed to gcc
2009-12-10 02:03:56 +01:00
Phil Sutter
f7cf5ac9f6
add hint about the need to make distclean
2009-12-10 02:02:55 +01:00
Brenden Matthews
0b3a4621ad
Fix CMake stuff for weather.
2009-12-09 16:12:11 -08:00
Brenden Matthews
6944cba54e
Move cmake files around, add -D_GNU_SOURCE.
2009-12-09 15:56:07 -08:00
Pavel Labath
2790d35e06
Set CXXFLAGS in-line with current CFLAGS settings (autoconf)
...
Also, replaced #define _GNU_SOURCE (in config.h) with -D_GNU_SOURCE command-line parameter
because, for some reason g++ defines it implicitly and then complains about multiple definitions.
Also, removed -Winline from C(XX)FLAGS because it causes a lot of warnings for c++ code that
can't be easily removed and are not very significant.
2009-12-09 23:59:08 +01:00
Pavel Labath
78da8a1946
Update cmake to address portmon change.
2009-12-09 23:59:07 +01: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
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