Pavel Labath
75e147fa25
Remove timed_thread code as it is no longer used.
2011-03-26 21:04:07 +01:00
Pavel Labath
b99c7291bc
Make mail variables use the new callback system
2011-03-25 12:26:49 +01:00
Pavel Labath
ef24f62412
Merge remote branch 'origin/master' into lua-config
...
Conflicts:
src/conky.cc
2010-09-11 14:50:37 +02:00
Brenden Matthews
2f9195bd56
When we have a failure in mail thread, sleep for a bit.
2010-09-09 10:55:34 -07:00
Brenden Matthews
d0a20850c8
Improve failure handling in mail threads.
...
When we have a failure in the mail thread, lookup the hostname again in
case the failure is due odd to DNS changes, or some other madness.
2010-09-09 10:55:24 -07:00
Pavel Labath
9fc5b84a32
Make pop3 and imap lua settings
2010-09-07 17:39:36 +02:00
Pavel Labath
ef2b39a97f
Make text_buffer_size a lua setting
2010-08-29 23:50:32 +02:00
Pavel Labath
ce49490144
Make mail_spool a lua setting
2010-08-26 23:07:21 +02:00
Pavel Labath
df6db63972
c++-ify variable_substitute()
2010-08-26 20:04:46 +02:00
Brenden Matthews
dee932d83b
Fix crash in mail stuff due to bad free().
2010-08-26 10:34:34 -07:00
Pavel Labath
abeadb59d7
Use getaddrinfo instead of gethostbyname
...
Patches conky to use getaddrinfo instead of gethostbyname everywhere. gethostbyname is rather
flawed and doesn't support IPv6 properly.
Patch contributed by Pascal Bleser
2010-08-15 15:56:36 +02:00
Pavel Labath
0f213c89f2
Simplify timed_thread time calculations with some c++0x magic
2010-06-10 19:19:49 +02:00
Nikolas Garofil
3fa1ca15e1
Fix previous commit
2010-06-02 19:28:40 +02:00
Nikolas Garofil
d80c372a5c
Fix segfault in mail folder (SF: 3007493)
2010-06-02 18:00:38 +02:00
Nikolas Garofil
e7ed9a5060
Revert "Use "using namespace std;" and remove all std::'s"
...
This reverts commit 41e80b9833
.
2010-02-24 20:10:26 +01:00
Nikolas Garofil
41e80b9833
Use "using namespace std;" and remove all std::'s
...
I'm doing this because otherwise i'll will forget to add all those
std::'s and will lose a LOT of time finding the problems.
If you don't agree, undo this patch...
...but i hope you won't :)
2010-02-24 19:39:45 +01:00
Nikolas Garofil
6092d063c9
Use free_and_zero in [m-o]*.cc where appropriate
2010-02-24 02:14:20 +01:00
Cesare Tirabassi
4264f759bb
Fix minor memory leak in mail.cc (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566524 )
2010-01-24 22:15:52 +01:00
Brenden Matthews
002685c0ce
Make timed-thread a lib, rename files.
2010-01-13 10:52:54 -08:00
Brenden Matthews
7ff762e4af
Resolve issues with timed_thread rewrite WIP.
2010-01-04 19:21:12 -08:00
Brenden Matthews
01ac47d082
Implement timed_thread rewrite in C++.
...
Rewrote timed_thread library in C++ using fancy new C++0x features. The
main reason for this is to phase out poor encapsulation and C-style
function pointers.
2010-01-04 19:21:12 -08:00