...
 
Commits (58)
# A simulation of Subversion default ignores, generated by reposurgeon.
*.o
*.lo
*.la
*.al
.libs
*.so
*.so.[0-9]*
*.a
*.pyc
*.pyo
*.rej
*~
.#*
.*.swp
.DS_store
This diff is collapsed.
This diff is collapsed.
SUBDIRS = src po
DIST_SUBDIRS= src po
changelogs = \
ChangeLog
EXTRA_DIST = \
$(changelog) \
intltool-merge.in \
intltool-update.in \
intltool-extract.in
CLEANFILES = intltool-merge \
intltool-update \
intltool-extract
MAINTAINERCLEANFILES = \
$(srcdir)/INSTALL \
$(srcdir)/aclocal.m4 \
$(srcdir)/autoscan.log \
$(srcdir)/compile \
$(srcdir)/config.guess \
$(srcdir)/config.h.in \
$(srcdir)/config.sub \
$(srcdir)/configure.scan \
$(srcdir)/depcomp \
$(srcdir)/gtk-doc.make \
$(srcdir)/install-sh \
$(srcdir)/ltmain.sh \
$(srcdir)/missing \
$(srcdir)/mkinstalldirs
-include $(top_srcdir)/git.mk
This diff is collapsed.
Evolution-EWS 3.4.4 2012-08-13
------------------------------
Bug Fixes:
Bug 656709 - Excessive updates being sent to server (Milan Crha)
Bug 663383 - Doesn't allow to quit (Milan Crha)
Bug 665986 - Crash when failed to get a message from a server
(Milan Crha)
Bug 668555 - Crash in ews_cal_sync_items_ready_cb (Punit Jain)
Bug 669460 - Can pick freed connection (Milan Crha)
Bug 670458 - Unable to accept meeting request (Milan Crha)
Bug 670506 - Task is adding time to due date from somewhere
(Milan Crha)
Bug 673095 - Should call SoupSessionAsync functions in soup thread
only (Milan Crha)
Bug 675285 - Crash on deleted event move (Milan Crha)
Bug 675442 - Crash in ews_active_job_done() (Milan Crha)
Bug 678321 - Bug in usage of signed/unsigned crashes downloading of
GAL (derolf)
Bug 679303 - Doesn't detect when password has changed (Milan Crha)
Bug 679305 - EX addresses not decoded in folder summary (Milan Crha)
Bug 679305 - EX addresses not decoded in folder summary (Milan Crha)
Bug 680153 - Crash under message_info_from_db() (Milan Crha)
Bug 680525 - Deadlock in calendar when locking priv structure
(Milan Crha)
Bug 680683 - Do not block factory's main thread (Milan Crha)
Evolution-EWS 3.4.3 2012-06-18
------------------------------
Bug Fixes:
Bug 654543 - Mark as junk doesn't work (Milan Crha)
Bug 673408 - Crash in get_attachments_response_cb() (Milan Crha)
Bug 674599 - Crash on contact view open (Milan Crha)
Bug 676081 - Deleted message not deleted from server (Milan Crha)
Bug 677007 - Add Basic authentication type (Milan Crha)
Bug 677398 - Can get stuck in e_book_backend_ews_authenticate_user()
(Milan Crha)
Bug 677531 - May skip empty vCards in GAL (Milan Crha)
Evolution-EWS 3.4.2 2012-05-14
------------------------------
Bug Fixes:
Bug 653631 - Empty trash doesn't work (no trash folder returned) (Milan Crha)
Bug 653631 - Empty trash doesn't work (Milan Crha)
Bug 664637 - Deleted messages appear in Inbox (Milan Crha)
Miscellaneous Fixes:
Report errors from backends in their error domain (Milan Crha)
Fix possible crash at the end of autodiscovery (Milan Crha)
Evolution-EWS 3.4.1 2012-04-16
------------------------------
Bug Fixes:
Bug #671969 - Crash in g_thread_join, e_ews_connection_dispose (Milan Crha)
Bug #673349 - Missing charset breaks setting of utf-8 strings (Milan Crha)
Bug #670217 - Doesn't show all calendar events (Milan Crha)
Bug #661436 - Search is required for GAL (Milan Crha)
Evolution-EWS 3.4.0 2012-03-26
------------------------------
Translations:
Marek Černocký (cs)
Joe Hansen (da)
Мирослав Николић (sr)
Evolution-EWS 3.3.92 2012-03-19
-------------------------------
Bug Fixes:
Bug 665801 - Fix a corner case for a leak fix from bug #665801 (Milan Crha)
Bug 660428 - Some calendars/task lists are missing after reconfiguring account (Milan Crha)
Bug 667849 - Unable to open Contacts address book (Milan Crha)
Miscellaneous Fixes:
Use e_book_backend_foreach_view for notifying status messages to all the views. (Chenthill Palanisamy)
Suppress deprecation warnings. (Matthew Barnes)
Translations:
Gabor Kelemen (hu)
Piotr Drąg (pl)
Evolution-EWS 3.3.90 2012-02-20
-------------------------------
Bug Fixes:
Bug 656375 Out of Office Implementation (Punit Jain)
Bug 668174 unable to create appointments and meetings (Punit Jain)
Bug 654810 conversion of evolution query to ews restriction and test function (Punit Jain)
Bug 654810 finditem API implementation (Punit Jain)
Bug 654822 set system folder flags using getfolder operation (Punit Jain)
Bug 658347 - Harmonize mnemonic for "Check new messages for Junk contents" (Milan Crha)
Bug 664749 - Cannot send message "Service not connected" (Milan Crha)
Bug 665801 - Crash in SoupSessionAsync::finalize (David Woodhouse)
Bug 669338 - Wrong Content-Type in Autodiscover xml soap (David Woodhouse)
Miscellaneous Fixes:
Updated POTFILES.in (Piotr Drąg)
Translations:
Matej Urbančič (sl)
Marek Černocký (cs)
Daniel Mustieles (es)
Gonzalo Sanhueza (es)
Evolution-EWS 3.3.5 2012-02-05
------------------------------
Bug Fixes:
(none)
Other Changes:
* Adapt to libemail-engine. (Matthew Barnes)
Evolution-EWS 3.3.4 2012-01-16
------------------------------
Bug Fixes:
Bug 665104 - Possible memory leaks (Vibha Yadav)
Bug 665533 - OAB caching not working (Punit Jain)
Bug 667185 - Menu items from plugins not translated (Milan Crha)
Translations:
Nicolás Satragno (es)
Kjartan Maraas (nb)
Evolution-EWS 3.3.3 2011-12-19
------------------------------
Bug Fixes:
Bug 659679 - Password management- Clicking 'ok' without entering a password doesn't bring up a message (Chenthill Palanisamy)
Bug 665065 - Updates changed items forever (Milan Crha)
Bug 664637 - Deleted messages appear in Inbox (David Woodhouse)
Bug 656376 - Support for delegation (Vibha Yadav)
Bug 664116 - "Fetch URL" doesn't always work (Milan Crha)
Bug 664572 - Change e_cal_backend_notify_component* to use ECalComponent (Milan Crha)
Bug 648877 - Address completion gives mailbox name rather than contact name (Milan Crha)
Bug 663379 - Cannot configure EWS account on 3.3.1 (Milan Crha)
Bug 654940 - Fetch url even works in offline (Chenthill Palanisamy)
Bug 661537 - Crash in e_book_backend_sqlitedb_get_is_populated at e-book-backend-sqlitedb.c:1726 (Chenthill Palanisamy)
Miscellaneous Fixes:
Fix address-book to display contents without error. Make a dummy get_folder request on the distinguished folder "contacts"
to make sure we have a valid connection. The duplicate requests can be avoided once we have a EClientStore implemented or if
e_ews_connection_new can handle it. (Chenthill Palanisamy)
Implement GetFolder request. Refactor the code to request for additional properties. (Chenthill Palanisamy)
Remove all *_DISABLE_DEPRECATED_FLAGS. (Matthew Barnes)
Remove GSEAL_ENABLE macro. (Matthew Barnes)
Translations:
Matej Urbančič (sl)
Daniel Mustieles (es)
Evolution-EWS 3.3.2 2011-11-21
------------------------------
Bug Fixes:
Bug 657320 - Set/Modify Birthday of Contact (Vibha Yadav)
Bug 661528 - g_ascii_strcasecmp: assertion `s2 != NULL' failed
(Vibha Yadav)
Bug 661972 - Crash in ews_book_remove_contact_cb at
e-book-backend-ews.c:881 (Chenthill Palanisamy)
Bug 662598 - Store server folder cache in user's cache directory
(Milan Crha)
Other Changes:
* Remove g_thread_init() calls. (Matthew Barnes)
* Distribute 'xz' tar archives instead of gzip. (Matthew Barnes)
* Fix default-enable of AM_MAINTAINER_MODE (David Woodhouse)
* Do not use deprecated g_atexit. (Chenthill Palanisamy)
Translations:
Marek Černocký (cs)
Daniel Mustieles (es)
Zoltan Mezi (hu)
Matej Urbančič (sl)
Evolution-EWS 3.3.1 2011-10-24
------------------------------
Miscellaneous Changes:
* Adapt to various API changes. (Milan Crha, Matthew Barnes)
* Prefill Host URL when creating new account (Milan Crha)
* Use SHA256 of EWS ItemId for cache filename, not the ItemId itself.
(David Woodhouse)
Translations:
Mario Blättermann (de)
========================
1. BUILD
$ ./autogen.sh
$ make
$ make install
========================
2. Test Suite
Pre-requisites to launch the test suite.
Export the following environmental variables for your test suite to run.
EWS_TEST_USERNAME
EWS_TEST_PASSWORD
EWS_TEST_EMAIL
EWS_TEST_URI
$ make check
=========================
3. Autodiscover reference
The Autodiscover service provides the configuration information necessary to
create a connection to an Exchange server. The Autodiscover service provides
a mechanism that allows you to use “plain old XML” (POX) messages — that is,
messages that consist solely of XML payloads without any enclosing SOAP
envelopes — to locate the settings that a client application must have in
order to connect to Exchange.
Currently the test suite uses autodiscovery to fetch the url to connect to,
using your username and email provided.
Reference:
http://msdn.microsoft.com/en-us/library/aa581522.aspx
The ASUrl (POX) element contains the url. Use this for all subsequent requests
to your Exchange server.
A typical ASUrl looks like this,
https://server_ip/EWS/Exchange.asmx
==========================
4. URLs
-> Development overview - http://msdn.microsoft.com/en-us/library/cc535017%28v=EXCHG.80%29.aspx
-> Autodiscover reference - http://msdn.microsoft.com/en-us/library/aa581522.aspx
-> EWS XML Elements - http://msdn.microsoft.com/en-us/library/aa580675%28v=EXCHG.80%29.aspx
===========================
5. Address book
Fetching Global address list
Use OAB (Offline Address Book) for caching the GAL locally into Evolution.
While caching happens in the background, until the cache is setup, use
Resolve Names.
Resolve names operation
http://msdn.microsoft.com/en-us/library/aa563518(v=EXCHG.80).aspx
Unresolved Entry
http://msdn.microsoft.com/en-us/library/aa581054(v=EXCHG.80).aspx
============================
6. Fetching Public folders
Needs an additional header not mentioned in the documentation
Include the following header for Exchange 2007,
<soap:Header>
<t:RequestServerVersion Version="Exchange2007_SP1"/>
</soap:Header>
What's the equivalent for Exchange 2010? No server to test as yet.
=============================
7. Ideas yet to research on
== Mailer ==
Following the IMAPX backend, we could make EWS asynchronous in the same manner
prioritizing the client requests.
Separate out the prioritizing client requests and make it common to all
providers.
Is pipe-ling requests possible?
== Calendar ==
Make the operations similar to mailer. Handle all the operations Offline and
later sync it with server.
Handle all the offline operations in a single class, say CalBackendOffline.
Cache needs to be extended to be able to give the list of un-syncronized
(local->server) items. We could handle the error messages for the
un-synchronized calendar items (eg: meeting created) by optionally displaying
an error dialog and also providing a visual cue in the form of an icon.
The error can also be logged per event. Eg: Opening the meeting can show the
actual error in the meeting editor in a non-intrusive manner. This very similar
to how mailer handles the un-sent mails in OutBox showing the error messages.
Improve FreeBusy performance by fetching free/busy information for all users at
a single stretch if the server supports it. FreeBusy requests should be
cancellable. Provide EDS ECal apis for the same.
== Address book ==
Ensure the auto-completion performance doesn't fade while caching the contacts
or fetching deltas.
other improvement areas?
== Single Connection (to be analyzed) ==
Are multiple connections allowed on exchange servers or is there any limit ?
Since address-book, calendar, mailer are run as separate processes we would
require three connections if connections are not shared.
If we want to use a single connection, we might need to write ews connection
layer as a separate process and let mailer,e-address-book-factory,
e-calendar-factory send the requests to it.
dnl as-compiler-flag.m4 0.1.0
dnl autostars m4 macro for detection of compiler flags
dnl David Schleef <ds@schleef.org>
dnl $Id: as-compiler-flag.m4,v 1.1 2005/12/15 23:35:19 ds Exp $
dnl AS_COMPILER_FLAG(CFLAGS, ACTION-IF-ACCEPTED, [ACTION-IF-NOT-ACCEPTED])
dnl Tries to compile with the given CFLAGS.
dnl Runs ACTION-IF-ACCEPTED if the compiler can compile with the flags,
dnl and ACTION-IF-NOT-ACCEPTED otherwise.
AC_DEFUN([AS_COMPILER_FLAG],
[
AC_MSG_CHECKING([to see if compiler understands $1])
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $1"
AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no])
CFLAGS="$save_CFLAGS"
if test "X$flag_ok" = Xyes ; then
m4_ifvaln([$2],[$2])
true
else
m4_ifvaln([$3],[$3])
true
fi
AC_MSG_RESULT([$flag_ok])
])
dnl AS_COMPILER_FLAGS(VAR, FLAGS)
dnl Tries to compile with the given CFLAGS.
AC_DEFUN([AS_COMPILER_FLAGS],
[
list=$2
flags_supported=""
flags_unsupported=""
AC_MSG_CHECKING([for supported compiler flags])
for each in $list
do
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $each"
AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no])
CFLAGS="$save_CFLAGS"
if test "X$flag_ok" = Xyes ; then
flags_supported="$flags_supported $each"
else
flags_unsupported="$flags_unsupported $each"
fi
done
AC_MSG_RESULT([$flags_supported])
if test "X$flags_unsupported" != X ; then
AC_MSG_WARN([unsupported compiler flags: $flags_unsupported])
fi
$1="$$1 $flags_supported"
])
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. */
/* always defined to indicate that i18n is enabled */
#undef ENABLE_NLS
/* Package name for gettext */
#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 if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* 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 <locale.h> header file. */
#undef HAVE_LOCALE_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_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/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 <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
/* Version number of package */
#undef VERSION
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
#undef inline
#endif
This diff is collapsed.
This diff is collapsed.
AC_PREREQ(2.58)
AC_INIT([evolution-ews], [3.4.4], [http://bugzilla.gnome.org/browse.cgi?product=evolution-ews])
AM_INIT_AUTOMAKE([gnu 1.9 dist-xz no-dist-gzip])
AC_CONFIG_SRCDIR(README)
AC_CONFIG_HEADERS(config.h)
dnl ****************************
dnl Evolution-EWS API version
dnl ****************************
m4_define([EVO_EWS_API_VERSION_MACRO], [1.0])
EVO_EWS_API_VERSION=EVO_EWS_API_VERSION_MACRO
AC_SUBST(EVO_EWS_API_VERSION)
dnl *******************
dnl Required Packages
dnl *******************
m4_define([eds_minimum_version], [3.2.0])
m4_define([evo_minimum_version], [3.2.0])
m4_define([glib_minimum_version], [2.16.1])
m4_define([gconf_minimum_version], [2.0.0])
m4_define([libsoup_minimum_version], [2.30])
dnl ***********************************
dnl Automake 1.11 - Silent Build Rules
dnl ***********************************
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
dnl ****************************
dnl Initialize maintainer mode
dnl ****************************
AM_MAINTAINER_MODE([enable])
AC_PROG_CC
AC_PROG_CPP
AC_C_INLINE
AM_PROG_CC_C_O
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
dnl ******************************
dnl Check for Win32
dnl ******************************
AC_MSG_CHECKING([for Win32])
case "$host" in
*-mingw*)
os_win32=yes
NO_UNDEFINED='-no-undefined'
SOCKET_LIBS='-lws2_32'
;;
*)
os_win32=no
NO_UNDEFINED='-no-undefined'
SOCKET_LIBS=''
;;
esac
AC_MSG_RESULT([$os_win32])
AM_CONDITIONAL(OS_WIN32, [test "x$os_win32" = "xyes"])
AC_SUBST(NO_UNDEFINED)
AC_SUBST(SOCKET_LIBS)
dnl ***********************
dnl Compiler Warning Flags
dnl ***********************
AS_COMPILER_FLAGS(WARNING_FLAGS,
"-Wall -Wextra
-Wno-missing-field-initializers
-Wno-sign-compare
-Wno-unused-parameter
-Wno-deprecated-declarations
-Wdeclaration-after-statement
-Wno-unused-but-set-variable
-Werror-implicit-function-declaration
-Wformat-nonliteral -Wformat-security -Winit-self
-Wmissing-declarations -Wmissing-include-dirs
-Wmissing-noreturn -Wnested-externs -Wpointer-arith
-Wundef -Wwrite-strings")
AC_SUBST(WARNING_FLAGS)
dnl Other useful compiler warnings for test builds only.
dnl These may produce warnings we have no control over.
dnl
dnl -Wmissing-format-attribute
dnl -Wshadow
dnl -Wredundant-decls
CFLAGS="$CFLAGS $WARNING_FLAGS"
dnl ************
dnl i18n stuff
dnl ************
IT_PROG_INTLTOOL([0.35.5])
AM_GLIB_GNU_GETTEXT
AM_PATH_GLIB_2_0(2.26.0,,,gobject gthread)
GETTEXT_PACKAGE=evolution-ews
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext])
localedir='$(prefix)/$(DATADIRNAME)/locale'
AC_SUBST(localedir)
dnl ****************************
dnl Initialize libtool
dnl ****************************
AM_DISABLE_STATIC
AC_PROG_LIBTOOL
PKG_PROG_PKG_CONFIG
dnl ********************************
dnl Check for evolution-data-server
dnl ********************************
PKG_CHECK_MODULES(EVOLUTION_DATA_SERVER, evolution-data-server-1.2 >= eds_minimum_version)
dnl *****************************
dnl Check for GNOME Platform
dnl *****************************
PKG_CHECK_MODULES(GNOME_PLATFORM,
[glib-2.0 >= glib_minimum_version
gtk+-3.0 >= 2.90.4
gconf-2.0 >= gconf_minimum_version])
PKG_CHECK_MODULES(SOUP, libsoup-2.4 >= libsoup_minimum_version)
AC_SUBST(SOUP_CFLAGS)
AC_SUBST(SOUP_LIBS)
LIBSOUP_REQUIRED=libsoup_minimum_version
AC_SUBST(LIBSOUP_REQUIRED)
dnl ********************************
dnl Check for remaining evolution-data-server modules
dnl ********************************
PKG_CHECK_MODULES(LIBEDATASERVER, libedataserver-1.2 >= eds_minimum_version)
PKG_CHECK_MODULES(LIBEDATASERVERUI, libedataserverui-3.0 >= eds_minimum_version)
PKG_CHECK_MODULES(LIBEBACKEND, libebackend-1.2 >= eds_minimum_version)
PKG_CHECK_MODULES(LIBECAL, libecal-1.2 >= eds_minimum_version)
PKG_CHECK_MODULES(LIBEDATACAL, libedata-cal-1.2 >= eds_minimum_version)
PKG_CHECK_MODULES(LIBBOOK, libebook-1.2 >= eds_minimum_version)
PKG_CHECK_MODULES(LIBEDATABOOK, libedata-book-1.2 >= eds_minimum_version)
PKG_CHECK_MODULES(LIBEMAIL_ENGINE, libemail-engine >= eds_minimum_version)
PKG_CHECK_MODULES(CAMEL, camel-1.2 >= eds_minimum_version)
dnl ****************************
dnl Check for evolution plugins
dnl ****************************
PKG_CHECK_MODULES(EVOLUTION_PLUGIN, evolution-plugin-3.0 >= evo_minimum_version)
dnl ****************************
dnl Check for evolution shell
dnl ****************************
PKG_CHECK_MODULES(EVOLUTION_SHELL, evolution-shell-3.0 >= evo_minimum_version)
dnl ****************************
dnl Check for sqlite3
dnl ****************************
PKG_CHECK_MODULES(SQLITE3, sqlite3)
dnl ****************************
dnl Check for libical
dnl ****************************
PKG_CHECK_MODULES(LIBICAL, libical)
dnl ****************************
dnl Expose version information
dnl ****************************
API_VERSION=1.2
AC_SUBST(API_VERSION)
EDS_REQUIRED=eds_minimum_version
AC_SUBST(EDS_REQUIRED)
EVO_REQUIRED=evo_minimum_version
AC_SUBST(EVO_REQUIRED)
dnl *******************************
dnl Add evolution plugin rules here
dnl *******************************
EVO_PLUGIN_RULE=$srcdir/eplugin-rule.mk
AC_SUBST_FILE(EVO_PLUGIN_RULE)
dnl *******************
dnl Special directories
dnl *******************
plugindir=`$PKG_CONFIG --variable=plugindir evolution-plugin-3.0`
AC_SUBST(plugindir)
camel_providerdir=`$PKG_CONFIG --variable=camel_providerdir camel-1.2`
AC_SUBST(camel_providerdir)
privincludedir=`$PKG_CONFIG --variable=privincludedir libedataserver-1.2`
AC_SUBST(privincludedir)
privlibdir=`$PKG_CONFIG --variable=privlibdir evolution-data-server-1.2`
AC_SUBST(privlibdir)
edataserver_privincludedir=`$PKG_CONFIG --variable=privincludedir libedataserver-1.2`
AC_SUBST(edataserver_privincludedir)
ecal_backenddir=`$PKG_CONFIG --variable=backenddir libedata-cal-1.2`
AC_SUBST(ecal_backenddir)
ebook_backenddir=`$PKG_CONFIG --variable=backenddir libedata-book-1.2`
AC_SUBST(ebook_backenddir)
dnl *************
dnl Gtk Doc stuff
dnl *************
GTK_DOC_CHECK(1.9)
dnl **************************
dnl Makefiles, generated .pc's
dnl **************************
AC_CONFIG_FILES([
Makefile
src/Makefile
src/server/Makefile
src/server/tests/Makefile
src/server/libeews.pc
src/utils/Makefile
src/account-setup-eplugin/Makefile
src/addressbook/Makefile
src/addressbook/lzx/Makefile
src/calendar/Makefile
src/camel/Makefile
po/Makefile.in
])
AC_OUTPUT
evolution-ews (3.4.4-2) stable; urgency=low
* 01_freebusy.patch: patch from upstream git. Fix free/busy indicators
with Exhange 2013 servers.
-- Josselin Mouette <joss@debian.org> Fri, 11 Apr 2014 15:30:48 +0200
evolution-ews (3.4.4-1) unstable; urgency=low
* New upstream bugfix release (closes: #681802).
-- Jordi Mallach <jordi@debian.org> Sun, 21 Oct 2012 13:00:41 +0200
evolution-ews (3.4.3-1) unstable; urgency=low
* Team upload.
......
......@@ -13,8 +13,8 @@ Uploaders: Heikki Henriksen <heikkih@gmail.com>,
Standards-Version: 3.9.3
Dm-Upload-Allowed: yes
Homepage: http://www.gnome.org/projects/evolution/
Vcs-Svn: svn://anonscm.debian.org/svn/pkg-evolution/unstable/evolution-ews
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-evolution/unstable/evolution-ews
Vcs-Git: https://anonscm.debian.org/git/pkg-gnome/evolution-ews.git
Vcs-Browser: https://anonscm.debian.org/git/pkg-gnome/evolution-ews.git
Build-Depends: debhelper (>= 9),
dpkg-dev (>= 1.14.16),
dh-autoreconf,
......
[DEFAULT]
pristine-tar = True
debian-branch = debian/wheezy
upstream-branch = upstream/3.4.x
Author: Josselin Mouette <joss@debian.org>
Description: Remove deprecation defines.
Forwarded: no
Index: evolution-ews-3.2.2/configure.ac
===================================================================
--- evolution-ews-3.2.2.orig/configure.ac 2012-03-28 18:49:53.494759214 +0200
+++ evolution-ews-3.2.2/configure.ac 2012-03-28 18:50:22.138757759 +0200
@@ -67,12 +67,7 @@
dnl Compiler Warning Flags
dnl ***********************
AS_COMPILER_FLAGS(WARNING_FLAGS,
- "-DG_DISABLE_DEPRECATED
- -DPANGO_DISABLE_DEPRECATED
- -DGDK_DISABLE_DEPRECATED
- -DGDK_PIXBUF_DISABLE_DEPRECATED
- -DGNOME_DISABLE_DEPRECATED
- -DGSEAL_ENABLE
+ "-DGSEAL_ENABLE
-Wall -Wextra
-Wno-missing-field-initializers
-Wno-sign-compare
@@ -83,7 +78,7 @@
-Wformat-nonliteral -Wformat-security -Winit-self
-Wmissing-declarations -Wmissing-include-dirs
-Wmissing-noreturn -Wnested-externs -Wpointer-arith
- -Wundef -Wwrite-strings -Werror")
+ -Wundef -Wwrite-strings")
AC_SUBST(WARNING_FLAGS)
dnl Other useful compiler warnings for test builds only.
From 428f9d0ccb7e905fbd63b204a0e4244ed09597ec Mon Sep 17 00:00:00 2001
From: Punit Jain <jpunit@suse.com>
Date: Mon, 26 Mar 2012 18:49:21 +0530
Subject: Bug #659717 free busy not working
Index: evolution-ews-3.4.4/src/calendar/e-cal-backend-ews-utils.c
===================================================================
--- evolution-ews-3.4.4.orig/src/calendar/e-cal-backend-ews-utils.c 2012-08-12 23:30:47.000000000 +0200
+++ evolution-ews-3.4.4/src/calendar/e-cal-backend-ews-utils.c 2014-04-11 15:21:40.588569198 +0200
@@ -400,6 +400,27 @@
}
static void
+ewscal_add_availability_default_timechange (ESoapMessage *msg)
+{
+
+ e_soap_message_start_element(msg, "StandardTime", NULL, NULL);
+ e_ews_message_write_string_parameter(msg, "Bias", NULL, "0");
+ e_ews_message_write_string_parameter(msg, "Time", NULL, "00:00:00");
+ e_ews_message_write_string_parameter(msg, "DayOrder", NULL, "0");
+ e_ews_message_write_string_parameter(msg, "Month", NULL, "0");
+ e_ews_message_write_string_parameter(msg, "DayOfWeek", NULL, "Sunday");
+ e_soap_message_end_element (msg);
+
+ e_soap_message_start_element(msg, "DaylightTime", NULL, NULL);
+ e_ews_message_write_string_parameter(msg, "Bias", NULL, "0");
+ e_ews_message_write_string_parameter(msg, "Time", NULL, "00:00:00");
+ e_ews_message_write_string_parameter(msg, "DayOrder", NULL, "0");
+ e_ews_message_write_string_parameter(msg, "Month", NULL, "0");
+ e_ews_message_write_string_parameter(msg, "DayOfWeek", NULL, "Sunday");
+ e_soap_message_end_element (msg);
+}
+
+static void
ewscal_add_availability_timechange (ESoapMessage *msg,
icalcomponent *comp,
gint baseoffs)
@@ -448,16 +469,16 @@
xstd = icalcomponent_get_first_component (comp, ICAL_XSTANDARD_COMPONENT);
xdaylight = icalcomponent_get_first_component (comp, ICAL_XDAYLIGHT_COMPONENT);
- /* Should never happen. Exchange will bail out */
- if (!xstd || !xdaylight)
- return;
-
+ /*TimeZone is the root element of GetUserAvailabilityRequest*/
e_soap_message_start_element(msg, "TimeZone", NULL, NULL);
/* Fetch the timezone offsets for the standard (or only) zone.
* Negate it, because Exchange does it backwards */
- prop = icalcomponent_get_first_property (xstd, ICAL_TZOFFSETTO_PROPERTY);
- std_utcoffs = -icalproperty_get_tzoffsetto (prop) / 60;
+ if (xstd) {
+ prop = icalcomponent_get_first_property(xstd, ICAL_TZOFFSETTO_PROPERTY);
+ std_utcoffs = -icalproperty_get_tzoffsetto(prop)/60;
+ } else
+ std_utcoffs = 0;
/* This is the overall BaseOffset tag, which the Standard and Daylight
* zones are offset from. It's redundant, but Exchange always sets it
@@ -477,7 +498,10 @@
e_soap_message_start_element(msg, "DaylightTime", NULL, NULL);
ewscal_add_availability_timechange (msg, xdaylight, std_utcoffs);
e_soap_message_end_element(msg); /* "DaylightTime" */
- }
+ } else
+ /* Set default values*/
+ ewscal_add_availability_default_timechange (msg);
+
e_soap_message_end_element(msg); /* "TimeZone" */
}
Index: evolution-ews-3.4.4/src/server/e-ews-connection.c
===================================================================
--- evolution-ews-3.4.4.orig/src/server/e-ews-connection.c 2012-08-12 23:30:47.000000000 +0200
+++ evolution-ews-3.4.4/src/server/e-ews-connection.c 2014-04-11 15:21:40.588569198 +0200
@@ -32,6 +32,7 @@
#include <glib/gstdio.h>
#include <libical/icalcomponent.h>
#include <libical/icalproperty.h>
+#include <libical/ical.h>
#include "e-ews-connection.h"
#include <libedataserver/e-flag.h>
#include "e-ews-message.h"
@@ -4990,7 +4991,7 @@
ESoapParameter *viewparam, *eventarray, *event_param, *subparam;
GTimeVal t_val;
const gchar *name;
- gchar *value;
+ gchar *value, *new_val = NULL;
EwsAsyncData *async_data = g_simple_async_result_get_op_res_gpointer (enode->simple);
/* stop on errors */
@@ -5007,17 +5008,41 @@
if (!g_ascii_strcasecmp (name, "StartTime")) {
value = e_soap_parameter_get_string_value (subparam);
- g_time_val_from_iso8601 (value, &t_val);
- g_free (value);
+ /*We are sending UTC timezone and expect server to return in same*/
+
+ /*Remove leading and trailing whitespace*/
+ g_strstrip (value);
+
+ if (g_utf8_strlen (value, -1) == 19) {
+ /*If server returns time without zone add Z to treat it in UTC*/
+ new_val = g_strdup_printf ("%sZ", value);
+ g_free (value);
+ } else
+ new_val = value;
+
+ g_time_val_from_iso8601 (new_val, &t_val);
+ g_free (new_val);
- ipt.start = icaltime_from_timet (t_val.tv_sec, 0);
+ ipt.start = icaltime_from_timet_with_zone (t_val.tv_sec, 0, NULL);
} else if (!g_ascii_strcasecmp (name, "EndTime")) {
value = e_soap_parameter_get_string_value (subparam);
- g_time_val_from_iso8601 (value, &t_val);
- g_free (value);
+ /*We are sending UTC timezone and expect server to return in same*/
+
+ /*Remove leading and trailing whitespace*/
+ g_strstrip (value);
+
+ if (g_utf8_strlen (value, -1) == 19) {
+ /*If server returns time without zone add Z to treat it in UTC*/
+ new_val = g_strdup_printf ("%sZ", value);
+ g_free (value);
+ } else
+ new_val = value;
+
+ g_time_val_from_iso8601 (new_val, &t_val);
+ g_free (new_val);
- ipt.end = icaltime_from_timet (t_val.tv_sec, 0);
+ ipt.end = icaltime_from_timet_with_zone (t_val.tv_sec, 0, NULL);
icalprop = icalproperty_new_freebusy (ipt);
} else if (!g_ascii_strcasecmp (name, "BusyType")) {
Author: Jordi Mallach <jordi@debian.org>
Description: Do not include individual glib-2.0 headers.
This is deprecated in GLib 3.32; instead, use glib.h directly.
Index: evolution-ews-3.2.2/src/calendar/e-cal-backend-ews.c
===================================================================
--- evolution-ews-3.2.2.orig/src/calendar/e-cal-backend-ews.c 2011-10-20 12:28:55.000000000 +0200
+++ evolution-ews-3.2.2/src/calendar/e-cal-backend-ews.c 2012-03-28 19:32:34.750628510 +0200
@@ -40,8 +40,7 @@
#include <libical/icalcomponent.h>
#include <libical/icalproperty.h>
#include <libical/icalparameter.h>
-#include <glib-2.0/glib/gerror.h>
-#include <glib-2.0/glib/glist.h>
+#include <glib.h>
#include <camel/camel.h>
#include <ews-camel-common.h>
#include <libedataserver/eds-version.h>
From e3da26f7280ed057f0a0d3f9296a3c488e842f87 Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Thu, 01 Dec 2011 09:52:17 +0000
Subject: Bug #665229 - Blocks creation of a None receiving account
---
diff --git a/src/account-setup-eplugin/exchange-ews-account-setup.c b/src/account-setup-eplugin/exchange-ews-account-setup.c
index 8f48014..e542e39 100644
--- a/src/account-setup-eplugin/exchange-ews-account-setup.c
+++ b/src/account-setup-eplugin/exchange-ews-account-setup.c
@@ -309,7 +309,7 @@ org_gnome_exchange_ews_check_options(EPlugin *epl, EConfigHookPageCheckData *dat
url = camel_url_new (e_account_get_string(get_modified_account (target), E_ACCOUNT_SOURCE_URL), NULL);
- if (url && url->protocol && g_ascii_strcasecmp (url->protocol, "ews") != 0)
+ if (!url || !url->protocol || g_ascii_strcasecmp (url->protocol, "ews") != 0)
goto exit;
/* FIXME pageid is not set while editing an account */
--
cgit v0.9.0.2
From 2c13d08fb88a68261c7b2a8b38d5c1004d70c09b Mon Sep 17 00:00:00 2001
From: David Woodhouse <David.Woodhouse@intel.com>
Date: Fri, 02 Dec 2011 13:00:56 +0000
Subject: Bug 664637 - Deleted messages appear in Inbox
This is a *partial* fix. We still have a potential bug if we crash at the
wrong time, but at least this stops us from hitting it systematically.
(cherry picked from commit 326e7b4760017dc9dce8a9ace7b0c23db46a479e)
---
diff --git a/src/camel/camel-ews-folder.c b/src/camel/camel-ews-folder.c
index 8da7801..c889556 100644
--- a/src/camel/camel-ews-folder.c
+++ b/src/camel/camel-ews-folder.c
@@ -1124,6 +1124,7 @@ ews_refresh_info_sync (CamelFolder *folder, GCancellable *cancellable, GError **
g_free (((CamelEwsSummary *) folder->summary)->sync_state);
((CamelEwsSummary *) folder->summary)->sync_state = sync_state;
+ camel_folder_summary_touch (folder->summary);
camel_folder_summary_save_to_db (folder->summary, NULL);
} while (!rerror && !includes_last_item);
--
cgit v0.9.0.2
From 9283b0877938bed6a5d88f23405a2ab3a838cba0 Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Thu, 20 Oct 2011 12:46:28 +0000
Subject: Prefill Host URL when creating new account
(cherry picked from commit 5fb55ca5378d25fd39bdcc078b70d1a1bbbee069)
---
diff --git a/src/account-setup-eplugin/exchange-ews-account-setup.c b/src/account-setup-eplugin/exchange-ews-account-setup.c
index e542e39..7a981e6 100644
--- a/src/account-setup-eplugin/exchange-ews-account-setup.c
+++ b/src/account-setup-eplugin/exchange-ews-account-setup.c
@@ -233,6 +233,7 @@ org_gnome_exchange_ews_account_setup (EPlugin *epl, EConfigHookItemFactoryData *
const gchar *host_url_val = camel_url_get_param (url, "hosturl");
const gchar *oab_url_val = camel_url_get_param (url, "oaburl");
const gchar *temp, *email_id;
+ gchar *temp_host_url_val = NULL;
gchar *url_string;
struct _AutoDiscCallBackData *cbdata = g_new0 (struct _AutoDiscCallBackData, 1);
EAccount *account;
@@ -246,8 +247,15 @@ org_gnome_exchange_ews_account_setup (EPlugin *epl, EConfigHookItemFactoryData *
camel_url_set_param (url, "email", email_id);
temp = g_strstr_len (email_id, -1, "@");
/* Don't overwrite the URL if it's already been set */
- if (!url->host || !url->host[0])
- camel_url_set_host (url, g_strdup (temp + 1));
+ if (temp && (!url->host || !url->host[0])) {