Upgrading to GitLab 12.0.2.

Commit 8693486e authored by Dominique Dumont's avatar Dominique Dumont

New upstream version 0.145

parent b2ca3894
1.0 "Asieoniezi" 1.0 "Asieoniezi"
0.145 "Duplicitous mercenary valetism"
7ec8ca1 Do not use front() on empty vector (Jonathan Briggs)
29aad7e Bug 793228 nzb file with empty segment lists crash pan (paul@flinders.org)
27190a5 Bug 793277 Use after free in main() (paul@flinders.org)
* Contributors to this release:
paul@flinders.org, Petr Kovar, Jonathan Briggs
* Updated translations:
da (Joe Hansen)
de (Mario Blättermann)
es (Daniel Mustieles)
hu (Balázs Úr)
pt_BR (Rafael Fontenelle)
sr (Мирослав Николић)
sr@latin (Мирослав Николић)
0.144 "Time is the enemy" 0.144 "Time is the enemy"
28ab3ba Validate pan.appdata.xml.in and tweak cleanfiles (Petr Kovar) 28ab3ba Validate pan.appdata.xml.in and tweak cleanfiles (Petr Kovar)
83e8a01 Remove outdated FSF address (Petr Kovar) 83e8a01 Remove outdated FSF address (Petr Kovar)
......
http://pan.rebelbase.com/download/releases/0.144/ http://pan.rebelbase.com/download/releases/0.145/
has a full list of changes since the previous release. has a full list of changes since the previous release.
On Windows, Pan requires GTK 2.16.0 or higher, which can be found at On Windows, Pan requires GTK 2.16.0 or higher, which can be found at
......
...@@ -444,6 +444,9 @@ AC_DEFUN([AM_GNU_GETTEXT_REQUIRE_VERSION], []) ...@@ -444,6 +444,9 @@ AC_DEFUN([AM_GNU_GETTEXT_REQUIRE_VERSION], [])
# Configure paths for GLIB # Configure paths for GLIB
# Owen Taylor 1997-2001 # Owen Taylor 1997-2001
# Increment this whenever this file is changed.
#serial 1
dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject, dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject,
dnl gthread, or gio is specified in MODULES, pass to pkg-config dnl gthread, or gio is specified in MODULES, pass to pkg-config
...@@ -533,7 +536,7 @@ dnl ...@@ -533,7 +536,7 @@ dnl
#include <stdlib.h> #include <stdlib.h>
int int
main () main (void)
{ {
unsigned int major, minor, micro; unsigned int major, minor, micro;
...@@ -3356,8 +3359,8 @@ check-help: ...@@ -3356,8 +3359,8 @@ check-help:
xmlpath="$$lc:$(srcdir)/$$lc"; \ xmlpath="$$lc:$(srcdir)/$$lc"; \
fi; \ fi; \
for page in $(HELP_FILES); do \ for page in $(HELP_FILES); do \
echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \ echo "$(XMLLINT) --nonet --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
$(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \ $(XMLLINT) --nonet --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
done; \ done; \
done done
......
#! /bin/sh #!/bin/sh
# Wrapper for compilers which do not understand '-c -o'. # Wrapper for compilers which do not understand '-c -o'.
scriptversion=2016-01-11.22; # UTC scriptversion=2016-01-11.22; # UTC
......
#! /bin/sh #!/bin/sh
# Attempt to guess a canonical system name. # Attempt to guess a canonical system name.
# Copyright 1992-2017 Free Software Foundation, Inc. # Copyright 1992-2017 Free Software Foundation, Inc.
......
#! /bin/sh #!/bin/sh
# Configuration validation subroutine script. # Configuration validation subroutine script.
# Copyright 1992-2017 Free Software Foundation, Inc. # Copyright 1992-2017 Free Software Foundation, Inc.
......
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for Pan 0.144. # Generated by GNU Autoconf 2.69 for Pan 0.145.
# #
# Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=Pan>. # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=Pan>.
# #
...@@ -581,8 +581,8 @@ MAKEFLAGS= ...@@ -581,8 +581,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='Pan' PACKAGE_NAME='Pan'
PACKAGE_TARNAME='pan' PACKAGE_TARNAME='pan'
PACKAGE_VERSION='0.144' PACKAGE_VERSION='0.145'
PACKAGE_STRING='Pan 0.144' PACKAGE_STRING='Pan 0.145'
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=Pan' PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=Pan'
PACKAGE_URL='http://pan.rebelbase.com/' PACKAGE_URL='http://pan.rebelbase.com/'
...@@ -1400,7 +1400,7 @@ if test "$ac_init_help" = "long"; then ...@@ -1400,7 +1400,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # 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. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures Pan 0.144 to adapt to many kinds of systems. \`configure' configures Pan 0.145 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
...@@ -1470,7 +1470,7 @@ fi ...@@ -1470,7 +1470,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of Pan 0.144:";; short | recursive ) echo "Configuration of Pan 0.145:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
...@@ -1629,7 +1629,7 @@ fi ...@@ -1629,7 +1629,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
Pan configure 0.144 Pan configure 0.145
generated by GNU Autoconf 2.69 generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
...@@ -2036,7 +2036,7 @@ cat >config.log <<_ACEOF ...@@ -2036,7 +2036,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by Pan $as_me 0.144, which was It was created by Pan $as_me 0.145, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
...@@ -2389,13 +2389,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu ...@@ -2389,13 +2389,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
$as_echo "#define VERSION_MAJOR 0" >>confdefs.h $as_echo "#define VERSION_MAJOR 0" >>confdefs.h
$as_echo "#define VERSION_MINOR 144" >>confdefs.h $as_echo "#define VERSION_MINOR 145" >>confdefs.h
$as_echo "#define VERSION_REVISION 0" >>confdefs.h $as_echo "#define VERSION_REVISION 0" >>confdefs.h
$as_echo "#define VERSION_TITLE \"Time is the enemy\"" >>confdefs.h $as_echo "#define VERSION_TITLE \"Duplicitous mercenary valetism\"" >>confdefs.h
...@@ -2955,7 +2955,7 @@ fi ...@@ -2955,7 +2955,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='pan' PACKAGE='pan'
VERSION='0.144' VERSION='0.145'
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
...@@ -8115,7 +8115,7 @@ else ...@@ -8115,7 +8115,7 @@ else
#include <stdlib.h> #include <stdlib.h>
int int
main () main (void)
{ {
unsigned int major, minor, micro; unsigned int major, minor, micro;
...@@ -8471,7 +8471,7 @@ else ...@@ -8471,7 +8471,7 @@ else
#include <stdlib.h> #include <stdlib.h>
int int
main () main (void)
{ {
unsigned int major, minor, micro; unsigned int major, minor, micro;
...@@ -10224,8 +10224,8 @@ check-help: ...@@ -10224,8 +10224,8 @@ check-help:
xmlpath="$$lc:$(srcdir)/$$lc"; \ xmlpath="$$lc:$(srcdir)/$$lc"; \
fi; \ fi; \
for page in $(HELP_FILES); do \ for page in $(HELP_FILES); do \
echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \ echo "$(XMLLINT) --nonet --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
$(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \ $(XMLLINT) --nonet --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
done; \ done; \
done done
...@@ -11011,7 +11011,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ...@@ -11011,7 +11011,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by Pan $as_me 0.144, which was This file was extended by Pan $as_me 0.145, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
...@@ -11078,7 +11078,7 @@ _ACEOF ...@@ -11078,7 +11078,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\ ac_cs_version="\\
Pan config.status 0.144 Pan config.status 0.145
configured by $0, generated by GNU Autoconf 2.69, configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"
......
AC_INIT([Pan],[0.144],[https://bugzilla.gnome.org/enter_bug.cgi?product=Pan],[pan],[http://pan.rebelbase.com/]) AC_INIT([Pan],[0.145],[https://bugzilla.gnome.org/enter_bug.cgi?product=Pan],[pan],[http://pan.rebelbase.com/])
AC_DEFINE(VERSION_MAJOR,0,[Major part of version number]) AC_DEFINE(VERSION_MAJOR,0,[Major part of version number])
AC_DEFINE(VERSION_MINOR,144,[Minor part of version number]) AC_DEFINE(VERSION_MINOR,145,[Minor part of version number])
AC_DEFINE(VERSION_REVISION,0,[Revision part of version number]) AC_DEFINE(VERSION_REVISION,0,[Revision part of version number])
AC_DEFINE(VERSION_TITLE,["Time is the enemy"],[Release Name]) AC_DEFINE(VERSION_TITLE,["Duplicitous mercenary valetism"],[Release Name])
AC_PREREQ([2.64]) AC_PREREQ([2.64])
dnl Get git info for pan-git.version dnl Get git info for pan-git.version
......
#! /bin/sh #!/bin/sh
# depcomp - compile a program generating dependencies as side-effects # depcomp - compile a program generating dependencies as side-effects
scriptversion=2016-01-11.22; # UTC scriptversion=2016-01-11.22; # UTC
......
#! /bin/sh #!/bin/sh
# Common wrapper for a few potentially missing GNU programs. # Common wrapper for a few potentially missing GNU programs.
scriptversion=2016-01-11.22; # UTC scriptversion=2016-01-11.22; # UTC
......
28ab3ba git.gnome.org/pan2 d7e168a git.gnome.org/pan2
...@@ -36,7 +36,9 @@ RulesFilter :: finalize (Data& data) ...@@ -36,7 +36,9 @@ RulesFilter :: finalize (Data& data)
_delete.clear(); _delete.clear();
const std::vector<const Article*> tmp (_mark_read.begin(), _mark_read.end()); const std::vector<const Article*> tmp (_mark_read.begin(), _mark_read.end());
data.mark_read ((const Article**)&tmp.front(), tmp.size()); if (!tmp.empty()) {
data.mark_read ((const Article**)&tmp.front(), tmp.size());
}
_mark_read.clear(); _mark_read.clear();
const std::vector<const Article*> tmp2 ( _cached.begin(), _cached.end()); const std::vector<const Article*> tmp2 ( _cached.begin(), _cached.end());
......
...@@ -1152,7 +1152,8 @@ main (int argc, char *argv[]) ...@@ -1152,7 +1152,8 @@ main (int argc, char *argv[])
if (!data.get_servers().empty()) if (!data.get_servers().empty())
{ {
// free secure passwords // free secure passwords
foreach(quarks_t, data.get_servers(), it) quarks_t srv_list = data.get_servers();
foreach(quarks_t, srv_list, it)
{ {
Data::Server* s(data.find_server(*it)); Data::Server* s(data.find_server(*it));
if (s && s->gkr_pw) if (s && s->gkr_pw)
......
...@@ -113,6 +113,8 @@ namespace ...@@ -113,6 +113,8 @@ namespace
gpointer user_data, gpointer user_data,
GError **error UNUSED) GError **error UNUSED)
{ {
static Quark null_mid;
MyContext& mc (*static_cast<MyContext*>(user_data)); MyContext& mc (*static_cast<MyContext*>(user_data));
if (!strcmp (element_name, "file")) { if (!strcmp (element_name, "file")) {
...@@ -123,7 +125,9 @@ namespace ...@@ -123,7 +125,9 @@ namespace
else if (!strcmp (*k,"date")) mc.a.time_posted = strtoul(*v,0,10); else if (!strcmp (*k,"date")) mc.a.time_posted = strtoul(*v,0,10);
} }
} }
else if (!strcmp (element_name, "segments")) {
mc.parts.init (null_mid);
}
else if (!strcmp (element_name, "segment")) { else if (!strcmp (element_name, "segment")) {
mc.bytes = 0; mc.bytes = 0;
mc.number = 0; mc.number = 0;
......
No preview for this file type
This diff is collapsed.
No preview for this file type
This diff is collapsed.
No preview for this file type
This diff is collapsed.
No preview for this file type
This diff is collapsed.
No preview for this file type
This diff is collapsed.
No preview for this file type
This diff is collapsed.
No preview for this file type
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment