Commit 091601e4 authored by Yves-Alexis Perez's avatar Yves-Alexis Perez

New upstream version 1.2.0

parent bc800d5c
Code:
Brian Tarricone <bjt23@cornell.edu> (core, plugin, IMAP, POP3, GMail)
Pasi Orovuo <pasi.ov@gmail.com> (mbox, {mh-,}maildir, bugfixes, logging)
Ján Sučan <sucan@runbox.com>
Translations:
Pau Rullan Ferragut <paurullan@bulma.net> (ca)
Bernhard Walle <bernhard@bwalle.de> (de)
Fabian Nowak <timystery@aarcor.de> (de)
Stavros Giannouris <stavrosg2002@freemail.gr> (el)
Piarres Beobide <pi@beobide.net> (eu)
Jari Rahkonen <jari.rahkonen@pp1.inet.fi> (fi)
Stephane Roy <sroy@j2n.net> (fr)
Ankit Patel <ankit644@yahoo.com> (gu)
Daichi Kawahata <daichi@xfce.org> (ja)
Adriano Winter Bess <awbess@gmail.com> (pt_BR)
Phan Vĩnh Thịnh <teppi@vnlinux.org> (vi)
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
SUBDIRS = \
icons \
libmailwatch-core \
panel-plugin \
po
distclean-local:
rm -rf *.cache *~
.PHONY: ChangeLog
ChangeLog: Makefile
(GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp \
&& mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) \
|| (touch ChangeLog; echo 'Git directory not found: installing possibly empty changelog.' >&2)
dist-hook: ChangeLog
EXTRA_DIST = \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
intltool-update-tmp
This diff is collapsed.
1.2.0 (24 Oct 2013)
===================
- Fix recieving data from multiple packets.
- Port to libxfce4ui.
- Fix compilation and linking with libgcrypt.
- Fix compilation error when using gnutls >= 3.0.3.
- Fix build when SSL is disabled.
- Also support gtk-2.12-style tooltips, and make the tooltip auto-update
in place if the status changes while the tooltip is active.
- Fix high CPU usage while checking mail (bug #4494).
- Add new help dialog with redirection.
- Remove a moved documentation.
- Add configured features to print.
- Use exo icon chooser dialog for icon selection.
- Drop the old panel support.
- Translation updates: Arabic, German, English (Australian), Spanish,
French, Croatian, Hungarian, Italian, Japanese, Korean, Dutch, Polish,
Portuguese, Portuguese (Brazilian), Russian, Serbian, Turkish, Ukranian,
Chinese (China), Chinese (Taiwan).
- Translation additions: Bulgarian.
1.1.0 (14 Sep 2008)
===================
- Fix a compiler error on some systems (bug 1822).
- Fix incorrect getaddrinfo() usage breaking use on NetBSD (bug 3767).
- Fix possible hang when reading IMAP responses when a selected folder
is later deleted or unsubscribed.
- Fix buffer size issues when reading IMAP folder contents (bug 2009).
- Fix mailcheck interval not getting saved if changed using the
keyboard rather than the mouse (bug 2386).
- Fix problems receiving full commands on IMAP accounts (bug 2416).
- Fix problems receiving full commands on POP3 accounts (bug 2013).
- Fix removed new-mail folders sometimes re-adding themselves (bug 2647).
- Display message in log about possible incorrect username/password
when IMAP or POP3 authentication fails (bug 4344).
- Clean out stale mailbox data when a mailbox is removed.
- Update the new message counts for all mailboxes on startup, rather than
waiting for the first interval timeout.
- Document the behavior of forcing a new messsage count update when the
user double-clicks the icon (patch from Maximilian Schleiss).
- Add experimental IPv6 support.
- Add an 'Update Now' menu item (bug 3908).
- Add CRAM-MD5 authentication support for POP3 and IMAP (bug 3420).
- Add about dialog.
- Network layer heavily refactored to make code more readable and fix
strange timing bugs. It's much easier to read, maintain, and debug
now. This isn't particularly user-visible, but is notable.
- Eliminated periodic wakeups to see if it's time to check mail again,
instead using a long-running timeout. A side-effect of this is that
the mail-checking threads no longer run all the time, but only when
needed. Should save a little battery life for laptop users, and
just be more resource-friendly in general.
- Allow non-square plugin buttons.
- Allow deselecting INBOX in the IMAP folder list (bug 4150).
- Use GtkFileChooserButton for mbox and maildir file/dir entries rather
than a GtkEntry+GtkButton.
1.0.1 (20 Apr 2006)
===================
- Fix a possible connection failure when using IMAPS or POP3S.
- Don't compile in the GMail mailbox type if GNUTLS is not available,
as GMail requires an SSL HTTP connection.
1.0.0 (31 Jan 2006)
===================
- Initial release. I feel pretty good about it, thus the 1.0.0 designation.
That means there are no bugs. Seriously. Ok, not really.
+------------------------+
| Xfce4 Mailwatch Plugin |
+------------------------+
The Xfce4 Mailwatch Plugin is a multi-protocol, multi-mailbox mail watcher.
Currently, the protocols supported are:
* IMAP (SSL/TLS and cleartext, CRAM-MD5)
* POP3 (SSL/TLS and cleartext, CRAM-MD5)
* Mbox mail spool (local)
* Maildir mail spool (local)
* MH-Maildir mail spool (local)
* Google Mail (GMail) mailbox (remote) (requires gnutls)
Random list of features:
* Multiple folder checking support for IMAP.
* Independent check intervals for each mailbox.
* Threaded design; xfce4-panel UI should never freeze or block.
* Informative button tooltip that tells you the number of new messages in
each mailbox.
* Optionally run a command when new mail arrives, or when the panel button
is clicked.
* Error log accessible from the plugin properties dialog, with a small
overlay icon to inform the user of errors at a glance.
* Custom button icons.
gnutls 1.2.0 or greater and libgcrypt, version 1.2.0 or greater, are optional,
but required for SSL/TLS support. GMail requires this support. Sending
cleartext passwords across unsecured networks is not recommended. This plugin
should work with any Xfce version from 4.8.0 onwards.
See the Mailwatch website for more information and the latest release:
http://goodies.xfce.org/projects/panel-plugins/xfce4-mailwatch-plugin
Please use the Xfce general discussion list if you have problems:
https://mail.xfce.org/mailman/listinfo/xfce
Development discussion (if any) takes place on the goodies-dev list:
https://mail.xfce.org/mailman/listinfo/goodies-dev
The Xfce4 Mailwatch Plugin was written by Brian Tarricone, Pasi Orovuo
and Ján Sučan.
* Comment the code.
* For the threaded code, use joinable threads rather than waiting on
thread pointers. Though the upside of the current approach is that
we could process gtk events in that loop if we wanted.
* gio/thunar-vfs file monitoring support for the local mail spool
options.
This diff is collapsed.
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.
scriptversion=2012-03-05.13; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free
# Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
nl='
'
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent tools from complaining about whitespace usage.
IFS=" "" $nl"
file_conv=
# func_file_conv build_file lazy
# Convert a $build file to $host form and store it in $file
# Currently only supports Windows hosts. If the determined conversion
# type is listed in (the comma separated) LAZY, no conversion will
# take place.
func_file_conv ()
{
file=$1
case $file in
/ | /[!/]*) # absolute file, and not a UNC file
if test -z "$file_conv"; then
# lazily determine how to convert abs files
case `uname -s` in
MINGW*)
file_conv=mingw
;;
CYGWIN*)
file_conv=cygwin
;;
*)
file_conv=wine
;;
esac
fi
case $file_conv/,$2, in
*,$file_conv,*)
;;
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
cygwin/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)
file=`winepath -w "$file" || echo "$file"`
;;
esac
;;
esac
}
# func_cl_dashL linkdir
# Make cl look for libraries in LINKDIR
func_cl_dashL ()
{
func_file_conv "$1"
if test -z "$lib_path"; then
lib_path=$file
else
lib_path="$lib_path;$file"
fi
linker_opts="$linker_opts -LIBPATH:$file"
}
# func_cl_dashl library
# Do a library search-path lookup for cl
func_cl_dashl ()
{
lib=$1
found=no
save_IFS=$IFS
IFS=';'
for dir in $lib_path $LIB
do
IFS=$save_IFS
if $shared && test -f "$dir/$lib.dll.lib"; then
found=yes
lib=$dir/$lib.dll.lib
break
fi
if test -f "$dir/$lib.lib"; then
found=yes
lib=$dir/$lib.lib
break
fi
done
IFS=$save_IFS
if test "$found" != yes; then
lib=$lib.lib
fi
}
# func_cl_wrapper cl arg...
# Adjust compile command to suit cl
func_cl_wrapper ()
{
# Assume a capable shell
lib_path=
shared=:
linker_opts=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
eat=1
case $2 in
*.o | *.[oO][bB][jJ])
func_file_conv "$2"
set x "$@" -Fo"$file"
shift
;;
*)
func_file_conv "$2"
set x "$@" -Fe"$file"
shift
;;
esac
;;
-I)
eat=1
func_file_conv "$2" mingw
set x "$@" -I"$file"
shift
;;
-I*)
func_file_conv "${1#-I}" mingw
set x "$@" -I"$file"
shift
;;
-l)
eat=1
func_cl_dashl "$2"
set x "$@" "$lib"
shift
;;
-l*)
func_cl_dashl "${1#-l}"
set x "$@" "$lib"
shift
;;
-L)
eat=1
func_cl_dashL "$2"
;;
-L*)
func_cl_dashL "${1#-L}"
;;
-static)
shared=false
;;
-Wl,*)
arg=${1#-Wl,}
save_ifs="$IFS"; IFS=','
for flag in $arg; do
IFS="$save_ifs"
linker_opts="$linker_opts $flag"
done
IFS="$save_ifs"
;;
-Xlinker)
eat=1
linker_opts="$linker_opts $2"
;;
-*)
set x "$@" "$1"
shift
;;
*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
func_file_conv "$1"
set x "$@" -Tp"$file"
shift
;;
*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
func_file_conv "$1" mingw
set x "$@" "$file"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -n "$linker_opts"; then
linker_opts="-link$linker_opts"
fi
exec "$@" $linker_opts
exit 1
}
eat=
case $1 in
'')
echo "$0: No command. Try '$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: compile [--help] [--version] PROGRAM [ARGS]
Wrapper for compilers which do not understand '-c -o'.
Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
arguments, and rename the output as expected.
If you are trying to build a whole package this is not the
right script to run: please start by reading the file 'INSTALL'.
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "compile $scriptversion"
exit $?
;;
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
func_cl_wrapper "$@" # Doesn't return...
;;
esac
ofile=
cfile=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
# So we strip '-o arg' only if arg is an object.
eat=1
case $2 in
*.o | *.obj)
ofile=$2
;;
*)
set x "$@" -o "$2"
shift
;;
esac
;;
*.c)
cfile=$1
set x "$@" "$1"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no '-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# '.c' file was seen then we are probably linking. That is also
# ok.
exec "$@"
fi
# Name of file we expect compiler to create.
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
# Create the lock directory.
# Note: use '[/\\:.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
while true; do
if mkdir "$lockdir" >/dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir '$lockdir'; exit 1" 1 2 15
# Run the compile.
"$@"
ret=$?
if test -f "$cofile"; then
test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"
exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:
This diff is collapsed.
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define for debugging support */
#undef DEBUG
/* Define for tracing support */
#undef DEBUG_TRACE
/* Define if IPv6 support should be enabled */
#undef ENABLE_IPV6_SUPPORT
/* always defined to indicate that i18n is enabled */
#undef ENABLE_NLS
/* Name of default gettext domain */
#undef GETTEXT_PACKAGE
/* Define to 1 if you have the `bind_textdomain_codeset' function. */
#undef HAVE_BIND_TEXTDOMAIN_CODESET
/* Define to 1 if you have the `dcgettext' function. */
#undef HAVE_DCGETTEXT
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the <errno.h> header file. */
#undef HAVE_ERRNO_H
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* Define if gnutls >= 1.2.0 present */
#undef HAVE_GNUTLS
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if your <locale.h> file defines LC_MESSAGES. */
#undef HAVE_LC_MESSAGES
/* Define to 1 if you have the <libintl.h> header file. */
#undef HAVE_LIBINTL_H
/* Define if libX11 is available */
#undef HAVE_LIBX11
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H
/* Define to 1 if you have the <math.h> header file. */
#undef HAVE_MATH_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `mmap' function. */
#undef HAVE_MMAP
/* Define to 1 if you have the <netdb.h> header file. */
#undef HAVE_NETDB_H
/* Define to 1 if you have the <netinet/in.h> header file. */
#undef HAVE_NETINET_IN_H
/* Define to 1 if you have the `sigaction' function. */
#undef HAVE_SIGACTION
/* Define to 1 if you have the <signal.h> header file. */
#undef HAVE_SIGNAL_H
/* Define to 1 if you have the `srandom' function. */
#undef HAVE_SRANDOM
/* Define if SSL support is enabled */
#undef HAVE_SSL_SUPPORT
/* Define to 1 if you have the <stddef.h> header file. */
#undef HAVE_STDDEF_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdio.h> header file. */
#undef HAVE_STDIO_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/prctl.h> header file. */
#undef HAVE_SYS_PRCTL_H
/* Define to 1 if you have the <sys/select.h> header file. */
#undef HAVE_SYS_SELECT_H
/* Define to 1 if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <sys/wait.h> header file. */
#undef HAVE_SYS_WAIT_H
/* Define to 1 if you have the <time.h> header file. */
#undef HAVE_TIME_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
#undef NO_MINUS_C_MINUS_O
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
#endif
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif
/* Enable threading extensions on Solaris. */
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
#endif
/* Enable extensions on HP NonStop. */
#ifndef _TANDEM_SOURCE
# undef _TANDEM_SOURCE
#endif
/* Enable general extensions on Solaris. */
#ifndef __EXTENSIONS__
# undef __EXTENSIONS__
#endif
/* Version number of package */
#undef VERSION
/* The Mailwatch website */
#undef WEBSITE
/* Define to 1 if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING
/* Define to 1 if on MINIX. */
#undef _MINIX
/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
#undef _POSIX_1_SOURCE
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
This diff is collapsed.
This diff is collapsed.
dnl
dnl This file was autogenerated from "configure.ac.in".
dnl Edit that file instead!
dnl
dnl
dnl xfce4-mailwatch-plugin - a mail notification plugin for the xfce4 panel
dnl
dnl ***************************
dnl *** Version information ***
dnl ***************************
m4_define([mailwatch_version_major], [1])
m4_define([mailwatch_version_minor], [2])
m4_define([mailwatch_version_micro], [0])
m4_define([mailwatch_version_nano], []) dnl leave this empty to have no nano version
m4_define([mailwatch_version_build], [3ed2f00])