Hello community, here is the log from the commit of package evolution-ews for openSUSE:Factory checked in at 2015-04-23 08:03:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/evolution-ews (Old) and /work/SRC/openSUSE:Factory/.evolution-ews.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evolution-ews" Changes: -------- --- /work/SRC/openSUSE:Factory/evolution-ews/evolution-ews.changes 2015-03-30 19:27:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.evolution-ews.new/evolution-ews.changes 2015-04-23 08:03:05.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Apr 13 15:12:07 UTC 2015 - [email protected] + +- Update to version 3.16.1: + + Query auth methods right from the got-headers signal. + + notification: Try to re-subscribe in case of failure. + + Bugs fixed: bgo#746513, bgo#709924, bgo#747500. + +------------------------------------------------------------------- Old: ---- evolution-ews-3.16.0.tar.xz New: ---- evolution-ews-3.16.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ evolution-ews.spec ++++++ --- /var/tmp/diff_new_pack.24A82R/_old 2015-04-23 08:03:06.000000000 +0200 +++ /var/tmp/diff_new_pack.24A82R/_new 2015-04-23 08:03:06.000000000 +0200 @@ -19,7 +19,7 @@ Name: evolution-ews # This should be updated upon major version changes; it should match BASE_VERSION as defined in configure.in. %define evolution_base_version 3.16 -Version: 3.16.0 +Version: 3.16.1 Release: 0 Summary: Exchange Connector for Evolution, compatible with Exchange 2007 and later License: LGPL-2.1 ++++++ evolution-ews-3.16.0.tar.xz -> evolution-ews-3.16.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/Makefile.in new/evolution-ews-3.16.1/Makefile.in --- old/evolution-ews-3.16.0/Makefile.in 2015-03-23 08:24:20.000000000 +0100 +++ new/evolution-ews-3.16.1/Makefile.in 2015-04-13 09:08:14.000000000 +0200 @@ -273,6 +273,7 @@ EVO_REQUIRED = @EVO_REQUIRED@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/NEWS new/evolution-ews-3.16.1/NEWS --- old/evolution-ews-3.16.0/NEWS 2015-03-23 08:23:30.000000000 +0100 +++ new/evolution-ews-3.16.1/NEWS 2015-04-13 09:07:37.000000000 +0200 @@ -1,3 +1,15 @@ +Evolution-EWS 3.16.1 2015-04-13 +------------------------------- + +Bug Fixes: + Bug 746513 - Constant stream of invalid requests for subscription events (Fabiano Fidêncio) + Bug 709924 - Cannot turn off offline GAL once selected (Milan Crha) + Bug 747500 - Mail account connection settings change requires restart (Milan Crha) + +Miscellaneous: + Query auth methods right from the got-headers signal (Milan Crha) + notification: Try to re-subscribe in case of failure (Fabiano Fidêncio) + Evolution-EWS 3.16.0 2015-03-23 ------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/aclocal.m4 new/evolution-ews-3.16.1/aclocal.m4 --- old/evolution-ews-3.16.0/aclocal.m4 2015-03-23 08:24:18.000000000 +0100 +++ new/evolution-ews-3.16.1/aclocal.m4 2015-04-13 09:08:12.000000000 +0200 @@ -20,6 +20,10 @@ If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) +# =========================================================================== +# http://www.gnu.org/software/autoconf-archive/ax_code_coverage.html +# =========================================================================== +# # SYNOPSIS # # AX_CODE_COVERAGE() @@ -35,47 +39,87 @@ # corresponds to the value of the --enable-code-coverage option, which # defaults to being disabled. # +# Test also for gcov program and create GCOV variable that could be +# substituted. +# # Note that all optimisation flags in CFLAGS must be disabled when code # coverage is enabled. # # Usage example: +# # configure.ac: -# AX_CODE_COVERAGE +# +# AX_CODE_COVERAGE # # Makefile.am: -# @CODE_COVERAGE_RULES@ -# my_program_LIBS = … $(CODE_COVERAGE_LDFLAGS) … -# my_program_CFLAGS = … $(CODE_COVERAGE_CFLAGS) … -# -# This results in a “check-code-coverage” rule being added to any Makefile.am -# which includes “@CODE_COVERAGE_RULES@” (assuming the module has been -# configured with --enable-code-coverage). Running `make check-code-coverage` -# in that directory will run the module’s test suite (`make check`) and build -# a code coverage report detailing the code which was touched, then print the -# URI for the report. +# +# @CODE_COVERAGE_RULES@ +# my_program_LIBS = ... $(CODE_COVERAGE_LDFLAGS) ... +# my_program_CFLAGS = ... $(CODE_COVERAGE_CFLAGS) ... +# +# This results in a "check-code-coverage" rule being added to any +# Makefile.am which includes "@CODE_COVERAGE_RULES@" (assuming the module +# has been configured with --enable-code-coverage). Running `make +# check-code-coverage` in that directory will run the module's test suite +# (`make check`) and build a code coverage report detailing the code which +# was touched, then print the URI for the report. +# +# This code was derived from Makefile.decl in GLib, originally licenced +# under LGPLv2.1+. # # LICENSE # -# Copyright © 2012, 2014 Philip Withnall -# Copyright © 2012 Xan Lopez -# Copyright © 2012 Christian Persch -# Copyright © 2012 Paolo Borelli -# Copyright © 2012 Dan Winship +# Copyright (c) 2012 Philip Withnall +# Copyright (c) 2012 Xan Lopez +# Copyright (c) 2012 Christian Persch +# Copyright (c) 2012 Paolo Borelli +# Copyright (c) 2012 Dan Winship +# Copyright (c) 2015 Bastien ROUCARIES +# +# This library is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or (at +# your option) any later version. +# +# This library 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 Lesser +# General Public License for more details. # -# Derived from Makefile.decl in GLib, originally licenced under LGPLv2.1+. -# This file is licenced under LGPLv2.1+. +# You should have received a copy of the GNU Lesser General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. -#serial 1 +#serial 5 AC_DEFUN([AX_CODE_COVERAGE],[ dnl Check for --enable-code-coverage + AC_REQUIRE([AC_PROG_SED]) + + # allow to override gcov location + AC_ARG_WITH([gcov], + [AS_HELP_STRING([--with-gcov[=GCOV]], [use given GCOV for coverage (GCOV=gcov).])], + [_AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov], + [_AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov]) + AC_MSG_CHECKING([whether to build with code coverage support]) - AC_ARG_ENABLE([code-coverage], AS_HELP_STRING([--enable-code-coverage], [Whether to enable code coverage support]),, enable_code_coverage=no) + AC_ARG_ENABLE([code-coverage], + AS_HELP_STRING([--enable-code-coverage], + [Whether to enable code coverage support]),, + enable_code_coverage=no) + AM_CONDITIONAL([CODE_COVERAGE_ENABLED], [test x$enable_code_coverage = xyes]) AC_SUBST([CODE_COVERAGE_ENABLED], [$enable_code_coverage]) AC_MSG_RESULT($enable_code_coverage) AS_IF([ test "$enable_code_coverage" = "yes" ], [ + # check for gcov + AC_CHECK_TOOL([GCOV], + [$_AX_CODE_COVERAGE_GCOV_PROG_WITH], + [:]) + AS_IF([test "X$GCOV" = "X:"], + [AC_MSG_ERROR([gcov is needed to do coverage])]) + AC_SUBST([GCOV]) + dnl Check if gcc is being used AS_IF([ test "$GCC" = "no" ], [ AC_MSG_ERROR([not compiling with gcc, which is required for gcov code coverage]) @@ -134,8 +178,11 @@ # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage # reports to be created. (Default: # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage) +# - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov +# - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the lcov instance. +# (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) # - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the lcov instance. -# (Default: empty) +# (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) # - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml # instance. (Default: empty) # - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore @@ -148,7 +195,9 @@ CODE_COVERAGE_DIRECTORY ?= $(top_builddir) CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage -CODE_COVERAGE_LCOV_OPTIONS ?= +CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" +CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) +CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) CODE_COVERAGE_GENHTML_OPTIONS ?= CODE_COVERAGE_IGNORE_PATTERN ?= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/configure new/evolution-ews-3.16.1/configure --- old/evolution-ews-3.16.0/configure 2015-03-23 08:24:19.000000000 +0100 +++ new/evolution-ews-3.16.1/configure 2015-04-13 09:08:13.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for evolution-ews 3.16.0. +# Generated by GNU Autoconf 2.69 for evolution-ews 3.16.1. # # Report bugs to <http://bugzilla.gnome.org/browse.cgi?product=evolution-ews>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='evolution-ews' PACKAGE_TARNAME='evolution-ews' -PACKAGE_VERSION='3.16.0' -PACKAGE_STRING='evolution-ews 3.16.0' +PACKAGE_VERSION='3.16.1' +PACKAGE_STRING='evolution-ews 3.16.1' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/browse.cgi?product=evolution-ews' PACKAGE_URL='' @@ -716,6 +716,7 @@ CODE_COVERAGE_CFLAGS GENHTML LCOV +GCOV CODE_COVERAGE_ENABLED CODE_COVERAGE_ENABLED_FALSE CODE_COVERAGE_ENABLED_TRUE @@ -915,6 +916,7 @@ enable_strict enable_nls enable_glibtest +with_gcov enable_code_coverage with_internal_lzx enable_tests @@ -1513,7 +1515,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures evolution-ews 3.16.0 to adapt to many kinds of systems. +\`configure' configures evolution-ews 3.16.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1583,7 +1585,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of evolution-ews 3.16.0:";; + short | recursive ) echo "Configuration of evolution-ews 3.16.1:";; esac cat <<\_ACEOF @@ -1625,6 +1627,7 @@ --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot=DIR Search for dependent libraries within DIR (or the compiler's sysroot if not specified). + --with-gcov=GCOV use given GCOV for coverage (GCOV=gcov). --with-internal-lzx Use internal LZX decompressor instead of libmspack [default=no] --with-html-dir=PATH path to installed docs @@ -1783,7 +1786,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -evolution-ews configure 3.16.0 +evolution-ews configure 3.16.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2152,7 +2155,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by evolution-ews $as_me 3.16.0, which was +It was created by evolution-ews $as_me 3.16.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3015,7 +3018,7 @@ # Define the identity of the package. PACKAGE='evolution-ews' - VERSION='3.16.0' + VERSION='3.16.1' cat >>confdefs.h <<_ACEOF @@ -3253,11 +3256,11 @@ # precisely one minor behind [ews_version], then allow building against *that* # version of EDS and Evo. read x NEWSVER y < NEWS -PREVVER=3.16.$(expr 0 - 1) +PREVVER=3.16.$(expr 1 - 1) if test "$PREVVER" = "$NEWSVER"; then EVOREQVER=$PREVVER else - EVOREQVER=3.16.0 + EVOREQVER=3.16.1 fi @@ -14402,7 +14405,19 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5 + + + # allow to override gcov location + +# Check whether --with-gcov was given. +if test "${with_gcov+set}" = set; then : + withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov +else + _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5 $as_echo_n "checking whether to build with code coverage support... " >&6; } # Check whether --enable-code-coverage was given. if test "${enable_code_coverage+set}" = set; then : @@ -14411,6 +14426,7 @@ enable_code_coverage=no fi + if test x$enable_code_coverage = xyes; then CODE_COVERAGE_ENABLED_TRUE= CODE_COVERAGE_ENABLED_FALSE='#' @@ -14426,6 +14442,104 @@ if test "$enable_code_coverage" = "yes" ; then : + # check for gcov + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. +set dummy ${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_GCOV+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$GCOV"; then + ac_cv_prog_GCOV="$GCOV" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_GCOV="${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +GCOV=$ac_cv_prog_GCOV +if test -n "$GCOV"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5 +$as_echo "$GCOV" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_GCOV"; then + ac_ct_GCOV=$GCOV + # Extract the first word of "$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. +set dummy $_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_GCOV+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_GCOV"; then + ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_GCOV="$_AX_CODE_COVERAGE_GCOV_PROG_WITH" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV +if test -n "$ac_ct_GCOV"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5 +$as_echo "$ac_ct_GCOV" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_GCOV" = x; then + GCOV=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + GCOV=$ac_ct_GCOV + fi +else + GCOV="$ac_cv_prog_GCOV" +fi + + if test "X$GCOV" = "X:"; then : + as_fn_error $? "gcov is needed to do coverage" "$LINENO" 5 +fi + + if test "$GCC" = "no" ; then : as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5 @@ -14571,8 +14685,11 @@ # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage # reports to be created. (Default: # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage) +# - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov +# - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the lcov instance. +# (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) # - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the lcov instance. -# (Default: empty) +# (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) # - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml # instance. (Default: empty) # - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore @@ -14585,7 +14702,9 @@ CODE_COVERAGE_DIRECTORY ?= $(top_builddir) CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage -CODE_COVERAGE_LCOV_OPTIONS ?= +CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" +CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) +CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) CODE_COVERAGE_GENHTML_OPTIONS ?= CODE_COVERAGE_IGNORE_PATTERN ?= @@ -17344,7 +17463,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by evolution-ews $as_me 3.16.0, which was +This file was extended by evolution-ews $as_me 3.16.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17410,7 +17529,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -evolution-ews config.status 3.16.0 +evolution-ews config.status 3.16.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/configure.ac new/evolution-ews-3.16.1/configure.ac --- old/evolution-ews-3.16.0/configure.ac 2015-03-16 11:22:09.000000000 +0100 +++ new/evolution-ews-3.16.1/configure.ac 2015-03-23 08:33:25.000000000 +0100 @@ -1,7 +1,7 @@ dnl Evolution-EWS version m4_define([ews_major_version], [3]) m4_define([ews_minor_version], [16]) -m4_define([ews_micro_version], [0]) +m4_define([ews_micro_version], [1]) m4_define([ews_version], [ews_major_version.ews_minor_version.ews_micro_version]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/src/Makefile.in new/evolution-ews-3.16.1/src/Makefile.in --- old/evolution-ews-3.16.0/src/Makefile.in 2015-03-23 08:24:20.000000000 +0100 +++ new/evolution-ews-3.16.1/src/Makefile.in 2015-04-13 09:08:14.000000000 +0200 @@ -219,6 +219,7 @@ EVO_REQUIRED = @EVO_REQUIRED@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/src/addressbook/Makefile.in new/evolution-ews-3.16.1/src/addressbook/Makefile.in --- old/evolution-ews-3.16.0/src/addressbook/Makefile.in 2015-03-23 08:24:20.000000000 +0100 +++ new/evolution-ews-3.16.1/src/addressbook/Makefile.in 2015-04-13 09:08:14.000000000 +0200 @@ -291,6 +291,7 @@ EVO_REQUIRED = @EVO_REQUIRED@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/src/addressbook/e-book-backend-ews.c new/evolution-ews-3.16.1/src/addressbook/e-book-backend-ews.c --- old/evolution-ews-3.16.0/src/addressbook/e-book-backend-ews.c 2015-03-02 17:09:53.000000000 +0100 +++ new/evolution-ews-3.16.1/src/addressbook/e-book-backend-ews.c 2015-04-09 16:34:29.000000000 +0200 @@ -3158,7 +3158,7 @@ if (!priv->is_gal) succeeded = ebews_start_sync (ebews); - else if (priv->summary) + else if (priv->summary && priv->marked_for_offline) succeeded = ebews_start_gal_sync (ebews); g_mutex_lock (&priv->dlock->mutex); @@ -3487,17 +3487,12 @@ priv->marked_for_offline = FALSE; priv->is_writable = FALSE; - if (!priv->is_gal) { - extension_name = E_SOURCE_EXTENSION_OFFLINE; - extension = e_source_get_extension (source, extension_name); - - priv->marked_for_offline = - e_source_offline_get_stay_synchronized ( - E_SOURCE_OFFLINE (extension)); - - /* If folder_id is present it means the GAL is marked for - * offline usage, we do not check for offline_sync property */ - } else if (priv->folder_id != NULL) { + extension_name = E_SOURCE_EXTENSION_OFFLINE; + extension = e_source_get_extension (source, extension_name); + + priv->marked_for_offline = e_source_offline_get_stay_synchronized (E_SOURCE_OFFLINE (extension)); + + if (priv->is_gal) { priv->folder_name = g_strdup (display_name); priv->oab_url = camel_ews_settings_dup_oaburl (settings); @@ -3506,7 +3501,7 @@ cache_dir, "attachments", NULL); g_mkdir_with_parents (priv->attachment_dir, 0777); - priv->marked_for_offline = TRUE; + priv->marked_for_offline = camel_ews_settings_get_oab_offline (settings); } return TRUE; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/src/calendar/Makefile.in new/evolution-ews-3.16.1/src/calendar/Makefile.in --- old/evolution-ews-3.16.0/src/calendar/Makefile.in 2015-03-23 08:24:20.000000000 +0100 +++ new/evolution-ews-3.16.1/src/calendar/Makefile.in 2015-04-13 09:08:15.000000000 +0200 @@ -255,6 +255,7 @@ EVO_REQUIRED = @EVO_REQUIRED@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/src/camel/Makefile.in new/evolution-ews-3.16.1/src/camel/Makefile.in --- old/evolution-ews-3.16.0/src/camel/Makefile.in 2015-03-23 08:24:20.000000000 +0100 +++ new/evolution-ews-3.16.1/src/camel/Makefile.in 2015-04-13 09:08:15.000000000 +0200 @@ -278,6 +278,7 @@ EVO_REQUIRED = @EVO_REQUIRED@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/src/camel/camel-ews-store.c new/evolution-ews-3.16.1/src/camel/camel-ews-store.c --- old/evolution-ews-3.16.0/src/camel/camel-ews-store.c 2015-02-24 09:26:34.000000000 +0100 +++ new/evolution-ews-3.16.1/src/camel/camel-ews-store.c 2015-04-10 07:22:21.000000000 +0200 @@ -1160,6 +1160,10 @@ gchar *auth_mech; gboolean success; + /* Chain up to parent's method. */ + if (!CAMEL_SERVICE_CLASS (camel_ews_store_parent_class)->connect_sync (service, cancellable, error)) + return FALSE; + ews_store = CAMEL_EWS_STORE (service); priv = ews_store->priv; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/src/camel/camel-ews-transport.c new/evolution-ews-3.16.1/src/camel/camel-ews-transport.c --- old/evolution-ews-3.16.0/src/camel/camel-ews-transport.c 2013-12-13 22:58:22.000000000 +0100 +++ new/evolution-ews-3.16.1/src/camel/camel-ews-transport.c 2015-04-10 07:22:21.000000000 +0200 @@ -47,6 +47,10 @@ GCancellable *cancellable, GError **error) { + /* Chain up to parent's method. */ + if (!CAMEL_SERVICE_CLASS (camel_ews_transport_parent_class)->connect_sync (service, cancellable, error)) + return FALSE; + return TRUE; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/src/collection/Makefile.in new/evolution-ews-3.16.1/src/collection/Makefile.in --- old/evolution-ews-3.16.0/src/collection/Makefile.in 2015-03-23 08:24:20.000000000 +0100 +++ new/evolution-ews-3.16.1/src/collection/Makefile.in 2015-04-13 09:08:15.000000000 +0200 @@ -251,6 +251,7 @@ EVO_REQUIRED = @EVO_REQUIRED@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/src/configuration/Makefile.in new/evolution-ews-3.16.1/src/configuration/Makefile.in --- old/evolution-ews-3.16.0/src/configuration/Makefile.in 2015-03-23 08:24:20.000000000 +0100 +++ new/evolution-ews-3.16.1/src/configuration/Makefile.in 2015-04-13 09:08:15.000000000 +0200 @@ -269,6 +269,7 @@ EVO_REQUIRED = @EVO_REQUIRED@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/src/server/Makefile.in new/evolution-ews-3.16.1/src/server/Makefile.in --- old/evolution-ews-3.16.0/src/server/Makefile.in 2015-03-23 08:24:20.000000000 +0100 +++ new/evolution-ews-3.16.1/src/server/Makefile.in 2015-04-13 09:08:15.000000000 +0200 @@ -263,6 +263,7 @@ EVO_REQUIRED = @EVO_REQUIRED@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/src/server/e-ews-connection.c new/evolution-ews-3.16.1/src/server/e-ews-connection.c --- old/evolution-ews-3.16.0/src/server/e-ews-connection.c 2015-03-13 14:34:14.000000000 +0100 +++ new/evolution-ews-3.16.1/src/server/e-ews-connection.c 2015-03-31 10:38:53.000000000 +0200 @@ -9217,7 +9217,7 @@ g_simple_async_result_set_op_res_gpointer ( simple, async_data, (GDestroyNotify) async_data_free); - soup_message_add_header_handler (SOUP_MESSAGE (msg), "got_body", "WWW-Authenticate", + soup_message_add_header_handler (SOUP_MESSAGE (msg), "got-headers", "WWW-Authenticate", G_CALLBACK (ews_connection_gather_auth_methods_cb), simple); e_ews_connection_queue_request ( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/src/server/e-ews-notification.c new/evolution-ews-3.16.1/src/server/e-ews-notification.c --- old/evolution-ews-3.16.0/src/server/e-ews-notification.c 2015-03-02 16:13:35.000000000 +0100 +++ new/evolution-ews-3.16.1/src/server/e-ews-notification.c 2015-04-09 16:34:27.000000000 +0200 @@ -589,7 +589,7 @@ *events = g_slist_reverse (*events); } -static void +static gboolean ews_notification_fire_events_from_response (EEwsNotification *notification, ESoapResponse *response) { @@ -605,7 +605,7 @@ if (error != NULL) { g_warning (G_STRLOC ": %s\n", error->message); g_error_free (error); - return; + return FALSE; } subparam = e_soap_parameter_get_first_child (param); @@ -617,7 +617,7 @@ g_warning (G_STRLOC ": %s\n", error->message); g_error_free (error); g_slist_free_full (events, (GDestroyNotify) e_ews_notification_event_free); - return; + return FALSE; } if (E_EWS_CONNECTION_UTILS_CHECK_ELEMENT (name, "GetStreamingEventsResponseMessage")) { @@ -639,6 +639,8 @@ g_signal_emit_by_name (notification->priv->connection, "server-notification", events); g_slist_free_full (events, (GDestroyNotify) e_ews_notification_event_free); } + + return TRUE; } static void @@ -693,7 +695,12 @@ if (response == NULL) break; - ews_notification_fire_events_from_response (notification, response); + if (!ews_notification_fire_events_from_response (notification, response)) { + soup_session_abort (notification->priv->soup_session); + + g_object_unref (response); + break; + } g_object_unref (response); notification->priv->chunk = g_byte_array_remove_range (notification->priv->chunk, 0, len); @@ -788,8 +795,21 @@ ret = e_ews_notification_get_events_sync ( td->notification, subscription_id); - } while (ret); + if (!ret) { + g_debug ("%s: Failed to get notification events (SubscriptionId: '%s')", G_STRFUNC, subscription_id); + + e_ews_notification_unsubscribe_folder_sync (td->notification, subscription_id); + g_free (subscription_id); + + ret = e_ews_notification_subscribe_folder_sync (td->notification, td->folders, &subscription_id, td->cancellable); + if (ret) { + g_debug ("%s: Re-subscribed to get notifications events (SubscriptionId: '%s')", G_STRFUNC, subscription_id); + } else { + g_debug ("%s: Failed to re-subscribed to get notifications events", G_STRFUNC); + } + } + } while (ret); exit: if (subscription_id != NULL) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/src/utils/Makefile.in new/evolution-ews-3.16.1/src/utils/Makefile.in --- old/evolution-ews-3.16.0/src/utils/Makefile.in 2015-03-23 08:24:20.000000000 +0100 +++ new/evolution-ews-3.16.1/src/utils/Makefile.in 2015-04-13 09:08:15.000000000 +0200 @@ -249,6 +249,7 @@ EVO_REQUIRED = @EVO_REQUIRED@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.16.0/tests/Makefile.in new/evolution-ews-3.16.1/tests/Makefile.in --- old/evolution-ews-3.16.0/tests/Makefile.in 2015-03-23 08:24:21.000000000 +0100 +++ new/evolution-ews-3.16.1/tests/Makefile.in 2015-04-13 09:08:15.000000000 +0200 @@ -219,6 +219,7 @@ EVO_REQUIRED = @EVO_REQUIRED@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@
