openSUSE Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
September 2015
- 1 participants
- 1128 discussions
Hello community,
here is the log from the commit of package drbd for openSUSE:Factory checked in at 2015-09-30 05:52:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/drbd (Old)
and /work/SRC/openSUSE:Factory/.drbd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "drbd"
Changes:
--------
--- /work/SRC/openSUSE:Factory/drbd/drbd.changes 2015-08-21 07:41:53.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.drbd.new/drbd.changes 2015-09-30 05:52:50.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Sep 25 04:52:12 UTC 2015 - nwang(a)suse.com
+
+- BSC#947460, add rcdrbd symlink.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ drbd.spec ++++++
--- /var/tmp/diff_new_pack.Kxm1GF/_old 2015-09-30 05:52:51.000000000 +0200
+++ /var/tmp/diff_new_pack.Kxm1GF/_new 2015-09-30 05:52:51.000000000 +0200
@@ -94,6 +94,8 @@
#mv obj/$flavor/.kernel.config.gz obj/k-config-$kernelrelease.gz
done
+mkdir -p %{buildroot}/%{_sbindir}
+%{__ln_s} -f %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name}
rm -f drbd.conf
%clean
@@ -103,5 +105,6 @@
%defattr(-,root,root)
%doc COPYING
%doc ChangeLog
+%{_sbindir}/rc%{name}
%changelog
1
0
Hello community,
here is the log from the commit of package notepadqq for openSUSE:Factory checked in at 2015-09-30 05:52:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/notepadqq (Old)
and /work/SRC/openSUSE:Factory/.notepadqq.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "notepadqq"
Changes:
--------
--- /work/SRC/openSUSE:Factory/notepadqq/notepadqq.changes 2015-09-11 09:05:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.notepadqq.new/notepadqq.changes 2015-09-30 05:52:46.000000000 +0200
@@ -1,0 +2,7 @@
+Sun Sep 27 15:37:48 UTC 2015 - sor.alexei(a)meowr.ru
+
+- Update to 0.50.4 (changes since 0.50.2):
+ * Fullscreen.
+ * UI fixes.
+
+-------------------------------------------------------------------
Old:
----
notepadqq_0.50.2.orig.tar.bz2
New:
----
notepadqq_0.50.4.orig.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ notepadqq.spec ++++++
--- /var/tmp/diff_new_pack.dIaiXg/_old 2015-09-30 05:52:47.000000000 +0200
+++ /var/tmp/diff_new_pack.dIaiXg/_new 2015-09-30 05:52:47.000000000 +0200
@@ -17,7 +17,7 @@
Name: notepadqq
-Version: 0.50.2
+Version: 0.50.4
Release: 0
Summary: Notepad++-like editor
License: GPL-3.0+
++++++ notepadqq_0.50.2.orig.tar.bz2 -> notepadqq_0.50.4.orig.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/Extensions/installextension.ui new/src/ui/Extensions/installextension.ui
--- old/src/ui/Extensions/installextension.ui 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/Extensions/installextension.ui 2015-09-18 17:16:08.000000000 +0200
@@ -15,7 +15,7 @@
</property>
<property name="windowIcon">
<iconset resource="../resources.qrc">
- <normaloff>:/icons/default/scalable/notepadqq.svg</normaloff>:/icons/default/scalable/notepadqq.svg</iconset>
+ <normaloff>:/icons/notepadqq/scalable/notepadqq.svg</normaloff>:/icons/notepadqq/scalable/notepadqq.svg</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/Search/frmsearchreplace.ui new/src/ui/Search/frmsearchreplace.ui
--- old/src/ui/Search/frmsearchreplace.ui 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/Search/frmsearchreplace.ui 2015-09-18 17:16:08.000000000 +0200
@@ -15,7 +15,7 @@
</property>
<property name="windowIcon">
<iconset resource="../resources.qrc">
- <normaloff>:/icons/default/scalable/notepadqq.svg</normaloff>:/icons/default/scalable/notepadqq.svg</iconset>
+ <normaloff>:/icons/notepadqq/scalable/notepadqq.svg</normaloff>:/icons/notepadqq/scalable/notepadqq.svg</iconset>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout_4">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/frmabout.ui new/src/ui/frmabout.ui
--- old/src/ui/frmabout.ui 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/frmabout.ui 2015-09-18 17:16:08.000000000 +0200
@@ -18,7 +18,7 @@
</property>
<property name="windowIcon">
<iconset>
- <normaloff>:/icons/default/scalable/notepadqq.svg</normaloff>:/icons/default/scalable/notepadqq.svg</iconset>
+ <normaloff>:/icons/notepadqq/scalable/notepadqq.svg</normaloff>:/icons/notepadqq/scalable/notepadqq.svg</iconset>
</property>
<property name="styleSheet">
<string notr="true">QDialog { background-color: rgb(255, 255, 255); }</string>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/frmencodingchooser.ui new/src/ui/frmencodingchooser.ui
--- old/src/ui/frmencodingchooser.ui 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/frmencodingchooser.ui 2015-09-18 17:16:08.000000000 +0200
@@ -18,7 +18,7 @@
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
- <normaloff>:/icons/default/scalable/notepadqq.svg</normaloff>:/icons/default/scalable/notepadqq.svg</iconset>
+ <normaloff>:/icons/notepadqq/scalable/notepadqq.svg</normaloff>:/icons/notepadqq/scalable/notepadqq.svg</iconset>
</property>
<property name="modal">
<bool>true</bool>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/frmindentationmode.ui new/src/ui/frmindentationmode.ui
--- old/src/ui/frmindentationmode.ui 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/frmindentationmode.ui 2015-09-18 17:16:08.000000000 +0200
@@ -15,7 +15,7 @@
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
- <normaloff>:/icons/default/scalable/notepadqq.svg</normaloff>:/icons/default/scalable/notepadqq.svg</iconset>
+ <normaloff>:/icons/notepadqq/scalable/notepadqq.svg</normaloff>:/icons/notepadqq/scalable/notepadqq.svg</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/frmlinenumberchooser.ui new/src/ui/frmlinenumberchooser.ui
--- old/src/ui/frmlinenumberchooser.ui 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/frmlinenumberchooser.ui 2015-09-18 17:16:08.000000000 +0200
@@ -15,7 +15,7 @@
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
- <normaloff>:/icons/default/scalable/notepadqq.svg</normaloff>:/icons/default/scalable/notepadqq.svg</iconset>
+ <normaloff>:/icons/notepadqq/scalable/notepadqq.svg</normaloff>:/icons/notepadqq/scalable/notepadqq.svg</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/frmpreferences.ui new/src/ui/frmpreferences.ui
--- old/src/ui/frmpreferences.ui 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/frmpreferences.ui 2015-09-18 17:16:08.000000000 +0200
@@ -15,7 +15,7 @@
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
- <normaloff>:/icons/default/scalable/notepadqq.svg</normaloff>:/icons/default/scalable/notepadqq.svg</iconset>
+ <normaloff>:/icons/notepadqq/scalable/notepadqq.svg</normaloff>:/icons/notepadqq/scalable/notepadqq.svg</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/iconprovider.cpp new/src/ui/iconprovider.cpp
--- old/src/ui/iconprovider.cpp 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/iconprovider.cpp 2015-09-18 17:16:08.000000000 +0200
@@ -7,9 +7,15 @@
QIcon IconProvider::fromTheme(const QString &name)
{
// FIXME Cache the icons
- QIcon icon = QIcon::fromTheme(name);
- if (icon.isNull()) {
- QString basePath = ":/icons/default/%1/%2.%3";
+
+ if (QIcon::hasThemeIcon(name)) {
+ return QIcon::fromTheme(name);
+
+ } else {
+ // QIcon::setThemeName("notepadqq");
+ QIcon icon;
+
+ QString basePath = ":/icons/notepadqq/%1/%2.%3";
QList<QPair<int, QString>> sizes {
QPair<int, QString>(16, "16x16"),
QPair<int, QString>(64, "64x64"),
@@ -24,7 +30,7 @@
icon.addFile(basePath.arg("scalable").arg(name).arg("svg"),
QSize(512, 512));
- }
- return icon;
+ return icon;
+ }
}
Files old/src/ui/icons/default/128x128/document-save.png and new/src/ui/icons/default/128x128/document-save.png differ
Files old/src/ui/icons/default/16x16/document-close-all.png and new/src/ui/icons/default/16x16/document-close-all.png differ
Files old/src/ui/icons/default/16x16/document-close.png and new/src/ui/icons/default/16x16/document-close.png differ
Files old/src/ui/icons/default/16x16/document-new.png and new/src/ui/icons/default/16x16/document-new.png differ
Files old/src/ui/icons/default/16x16/document-open.png and new/src/ui/icons/default/16x16/document-open.png differ
Files old/src/ui/icons/default/16x16/document-print.png and new/src/ui/icons/default/16x16/document-print.png differ
Files old/src/ui/icons/default/16x16/document-save-all.png and new/src/ui/icons/default/16x16/document-save-all.png differ
Files old/src/ui/icons/default/16x16/document-save-as.png and new/src/ui/icons/default/16x16/document-save-as.png differ
Files old/src/ui/icons/default/16x16/document-save.png and new/src/ui/icons/default/16x16/document-save.png differ
Files old/src/ui/icons/default/16x16/edit-copy.png and new/src/ui/icons/default/16x16/edit-copy.png differ
Files old/src/ui/icons/default/16x16/edit-cut.png and new/src/ui/icons/default/16x16/edit-cut.png differ
Files old/src/ui/icons/default/16x16/edit-find-replace.png and new/src/ui/icons/default/16x16/edit-find-replace.png differ
Files old/src/ui/icons/default/16x16/edit-find.png and new/src/ui/icons/default/16x16/edit-find.png differ
Files old/src/ui/icons/default/16x16/edit-paste.png and new/src/ui/icons/default/16x16/edit-paste.png differ
Files old/src/ui/icons/default/16x16/edit-redo.png and new/src/ui/icons/default/16x16/edit-redo.png differ
Files old/src/ui/icons/default/16x16/edit-undo.png and new/src/ui/icons/default/16x16/edit-undo.png differ
Files old/src/ui/icons/default/16x16/go-next.png and new/src/ui/icons/default/16x16/go-next.png differ
Files old/src/ui/icons/default/16x16/go-previous.png and new/src/ui/icons/default/16x16/go-previous.png differ
Files old/src/ui/icons/default/16x16/media-playback-start.png and new/src/ui/icons/default/16x16/media-playback-start.png differ
Files old/src/ui/icons/default/16x16/media-playback-stop.png and new/src/ui/icons/default/16x16/media-playback-stop.png differ
Files old/src/ui/icons/default/16x16/media-record.png and new/src/ui/icons/default/16x16/media-record.png differ
Files old/src/ui/icons/default/16x16/media-seek-forward.png and new/src/ui/icons/default/16x16/media-seek-forward.png differ
Files old/src/ui/icons/default/16x16/notepadqq-document-saved.png and new/src/ui/icons/default/16x16/notepadqq-document-saved.png differ
Files old/src/ui/icons/default/16x16/notepadqq-document-unsaved.png and new/src/ui/icons/default/16x16/notepadqq-document-unsaved.png differ
Files old/src/ui/icons/default/16x16/preferences-other.png and new/src/ui/icons/default/16x16/preferences-other.png differ
Files old/src/ui/icons/default/16x16/show-special-chars.png and new/src/ui/icons/default/16x16/show-special-chars.png differ
Files old/src/ui/icons/default/16x16/word-wrap.png and new/src/ui/icons/default/16x16/word-wrap.png differ
Files old/src/ui/icons/default/16x16/zoom-in.png and new/src/ui/icons/default/16x16/zoom-in.png differ
Files old/src/ui/icons/default/16x16/zoom-original.png and new/src/ui/icons/default/16x16/zoom-original.png differ
Files old/src/ui/icons/default/16x16/zoom-out.png and new/src/ui/icons/default/16x16/zoom-out.png differ
Files old/src/ui/icons/default/64x64/document-save.png and new/src/ui/icons/default/64x64/document-save.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/icons/default/index.theme new/src/ui/icons/default/index.theme
--- old/src/ui/icons/default/index.theme 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/icons/default/index.theme 1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-[Icon Theme]
-Name=default
-Comment=Default theme for notepadqq
-Inherits=default
-Directories=16x16,64x64,128x128,scalable
-
-[16x16]
-Size=16
-Type=Fixed
-
-[64x64]
-Size=64
-Type=Fixed
-
-[128x128]
-Size=128
-Type=Fixed
-
-[scalable]
-Size=16
-Type=Scalable
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/icons/default/scalable/notepadqq.svg new/src/ui/icons/default/scalable/notepadqq.svg
--- old/src/ui/icons/default/scalable/notepadqq.svg 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/icons/default/scalable/notepadqq.svg 1970-01-01 01:00:00.000000000 +0100
@@ -1,229 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- version="1.1"
- width="720"
- height="720"
- id="svg5107">
- <defs
- id="defs5109">
- <linearGradient
- id="linearGradient2873">
- <stop
- id="stop2875"
- style="stop-color:#939393;stop-opacity:1"
- offset="0" />
- <stop
- id="stop2877"
- style="stop-color:#424242;stop-opacity:1"
- offset="1" />
- </linearGradient>
- <linearGradient
- id="linearGradient5046">
- <stop
- id="stop5048"
- style="stop-color:#ffffff;stop-opacity:1"
- offset="0" />
- <stop
- id="stop5050"
- style="stop-color:#b9dca6;stop-opacity:1"
- offset="1" />
- </linearGradient>
- <linearGradient
- id="linearGradient5004">
- <stop
- id="stop5006"
- style="stop-color:#de9649;stop-opacity:1"
- offset="0" />
- <stop
- id="stop5008"
- style="stop-color:#3d250b;stop-opacity:1"
- offset="1" />
- </linearGradient>
- <linearGradient
- id="linearGradient2974">
- <stop
- id="stop2976"
- style="stop-color:#c1c1c1;stop-opacity:1"
- offset="0" />
- <stop
- id="stop4984"
- style="stop-color:#f3f3f3;stop-opacity:1"
- offset="0.5" />
- <stop
- id="stop2978"
- style="stop-color:#cacaca;stop-opacity:1"
- offset="1" />
- </linearGradient>
- <linearGradient
- id="linearGradient2994">
- <stop
- id="stop2996"
- style="stop-color:#000000;stop-opacity:1"
- offset="0" />
- <stop
- id="stop2998"
- style="stop-color:#c9c9c9;stop-opacity:1"
- offset="1" />
- </linearGradient>
- <linearGradient
- x1="301.65262"
- y1="77.063858"
- x2="302.71622"
- y2="139.44009"
- id="linearGradient3188"
- xlink:href="#linearGradient2873"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.36375344,0,0,0.36375344,128.81743,433.09205)" />
- <linearGradient
- x1="27.939529"
- y1="33.832268"
- x2="511.31018"
- y2="729.57697"
- id="linearGradient3858"
- xlink:href="#linearGradient5046"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(1.0504018,0,0,0.99625498,111.44393,35.819819)" />
- <linearGradient
- id="linearGradient2994-0">
- <stop
- id="stop2996-3"
- style="stop-color:#000000;stop-opacity:1"
- offset="0" />
- <stop
- id="stop2998-2"
- style="stop-color:#c9c9c9;stop-opacity:1"
- offset="1" />
- </linearGradient>
- <linearGradient
- id="linearGradient2974-7">
- <stop
- id="stop2976-6"
- style="stop-color:#c1c1c1;stop-opacity:1"
- offset="0" />
- <stop
- id="stop4984-3"
- style="stop-color:#f3f3f3;stop-opacity:1"
- offset="0.5" />
- <stop
- id="stop2978-3"
- style="stop-color:#cacaca;stop-opacity:1"
- offset="1" />
- </linearGradient>
- <linearGradient
- id="linearGradient5004-5">
- <stop
- id="stop5006-7"
- style="stop-color:#de9649;stop-opacity:1"
- offset="0" />
- <stop
- id="stop5008-3"
- style="stop-color:#3d250b;stop-opacity:1"
- offset="1" />
- </linearGradient>
- <linearGradient
- x1="864.38245"
- y1="299.23441"
- x2="755.96057"
- y2="300.293"
- id="linearGradient4002"
- xlink:href="#linearGradient2994-0"
- gradientUnits="userSpaceOnUse"
- gradientTransform="translate(108,0)" />
- <linearGradient
- x1="863.20966"
- y1="19.610329"
- x2="907.75806"
- y2="19.610329"
- id="linearGradient4004"
- xlink:href="#linearGradient2974-7"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(1.1254521,0,0,0.99881417,-42.628378,62.7602)" />
- <linearGradient
- x1="785.0871"
- y1="502.34323"
- x2="834.98578"
- y2="502.34323"
- id="linearGradient4006"
- xlink:href="#linearGradient5004"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(1.0072156,0,0,0.99994372,138.04096,54.534191)" />
- <linearGradient
- x1="27.939529"
- y1="33.832268"
- x2="511.31018"
- y2="729.57697"
- id="linearGradient4177"
- xlink:href="#linearGradient5046"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(1.0504018,0,0,0.99625498,111.44393,35.819819)" />
- </defs>
- <metadata
- id="metadata5112">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- transform="translate(-35.850169,-55.040829)"
- id="layer1">
- <g
- transform="translate(-2.166406,0)"
- id="g4173">
- <path
- d="m 136.33425,56.531841 0,717.018939 523.36465,0 0,-520.22013 C 594.7881,187.7079 529.8327,122.12662 464.89268,56.531841 z"
- id="rect5275"
- style="fill:url(#linearGradient4177);fill-opacity:1;fill-rule:nonzero;stroke:#89b27f;stroke-width:2.98900008;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- d="m 466.12005,58.659686 0,194.548264 191.47242,0 z"
- id="path3041"
- style="fill:#ffffff;stroke:#89b27f;stroke-width:2.98900008;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- </g>
- <text
- x="215.61278"
- y="485.93359"
- id="text5843"
- xml:space="preserve"
- style="font-size:39.85167694px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#008947;fill-opacity:1;stroke:none;font-family:Sans"><tspan
- x="215.61278"
- y="485.93359"
- id="tspan5845"
- style="font-size:189.29548645px;fill:#008947;fill-opacity:1">nqq</tspan></text>
- <g
- transform="matrix(0.93334857,0.34850867,-0.34850867,0.93334857,-165.29117,-214.04443)"
- id="g3996">
- <path
- d="m 929.40332,36.400459 24.3904,-3.427419 24.66456,3.427419 0,490.183991 -49.05496,0 z"
- id="rect3872"
- style="fill:url(#linearGradient4002);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
- <rect
- width="49.011616"
- height="50.746204"
- x="929.43542"
- y="56.974174"
- id="rect3965"
- style="fill:url(#linearGradient4004);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- d="m 945.7655,587.0368 7.8629,28.32661 9.07258,-28.32661 z"
- id="path3993"
- style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
- <path
- d="m 929.29647,526.77105 16.37579,60.67404 c 0,0 8.82435,2.65462 17.00901,0 l 15.86675,-60.74531 c 0,0 -24.48218,-3.70641 -49.25155,0.0713 z"
- id="path3983"
- style="fill:url(#linearGradient4006);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- </g>
- </g>
-</svg>
Files old/src/ui/icons/notepadqq/128x128/document-save.png and new/src/ui/icons/notepadqq/128x128/document-save.png differ
Files old/src/ui/icons/notepadqq/16x16/document-close-all.png and new/src/ui/icons/notepadqq/16x16/document-close-all.png differ
Files old/src/ui/icons/notepadqq/16x16/document-close.png and new/src/ui/icons/notepadqq/16x16/document-close.png differ
Files old/src/ui/icons/notepadqq/16x16/document-new.png and new/src/ui/icons/notepadqq/16x16/document-new.png differ
Files old/src/ui/icons/notepadqq/16x16/document-open.png and new/src/ui/icons/notepadqq/16x16/document-open.png differ
Files old/src/ui/icons/notepadqq/16x16/document-print.png and new/src/ui/icons/notepadqq/16x16/document-print.png differ
Files old/src/ui/icons/notepadqq/16x16/document-save-all.png and new/src/ui/icons/notepadqq/16x16/document-save-all.png differ
Files old/src/ui/icons/notepadqq/16x16/document-save-as.png and new/src/ui/icons/notepadqq/16x16/document-save-as.png differ
Files old/src/ui/icons/notepadqq/16x16/document-save.png and new/src/ui/icons/notepadqq/16x16/document-save.png differ
Files old/src/ui/icons/notepadqq/16x16/edit-copy.png and new/src/ui/icons/notepadqq/16x16/edit-copy.png differ
Files old/src/ui/icons/notepadqq/16x16/edit-cut.png and new/src/ui/icons/notepadqq/16x16/edit-cut.png differ
Files old/src/ui/icons/notepadqq/16x16/edit-find-replace.png and new/src/ui/icons/notepadqq/16x16/edit-find-replace.png differ
Files old/src/ui/icons/notepadqq/16x16/edit-find.png and new/src/ui/icons/notepadqq/16x16/edit-find.png differ
Files old/src/ui/icons/notepadqq/16x16/edit-paste.png and new/src/ui/icons/notepadqq/16x16/edit-paste.png differ
Files old/src/ui/icons/notepadqq/16x16/edit-redo.png and new/src/ui/icons/notepadqq/16x16/edit-redo.png differ
Files old/src/ui/icons/notepadqq/16x16/edit-undo.png and new/src/ui/icons/notepadqq/16x16/edit-undo.png differ
Files old/src/ui/icons/notepadqq/16x16/go-next.png and new/src/ui/icons/notepadqq/16x16/go-next.png differ
Files old/src/ui/icons/notepadqq/16x16/go-previous.png and new/src/ui/icons/notepadqq/16x16/go-previous.png differ
Files old/src/ui/icons/notepadqq/16x16/media-playback-start.png and new/src/ui/icons/notepadqq/16x16/media-playback-start.png differ
Files old/src/ui/icons/notepadqq/16x16/media-playback-stop.png and new/src/ui/icons/notepadqq/16x16/media-playback-stop.png differ
Files old/src/ui/icons/notepadqq/16x16/media-record.png and new/src/ui/icons/notepadqq/16x16/media-record.png differ
Files old/src/ui/icons/notepadqq/16x16/media-seek-forward.png and new/src/ui/icons/notepadqq/16x16/media-seek-forward.png differ
Files old/src/ui/icons/notepadqq/16x16/notepadqq-document-saved.png and new/src/ui/icons/notepadqq/16x16/notepadqq-document-saved.png differ
Files old/src/ui/icons/notepadqq/16x16/notepadqq-document-unsaved.png and new/src/ui/icons/notepadqq/16x16/notepadqq-document-unsaved.png differ
Files old/src/ui/icons/notepadqq/16x16/preferences-other.png and new/src/ui/icons/notepadqq/16x16/preferences-other.png differ
Files old/src/ui/icons/notepadqq/16x16/show-special-chars.png and new/src/ui/icons/notepadqq/16x16/show-special-chars.png differ
Files old/src/ui/icons/notepadqq/16x16/word-wrap.png and new/src/ui/icons/notepadqq/16x16/word-wrap.png differ
Files old/src/ui/icons/notepadqq/16x16/zoom-in.png and new/src/ui/icons/notepadqq/16x16/zoom-in.png differ
Files old/src/ui/icons/notepadqq/16x16/zoom-original.png and new/src/ui/icons/notepadqq/16x16/zoom-original.png differ
Files old/src/ui/icons/notepadqq/16x16/zoom-out.png and new/src/ui/icons/notepadqq/16x16/zoom-out.png differ
Files old/src/ui/icons/notepadqq/64x64/document-save.png and new/src/ui/icons/notepadqq/64x64/document-save.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/icons/notepadqq/index.theme new/src/ui/icons/notepadqq/index.theme
--- old/src/ui/icons/notepadqq/index.theme 1970-01-01 01:00:00.000000000 +0100
+++ new/src/ui/icons/notepadqq/index.theme 2015-09-18 17:16:08.000000000 +0200
@@ -0,0 +1,21 @@
+[Icon Theme]
+Name=notepadqq
+Comment=Default theme for notepadqq
+Inherits=default
+Directories=16x16,64x64,128x128,scalable
+
+[16x16]
+Size=16
+Type=Fixed
+
+[64x64]
+Size=64
+Type=Fixed
+
+[128x128]
+Size=128
+Type=Fixed
+
+[scalable]
+Size=16
+Type=Scalable
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/icons/notepadqq/scalable/notepadqq.svg new/src/ui/icons/notepadqq/scalable/notepadqq.svg
--- old/src/ui/icons/notepadqq/scalable/notepadqq.svg 1970-01-01 01:00:00.000000000 +0100
+++ new/src/ui/icons/notepadqq/scalable/notepadqq.svg 2015-09-18 17:16:08.000000000 +0200
@@ -0,0 +1,229 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ version="1.1"
+ width="720"
+ height="720"
+ id="svg5107">
+ <defs
+ id="defs5109">
+ <linearGradient
+ id="linearGradient2873">
+ <stop
+ id="stop2875"
+ style="stop-color:#939393;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop2877"
+ style="stop-color:#424242;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient5046">
+ <stop
+ id="stop5048"
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop5050"
+ style="stop-color:#b9dca6;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient5004">
+ <stop
+ id="stop5006"
+ style="stop-color:#de9649;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop5008"
+ style="stop-color:#3d250b;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2974">
+ <stop
+ id="stop2976"
+ style="stop-color:#c1c1c1;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop4984"
+ style="stop-color:#f3f3f3;stop-opacity:1"
+ offset="0.5" />
+ <stop
+ id="stop2978"
+ style="stop-color:#cacaca;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2994">
+ <stop
+ id="stop2996"
+ style="stop-color:#000000;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop2998"
+ style="stop-color:#c9c9c9;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ x1="301.65262"
+ y1="77.063858"
+ x2="302.71622"
+ y2="139.44009"
+ id="linearGradient3188"
+ xlink:href="#linearGradient2873"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.36375344,0,0,0.36375344,128.81743,433.09205)" />
+ <linearGradient
+ x1="27.939529"
+ y1="33.832268"
+ x2="511.31018"
+ y2="729.57697"
+ id="linearGradient3858"
+ xlink:href="#linearGradient5046"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0504018,0,0,0.99625498,111.44393,35.819819)" />
+ <linearGradient
+ id="linearGradient2994-0">
+ <stop
+ id="stop2996-3"
+ style="stop-color:#000000;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop2998-2"
+ style="stop-color:#c9c9c9;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient2974-7">
+ <stop
+ id="stop2976-6"
+ style="stop-color:#c1c1c1;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop4984-3"
+ style="stop-color:#f3f3f3;stop-opacity:1"
+ offset="0.5" />
+ <stop
+ id="stop2978-3"
+ style="stop-color:#cacaca;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient5004-5">
+ <stop
+ id="stop5006-7"
+ style="stop-color:#de9649;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop5008-3"
+ style="stop-color:#3d250b;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ x1="864.38245"
+ y1="299.23441"
+ x2="755.96057"
+ y2="300.293"
+ id="linearGradient4002"
+ xlink:href="#linearGradient2994-0"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(108,0)" />
+ <linearGradient
+ x1="863.20966"
+ y1="19.610329"
+ x2="907.75806"
+ y2="19.610329"
+ id="linearGradient4004"
+ xlink:href="#linearGradient2974-7"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.1254521,0,0,0.99881417,-42.628378,62.7602)" />
+ <linearGradient
+ x1="785.0871"
+ y1="502.34323"
+ x2="834.98578"
+ y2="502.34323"
+ id="linearGradient4006"
+ xlink:href="#linearGradient5004"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0072156,0,0,0.99994372,138.04096,54.534191)" />
+ <linearGradient
+ x1="27.939529"
+ y1="33.832268"
+ x2="511.31018"
+ y2="729.57697"
+ id="linearGradient4177"
+ xlink:href="#linearGradient5046"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0504018,0,0,0.99625498,111.44393,35.819819)" />
+ </defs>
+ <metadata
+ id="metadata5112">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ transform="translate(-35.850169,-55.040829)"
+ id="layer1">
+ <g
+ transform="translate(-2.166406,0)"
+ id="g4173">
+ <path
+ d="m 136.33425,56.531841 0,717.018939 523.36465,0 0,-520.22013 C 594.7881,187.7079 529.8327,122.12662 464.89268,56.531841 z"
+ id="rect5275"
+ style="fill:url(#linearGradient4177);fill-opacity:1;fill-rule:nonzero;stroke:#89b27f;stroke-width:2.98900008;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ <path
+ d="m 466.12005,58.659686 0,194.548264 191.47242,0 z"
+ id="path3041"
+ style="fill:#ffffff;stroke:#89b27f;stroke-width:2.98900008;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ </g>
+ <text
+ x="215.61278"
+ y="485.93359"
+ id="text5843"
+ xml:space="preserve"
+ style="font-size:39.85167694px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#008947;fill-opacity:1;stroke:none;font-family:Sans"><tspan
+ x="215.61278"
+ y="485.93359"
+ id="tspan5845"
+ style="font-size:189.29548645px;fill:#008947;fill-opacity:1">nqq</tspan></text>
+ <g
+ transform="matrix(0.93334857,0.34850867,-0.34850867,0.93334857,-165.29117,-214.04443)"
+ id="g3996">
+ <path
+ d="m 929.40332,36.400459 24.3904,-3.427419 24.66456,3.427419 0,490.183991 -49.05496,0 z"
+ id="rect3872"
+ style="fill:url(#linearGradient4002);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
+ <rect
+ width="49.011616"
+ height="50.746204"
+ x="929.43542"
+ y="56.974174"
+ id="rect3965"
+ style="fill:url(#linearGradient4004);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ <path
+ d="m 945.7655,587.0368 7.8629,28.32661 9.07258,-28.32661 z"
+ id="path3993"
+ style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+ <path
+ d="m 929.29647,526.77105 16.37579,60.67404 c 0,0 8.82435,2.65462 17.00901,0 l 15.86675,-60.74531 c 0,0 -24.48218,-3.70641 -49.25155,0.0713 z"
+ id="path3983"
+ style="fill:url(#linearGradient4006);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ </g>
+ </g>
+</svg>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/include/mainwindow.h new/src/ui/include/mainwindow.h
--- old/src/ui/include/mainwindow.h 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/include/mainwindow.h 2015-09-18 17:16:08.000000000 +0200
@@ -173,6 +173,7 @@
void on_editorUrlsDropped(QList<QUrl> urls);
void on_actionGo_to_line_triggered();
void on_actionInstall_Extension_triggered();
+ void on_actionFull_Screen_toggled(bool on);
private:
static QList<MainWindow*> m_instances;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/include/notepadqq.h new/src/ui/include/notepadqq.h
--- old/src/ui/include/notepadqq.h 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/include/notepadqq.h 2015-09-18 17:16:08.000000000 +0200
@@ -33,7 +33,7 @@
#include <QList>
#include "include/mainwindow.h"
-#define POINTVERSION "0.50.2" // major.minor.revision
+#define POINTVERSION "0.50.4" // major.minor.revision
#define MIB_UTF_8 106
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/mainwindow.cpp new/src/ui/mainwindow.cpp
--- old/src/ui/mainwindow.cpp 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/mainwindow.cpp 2015-09-18 17:16:08.000000000 +0200
@@ -136,6 +136,8 @@
restoreWindowSettings();
+ ui->actionFull_Screen->setChecked(isFullScreen());
+
ui->dockFileSearchResults->hide();
// If there was another window already opened, move this window
@@ -2023,3 +2025,19 @@
{
ui->menuExtensions->menuAction()->setVisible(show);
}
+
+void MainWindow::on_actionFull_Screen_toggled(bool on)
+{
+ static bool maximized = isMaximized();
+
+ if (on) {
+ maximized = isMaximized();
+ showFullScreen();
+ } else {
+ if (maximized) {
+ showMaximized();
+ } else {
+ showNormal();
+ }
+ }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/mainwindow.ui new/src/ui/mainwindow.ui
--- old/src/ui/mainwindow.ui 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/mainwindow.ui 2015-09-18 17:16:08.000000000 +0200
@@ -15,7 +15,7 @@
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
- <normaloff>:/icons/default/scalable/notepadqq.svg</normaloff>:/icons/default/scalable/notepadqq.svg</iconset>
+ <normaloff>:/icons/notepadqq/scalable/notepadqq.svg</normaloff>:/icons/notepadqq/scalable/notepadqq.svg</iconset>
</property>
<property name="documentMode">
<bool>true</bool>
@@ -198,6 +198,8 @@
<addaction name="actionWord_wrap"/>
<addaction name="separator"/>
<addaction name="actionText_Direction_RTL"/>
+ <addaction name="separator"/>
+ <addaction name="actionFull_Screen"/>
</widget>
<widget class="QMenu" name="menuEncoding">
<property name="title">
@@ -1019,6 +1021,17 @@
<string>Install Extension...</string>
</property>
</action>
+ <action name="actionFull_Screen">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>Full Screen</string>
+ </property>
+ <property name="shortcut">
+ <string>F11</string>
+ </property>
+ </action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/src/ui/resources.qrc new/src/ui/resources.qrc
--- old/src/ui/resources.qrc 2015-08-27 11:00:00.000000000 +0200
+++ new/src/ui/resources.qrc 2015-09-18 17:16:08.000000000 +0200
@@ -1,38 +1,38 @@
<RCC>
- <qresource prefix="icons/default">
- <file alias="index.theme">icons/default/index.theme</file>
+ <qresource prefix="icons/notepadqq">
+ <file alias="index.theme">icons/notepadqq/index.theme</file>
- <file alias="16x16/document-close.png">icons/default/16x16/document-close.png</file>
- <file alias="16x16/document-close-all.png">icons/default/16x16/document-close-all.png</file>
- <file alias="16x16/document-new.png">icons/default/16x16/document-new.png</file>
- <file alias="16x16/document-open.png">icons/default/16x16/document-open.png</file>
- <file alias="16x16/document-print.png">icons/default/16x16/document-print.png</file>
+ <file alias="16x16/document-close.png">icons/notepadqq/16x16/document-close.png</file>
+ <file alias="16x16/document-close-all.png">icons/notepadqq/16x16/document-close-all.png</file>
+ <file alias="16x16/document-new.png">icons/notepadqq/16x16/document-new.png</file>
+ <file alias="16x16/document-open.png">icons/notepadqq/16x16/document-open.png</file>
+ <file alias="16x16/document-print.png">icons/notepadqq/16x16/document-print.png</file>
- <file alias="16x16/document-save.png">icons/default/16x16/document-save.png</file>
- <file alias="64x64/document-save.png">icons/default/64x64/document-save.png</file>
- <file alias="128x128/document-save.png">icons/default/128x128/document-save.png</file>
+ <file alias="16x16/document-save.png">icons/notepadqq/16x16/document-save.png</file>
+ <file alias="64x64/document-save.png">icons/notepadqq/64x64/document-save.png</file>
+ <file alias="128x128/document-save.png">icons/notepadqq/128x128/document-save.png</file>
- <file alias="16x16/document-save-all.png">icons/default/16x16/document-save-all.png</file>
- <file alias="16x16/document-save-as.png">icons/default/16x16/document-save-as.png</file>
- <file alias="16x16/edit-copy.png">icons/default/16x16/edit-copy.png</file>
- <file alias="16x16/edit-cut.png">icons/default/16x16/edit-cut.png</file>
- <file alias="16x16/edit-find.png">icons/default/16x16/edit-find.png</file>
- <file alias="16x16/edit-find-replace.png">icons/default/16x16/edit-find-replace.png</file>
- <file alias="16x16/edit-paste.png">icons/default/16x16/edit-paste.png</file>
- <file alias="16x16/edit-redo.png">icons/default/16x16/edit-redo.png</file>
- <file alias="16x16/edit-undo.png">icons/default/16x16/edit-undo.png</file>
- <file alias="16x16/media-playback-start.png">icons/default/16x16/media-playback-start.png</file>
- <file alias="16x16/media-playback-stop.png">icons/default/16x16/media-playback-stop.png</file>
- <file alias="16x16/media-record.png">icons/default/16x16/media-record.png</file>
- <file alias="16x16/media-seek-forward.png">icons/default/16x16/media-seek-forward.png</file>
- <file alias="scalable/notepadqq.svg">icons/default/scalable/notepadqq.svg</file>
- <file alias="16x16/notepadqq-document-saved.png">icons/default/16x16/notepadqq-document-saved.png</file>
- <file alias="16x16/notepadqq-document-unsaved.png">icons/default/16x16/notepadqq-document-unsaved.png</file>
- <file alias="16x16/preferences-other.png">icons/default/16x16/preferences-other.png</file>
- <file alias="16x16/show-special-chars.png">icons/default/16x16/show-special-chars.png</file>
- <file alias="16x16/word-wrap.png">icons/default/16x16/word-wrap.png</file>
- <file alias="16x16/zoom-in.png">icons/default/16x16/zoom-in.png</file>
- <file alias="16x16/zoom-original.png">icons/default/16x16/zoom-original.png</file>
- <file alias="16x16/zoom-out.png">icons/default/16x16/zoom-out.png</file>
+ <file alias="16x16/document-save-all.png">icons/notepadqq/16x16/document-save-all.png</file>
+ <file alias="16x16/document-save-as.png">icons/notepadqq/16x16/document-save-as.png</file>
+ <file alias="16x16/edit-copy.png">icons/notepadqq/16x16/edit-copy.png</file>
+ <file alias="16x16/edit-cut.png">icons/notepadqq/16x16/edit-cut.png</file>
+ <file alias="16x16/edit-find.png">icons/notepadqq/16x16/edit-find.png</file>
+ <file alias="16x16/edit-find-replace.png">icons/notepadqq/16x16/edit-find-replace.png</file>
+ <file alias="16x16/edit-paste.png">icons/notepadqq/16x16/edit-paste.png</file>
+ <file alias="16x16/edit-redo.png">icons/notepadqq/16x16/edit-redo.png</file>
+ <file alias="16x16/edit-undo.png">icons/notepadqq/16x16/edit-undo.png</file>
+ <file alias="16x16/media-playback-start.png">icons/notepadqq/16x16/media-playback-start.png</file>
+ <file alias="16x16/media-playback-stop.png">icons/notepadqq/16x16/media-playback-stop.png</file>
+ <file alias="16x16/media-record.png">icons/notepadqq/16x16/media-record.png</file>
+ <file alias="16x16/media-seek-forward.png">icons/notepadqq/16x16/media-seek-forward.png</file>
+ <file alias="scalable/notepadqq.svg">icons/notepadqq/scalable/notepadqq.svg</file>
+ <file alias="16x16/notepadqq-document-saved.png">icons/notepadqq/16x16/notepadqq-document-saved.png</file>
+ <file alias="16x16/notepadqq-document-unsaved.png">icons/notepadqq/16x16/notepadqq-document-unsaved.png</file>
+ <file alias="16x16/preferences-other.png">icons/notepadqq/16x16/preferences-other.png</file>
+ <file alias="16x16/show-special-chars.png">icons/notepadqq/16x16/show-special-chars.png</file>
+ <file alias="16x16/word-wrap.png">icons/notepadqq/16x16/word-wrap.png</file>
+ <file alias="16x16/zoom-in.png">icons/notepadqq/16x16/zoom-in.png</file>
+ <file alias="16x16/zoom-original.png">icons/notepadqq/16x16/zoom-original.png</file>
+ <file alias="16x16/zoom-out.png">icons/notepadqq/16x16/zoom-out.png</file>
</qresource>
</RCC>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/support_files/manpage/notepadqq.1 new/support_files/manpage/notepadqq.1
--- old/support_files/manpage/notepadqq.1 2015-08-27 11:00:00.000000000 +0200
+++ new/support_files/manpage/notepadqq.1 2015-09-18 17:16:08.000000000 +0200
@@ -1,4 +1,4 @@
-.TH NOTEPADQQ "1" "August 2015" "0.50.2" "User Commands"
+.TH NOTEPADQQ "1" "September 2015" "0.50.4" "User Commands"
.SH NAME
Notepadqq \- Notepad++-like editor for Linux
1
0
Hello community,
here is the log from the commit of package gajim for openSUSE:Factory checked in at 2015-09-30 05:52:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gajim (Old)
and /work/SRC/openSUSE:Factory/.gajim.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gajim"
Changes:
--------
--- /work/SRC/openSUSE:Factory/gajim/gajim.changes 2015-08-12 15:14:21.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gajim.new/gajim.changes 2015-09-30 05:52:44.000000000 +0200
@@ -1,0 +2,8 @@
+Sun Sep 27 15:37:48 UTC 2015 - sor.alexei(a)meowr.ru
+
+- Update to 0.16.4:
+ * Fix trusting GPG keys.
+ * Ability to disable synchronisation of logs with server.
+ * Improve MAM usage.
+
+-------------------------------------------------------------------
Old:
----
gajim-0.16.3.tar.gz
New:
----
gajim-0.16.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gajim.spec ++++++
--- /var/tmp/diff_new_pack.erDcrR/_old 2015-09-30 05:52:45.000000000 +0200
+++ /var/tmp/diff_new_pack.erDcrR/_new 2015-09-30 05:52:45.000000000 +0200
@@ -18,7 +18,7 @@
%define _version 0.16
Name: gajim
-Version: 0.16.3
+Version: 0.16.4
Release: 0
Summary: Full-featured XMPP client written in Python and Gtk2
License: GPL-3.0+
++++++ gajim-0.16.3.tar.gz -> gajim-0.16.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/ChangeLog new/gajim-0.16.4/ChangeLog
--- old/gajim-0.16.3/ChangeLog 2015-07-31 14:27:49.000000000 +0200
+++ new/gajim-0.16.4/ChangeLog 2015-09-26 15:58:50.000000000 +0200
@@ -1,3 +1,9 @@
+Gajim 0.16.4 (26 September 2015)
+
+ * Fix trusting GPG keys
+ * Ability to disable synchronization of logs with server
+ * Improve MAM usage
+
Gajim 0.16.3 (31 July 2015)
* Fix reading secret file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/autogen.sh new/gajim-0.16.4/autogen.sh
--- old/gajim-0.16.3/autogen.sh 2015-07-31 14:27:49.000000000 +0200
+++ new/gajim-0.16.4/autogen.sh 2015-09-26 15:58:50.000000000 +0200
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
- gajimversion="0.16.3"
+ gajimversion="0.16.4"
if [ -d ".hg" ]; then
node=$(hg tip --template "{node}")
hgversion="-${node:0:12}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/configure new/gajim-0.16.4/configure
--- old/gajim-0.16.3/configure 2015-07-31 14:27:54.000000000 +0200
+++ new/gajim-0.16.4/configure 2015-09-26 15:58:56.000000000 +0200
@@ -590,7 +590,7 @@
# Identity of this package.
PACKAGE_NAME='Gajim - A Jabber Instant Messager'
PACKAGE_TARNAME='gajim'
-PACKAGE_VERSION='0.16.3'
+PACKAGE_VERSION='0.16.4'
PACKAGE_STRING='Gajim - A Jabber Instant Messager "version-set-in-hgversion"'
PACKAGE_BUGREPORT='http://trac.gajim.org/'
PACKAGE_URL=''
@@ -1585,7 +1585,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-Gajim - A Jabber Instant Messager configure 0.16.3
+Gajim - A Jabber Instant Messager configure 0.16.4
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1954,7 +1954,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by Gajim - A Jabber Instant Messager $as_me 0.16.3, which was
+It was created by Gajim - A Jabber Instant Messager $as_me 0.16.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2823,7 +2823,7 @@
# Define the identity of the package.
PACKAGE='gajim'
- VERSION='0.16.3'
+ VERSION='0.16.4'
cat >>confdefs.h <<_ACEOF
@@ -15104,7 +15104,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by Gajim - A Jabber Instant Messager $as_me 0.16.3, which was
+This file was extended by Gajim - A Jabber Instant Messager $as_me 0.16.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -15170,7 +15170,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-Gajim - A Jabber Instant Messager config.status 0.16.3
+Gajim - A Jabber Instant Messager config.status 0.16.4
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/gajim-0.16.3/data/gajim-history-manager.1 new/gajim-0.16.4/data/gajim-history-manager.1
--- old/gajim-0.16.3/data/gajim-history-manager.1 2015-07-31 14:27:49.000000000 +0200
+++ new/gajim-0.16.4/data/gajim-history-manager.1 2015-09-26 15:58:50.000000000 +0200
@@ -1,4 +1,4 @@
-.Dd August 11, 2013
+.Dd August 26, 2015
.Dt GAJIM-HISTORY-MANAGER 1 URM
.Os UNIX
.Sh NAME
@@ -27,7 +27,7 @@
.El
.Sh FILES
.Bl -tag -width Ds
-.It ~/.local/share/gajim/logs.db
+.It $XDG_DATA_DIR/gajim/logs.db
The history database log file used when
.Op Fl c
is not specified.
@@ -46,7 +46,7 @@
.Pa THANKS ,
for a complete list.
.Sh COPYRIGHT
-Copyright (C) 2003-2013 Gajim Team
+Copyright (C) 2003-2015 Gajim Team
.Pp
.Nm
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; version 3 only.
@@ -56,7 +56,7 @@
.Pp
You should have received a copy of the GNU General Public License along with
.Nm .
-If not, see <http://www.gnu.org/licenses/>.
+If not, see <https://www.gnu.org/licenses/>.
.Sh FEEDBACK
You can report bugs or feature requests in our bug tracker at
.Em trac.gajim.org
@@ -65,19 +65,19 @@
mailing list; if you want to send us a patch, please do so in our bug tracker.
You can also find us in our chat room.
.Sh WWW
-http://www.gajim.org/
+https://www.gajim.org/
.Sh XMPP
You are welcome to join us at gajim(a)conference.gajim.org
.Sh MAILING LIST
Below are public mailing lists on lists.gajim.org
.Bd -literal -offset indent
-http://lists.gajim.org/cgi-bin/listinfo/gajim-devel
-http://lists.gajim.org/cgi-bin/listinfo/translators
+https://lists.gajim.org/cgi-bin/listinfo/gajim-devel
+https://lists.gajim.org/cgi-bin/listinfo/translators
.Ed
.Pp
More mailing lists at
.Bd -literal -offset indent
-http://lists.gajim.org/cgi-bin/listinfo
+https://lists.gajim.org/cgi-bin/listinfo
.Ed
.Sh BUGS
Please submit bugs at https://trac.gajim.org/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/data/gajim-remote.1 new/gajim-0.16.4/data/gajim-remote.1
--- old/gajim-0.16.3/data/gajim-remote.1 2015-07-31 14:27:49.000000000 +0200
+++ new/gajim-0.16.4/data/gajim-remote.1 2015-09-26 15:58:50.000000000 +0200
@@ -1,4 +1,4 @@
-.Dd August 11, 2013
+.Dd August 26, 2015
.Dt GAJIM-REMOTE 1 URM
.Os UNIX
.Sh NAME
@@ -99,7 +99,7 @@
.Pa THANKS ,
for a complete list.
.Sh COPYRIGHT
-Copyright (C) 2003-2013 Gajim Team
+Copyright (C) 2003-2015 Gajim Team
.Pp
.Nm
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; version 3 only.
@@ -109,7 +109,7 @@
.Pp
You should have received a copy of the GNU General Public License along with
.Nm .
-If not, see <http://www.gnu.org/licenses/>.
+If not, see <https://www.gnu.org/licenses/>.
.Sh FEEDBACK
You can report bugs or feature requests in our bug tracker at
.Em trac.gajim.org
@@ -118,19 +118,19 @@
mailing list; if you want to send us a patch, please do so in our bug tracker.
You can also find us in our chat room.
.Sh WWW
-http://www.gajim.org/
+https://www.gajim.org/
.Sh XMPP
You are welcome to join us at gajim(a)conference.gajim.org
.Sh MAILING LIST
Below are public mailing lists on lists.gajim.org
.Bd -literal -offset indent
-http://lists.gajim.org/cgi-bin/listinfo/gajim-devel
-http://lists.gajim.org/cgi-bin/listinfo/translators
+https://lists.gajim.org/cgi-bin/listinfo/gajim-devel
+https://lists.gajim.org/cgi-bin/listinfo/translators
.Ed
.Pp
More mailing lists at
.Bd -literal -offset indent
-http://lists.gajim.org/cgi-bin/listinfo
+https://lists.gajim.org/cgi-bin/listinfo
.Ed
.Sh BUGS
Please submit bugs at https://trac.gajim.org/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/data/gajim.1 new/gajim-0.16.4/data/gajim.1
--- old/gajim-0.16.3/data/gajim.1 2015-07-31 14:27:49.000000000 +0200
+++ new/gajim-0.16.4/data/gajim.1 2015-09-26 15:58:50.000000000 +0200
@@ -1,4 +1,4 @@
-.Dd August 11, 2013
+.Dd August 26, 2015
.Dt GAJIM 1 URM
.Os UNIX
.Sh NAME
@@ -26,7 +26,7 @@
technologies for instant messaging, presence, multi-party chat, voice
and video calls, collaboration, lightweight middleware, content
syndication, and generalized routing of XML data. For more information
-on the XMPP protocol see <http://xmpp.org/about-xmpp/>.
+on the XMPP protocol see <https://xmpp.org/about-xmpp/>.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl h Fl Fl help
@@ -60,19 +60,19 @@
.El
.Sh FILES
.Bl -tag -width Ds
-.It ~/.cache/gajim/cache.db
+.It $XDG_CACHE_DIR/gajim/cache.db
Cache database file of transports, caps, roster entry, and roster group.
-.It ~/.cache/gajim/avatars/
+.It $XDG_CACHE_DIR/gajim/avatars/
Cache directory of avatars.
-.It ~/.cache/gajim/vcards/
+.It $XDG_CACHE_DIR/gajim/vcards/
Cache directory of vCards (virtual cards).
-.It ~/.config/gajim/
+.It $XDG_CONFIG_DIR/gajim/
The config-path used when
.Op Fl c
is not specified.
-.It ~/.local/share/gajim/certs/
+.It $XDG_DATA_DIR/gajim/certs/
Directory where certificates are stored.
-.It ~/.local/share/gajim/logs.db
+.It $XDG_DATA_DIR/gajim/logs.db
The history database log file.
For more information on database logs see <https://trac.gajim.org/wiki/LogsDatabase>.
.El
@@ -90,7 +90,7 @@
.Pa THANKS ,
for a complete list.
.Sh COPYRIGHT
-Copyright (C) 2003-2013 Gajim Team
+Copyright (C) 2003-2015 Gajim Team
.Pp
.Nm
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; version 3 only.
@@ -100,7 +100,7 @@
.Pp
You should have received a copy of the GNU General Public License along with
.Nm .
-If not, see <http://www.gnu.org/licenses/>.
+If not, see <https://www.gnu.org/licenses/>.
.Sh FEEDBACK
You can report bugs or feature requests in our bug tracker at
.Em trac.gajim.org
@@ -109,26 +109,26 @@
mailing list; if you want to send us a patch, please do so in our bug tracker.
You can also find us in our chat room.
.Sh WWW
-http://www.gajim.org/
+https://www.gajim.org/
.Sh XMPP
You are welcome to join us at gajim(a)conference.gajim.org
.Sh MAILING LIST
Below are public mailing lists on lists.gajim.org
.Bd -literal -offset indent
-http://lists.gajim.org/cgi-bin/listinfo/gajim-devel
-http://lists.gajim.org/cgi-bin/listinfo/translators
+https://lists.gajim.org/cgi-bin/listinfo/gajim-devel
+https://lists.gajim.org/cgi-bin/listinfo/translators
.Ed
.Pp
More mailing lists at
.Bd -literal -offset indent
-http://lists.gajim.org/cgi-bin/listinfo
+https://lists.gajim.org/cgi-bin/listinfo
.Ed
.Sh BUGS
Please submit bugs at
.Bd -literal -offset indent
https://trac.gajim.org/
-http://trac-plugins.gajim.org/
-http://python-nbxmpp.gajim.org/
+https://trac-plugins.gajim.org/
+https://python-nbxmpp.gajim.org/
.Ed
.Sh SEE ALSO
.Xr gajim-remote 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/data/gui/accounts_window.ui new/gajim-0.16.4/data/gui/accounts_window.ui
--- old/gajim-0.16.3/data/gui/accounts_window.ui 2015-07-31 14:27:49.000000000 +0200
+++ new/gajim-0.16.4/data/gui/accounts_window.ui 2015-09-26 15:58:50.000000000 +0200
@@ -556,6 +556,23 @@
</packing>
</child>
<child>
+ <object class="GtkCheckButton" id="sync_logs_with_server_checkbutton1">
+ <property name="label" translatable="yes">Synchronize logs with server</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_sync_logs_with_server_checkbutton_toggled"/>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkCheckButton" id="sync_with_global_status_checkbutton1">
<property name="label" translatable="yes">Synch_ronize account status with global status</property>
<property name="visible">True</property>
@@ -569,7 +586,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">3</property>
+ <property name="position">4</property>
</packing>
</child>
<child>
@@ -585,7 +602,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">4</property>
+ <property name="position">5</property>
</packing>
</child>
<child>
@@ -602,7 +619,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">5</property>
+ <property name="position">6</property>
</packing>
</child>
</object>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/gajim.nsi new/gajim-0.16.4/gajim.nsi
--- old/gajim-0.16.3/gajim.nsi 2015-07-31 14:27:49.000000000 +0200
+++ new/gajim-0.16.4/gajim.nsi 2015-09-26 15:58:51.000000000 +0200
@@ -156,6 +156,7 @@
SetOutPath "$INSTDIR\bin"
File "bin\_bsddb.pyd"
+ File "bin\_cffi_backend.pyd"
File "bin\_ctypes.pyd"
File "bin\_hashlib.pyd"
File "bin\_socket.pyd"
@@ -171,6 +172,9 @@
File "bin\Crypto.Random.OSRNG.winrandom.pyd"
File "bin\Crypto.Util._counter.pyd"
File "bin\Crypto.Util.strxor.pyd"
+ File "bin\cryptography.hazmat.bindings._constant_time.pyd"
+ File "bin\cryptography.hazmat.bindings._openssl.pyd"
+ File "bin\cryptography.hazmat.bindings._padding.pyd"
File "bin\farstream.pyd"
File "bin\gajim.exe"
File "bin\gio._gio.pyd"
@@ -181,7 +185,6 @@
File "bin\gst.interfaces.pyd"
File "bin\gtk._gtk.pyd"
File "bin\history_manager.exe"
- File "bin\OpenSSL.crypto.pyd"
File "bin\libeay32.dll"
File "bin\libgoocanvas-3.dll"
File "bin\library.zip"
@@ -194,11 +197,9 @@
File "bin\python27.dll"
File "bin\pythoncom27.dll"
File "bin\pywintypes27.dll"
- File "bin\OpenSSL.rand.pyd"
File "bin\select.pyd"
File "bin\sqlite3.dll"
File "bin\ssleay32.dll"
- File "bin\OpenSSL.SSL.pyd"
File "bin\unicodedata.pyd"
File "bin\win32api.pyd"
File "bin\win32file.pyd"
@@ -212,7 +213,7 @@
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayName" "Gajim"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "UninstallString" "$INSTDIR\Uninstall.exe"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayIcon" "$INSTDIR\bin\Gajim.exe"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayVersion" "0.16.3"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayVersion" "0.16.4"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "URLInfoAbout" "http://www.gajim.org/"
WriteUninstaller "$INSTDIR\Uninstall.exe"
@@ -542,56 +543,6 @@
RMDir /r "$INSTDIR\bin\gtk\share"
RMDir "$INSTDIR\bin\gtk"
RMDir "$INSTDIR\bin\win32com"
- Delete "$INSTDIR\bin\_bsddb.pyd"
- Delete "$INSTDIR\bin\_ctypes.pyd"
- Delete "$INSTDIR\bin\_hashlib.pyd"
- Delete "$INSTDIR\bin\_socket.pyd"
- Delete "$INSTDIR\bin\_sqlite3.pyd"
- Delete "$INSTDIR\bin\_ssl.pyd"
- Delete "$INSTDIR\bin\atk.pyd"
- Delete "$INSTDIR\bin\bz2.pyd"
- Delete "$INSTDIR\bin\cairo._cairo.pyd"
- Delete "$INSTDIR\bin\Crypto.Cipher._AES.pyd"
- Delete "$INSTDIR\bin\Crypto.Cipher._DES.pyd"
- Delete "$INSTDIR\bin\Crypto.Cipher._DES3.pyd"
- Delete "$INSTDIR\bin\Crypto.Hash._SHA256.pyd"
- Delete "$INSTDIR\bin\Crypto.Random.OSRNG.winrandom.pyd"
- Delete "$INSTDIR\bin\Crypto.Util._counter.pyd"
- Delete "$INSTDIR\bin\farstream.pyd"
- Delete "$INSTDIR\bin\gajim.exe"
- Delete "$INSTDIR\bin\gio._gio.pyd"
- Delete "$INSTDIR\bin\glib._glib.pyd"
- Delete "$INSTDIR\bin\gobject._gobject.pyd"
- Delete "$INSTDIR\bin\goocanvas.pyd"
- Delete "$INSTDIR\bin\gst._gst.pyd"
- Delete "$INSTDIR\bin\gst.interfaces.pyd"
- Delete "$INSTDIR\bin\gtk._gtk.pyd"
- Delete "$INSTDIR\bin\history_manager.exe"
- Delete "$INSTDIR\bin\libeay32.dll"
- Delete "$INSTDIR\bin\libgoocanvas-3.dll"
- Delete "$INSTDIR\bin\library.zip"
- Delete "$INSTDIR\bin\libxml2mod.pyd"
- Delete "$INSTDIR\bin\libxmlmods.libxml2mod.pyd"
- Delete "$INSTDIR\bin\OpenSSL.crypto.pyd"
- Delete "$INSTDIR\bin\OpenSSL.rand.pyd"
- Delete "$INSTDIR\bin\OpenSSL.SSL.pyd"
- Delete "$INSTDIR\bin\pango.pyd"
- Delete "$INSTDIR\bin\pangocairo.pyd"
- Delete "$INSTDIR\bin\pycurl.pyd"
- Delete "$INSTDIR\bin\pyexpat.pyd"
- Delete "$INSTDIR\bin\python27.dll"
- Delete "$INSTDIR\bin\pythoncom27.dll"
- Delete "$INSTDIR\bin\pywintypes27.dll"
- Delete "$INSTDIR\bin\select.pyd"
- Delete "$INSTDIR\bin\sqlite3.dll"
- Delete "$INSTDIR\bin\ssleay32.dll"
- Delete "$INSTDIR\bin\unicodedata.pyd"
- Delete "$INSTDIR\bin\win32api.pyd"
- Delete "$INSTDIR\bin\win32file.pyd"
- Delete "$INSTDIR\bin\win32pipe.pyd"
- Delete "$INSTDIR\bin\win32ui.pyd"
- Delete "$INSTDIR\bin\winsound.pyd"
- Delete "$INSTDIR\bin\msvcr90.dll"
RMDir /r "$INSTDIR\bin"
RMDir /r "$INSTDIR\data\gui"
RMDir /r "$INSTDIR\data\moods"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/m4/hgversion.m4 new/gajim-0.16.4/m4/hgversion.m4
--- old/gajim-0.16.3/m4/hgversion.m4 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/m4/hgversion.m4 2015-09-26 15:58:52.000000000 +0200
@@ -1 +1 @@
-define([AC_PACKAGE_VERSION], [0.16.3])
+define([AC_PACKAGE_VERSION], [0.16.4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/setup_win32.py new/gajim-0.16.4/setup_win32.py
--- old/gajim-0.16.3/setup_win32.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/setup_win32.py 2015-09-26 15:58:52.000000000 +0200
@@ -35,6 +35,7 @@
'goocanvas', 'Crypto.PublicKey.DSA', 'Crypto.Hash.HMAC',
'numbers', 'win32com.client', 'win32com.server', 'HTMLParser'],
'base': 'Win32GUI',
+ 'packages': ['cffi', 'cryptography'],
'bin_excludes': [
'iconv.dll', 'intl.dll', 'libatk-1.0-0.dll',
'libgdk_pixbuf-2.0-0.dll', 'libgdk-win32-2.0-0.dll',
@@ -56,7 +57,7 @@
setup(
name='Gajim',
- version='0.16.3',
+ version='0.16.4',
description='A full featured Jabber client',
author='Gajim Development Team',
url='http://gajim.org/',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/common/check_paths.py new/gajim-0.16.4/src/common/check_paths.py
--- old/gajim-0.16.3/src/common/check_paths.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/common/check_paths.py 2015-09-26 15:58:52.000000000 +0200
@@ -330,6 +330,8 @@
check_and_possibly_move_config()
if not os.path.exists(LOG_DB_PATH):
+ if os.path.exists(CACHE_DB_PATH):
+ os.remove(CACHE_DB_PATH)
create_log_db()
gajim.logger.init_vars()
elif os.path.isdir(LOG_DB_PATH):
@@ -344,7 +346,7 @@
print _('%s is a directory but should be a file') % CACHE_DB_PATH
print _('Gajim will now exit')
sys.exit()
-
+
if not os.path.exists(XTLS_CERTS):
create_path(XTLS_CERTS)
if not os.path.exists(LOCAL_XTLS_CERTS):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/common/config.py new/gajim-0.16.4/src/common/config.py
--- old/gajim-0.16.3/src/common/config.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/common/config.py 2015-09-26 15:58:52.000000000 +0200
@@ -362,6 +362,7 @@
'custom_host': [ opt_str, '', '', True ],
'sync_with_global_status': [ opt_bool, False, ],
'no_log_for': [ opt_str, '', _('Space separated list of JIDs for which you do not want to store logs. You can also add account name to log nothing for this account.')],
+ 'sync_logs_with_server': [ opt_bool, True, _('Download logs stored on server on Gajim startup if server supports XEP-0136 or XEP-0313')],
'allow_no_log_for': [ opt_str, '', _('Space separated list of JIDs for which you accept to not log conversations if he does not want to.')],
'minimized_gc': [ opt_str, '' ],
'attached_gpg_keys': [ opt_str, '' ],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/common/connection.py new/gajim-0.16.4/src/common/connection.py
--- old/gajim-0.16.3/src/common/connection.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/common/connection.py 2015-09-26 15:58:52.000000000 +0200
@@ -425,7 +425,7 @@
if msgenc:
msg_iq.setTag(nbxmpp.NS_ENCRYPTED + ' x').setData(msgenc)
- msg_iq.addChild(name='no-permanent-storage',
+ msg_iq.addChild(name='no-permanent-store',
namespace=nbxmpp.NS_MSG_HINTS)
if form_node:
@@ -505,7 +505,7 @@
if self.carbons_enabled:
msg_iq.addChild(name='private',
namespace=nbxmpp.NS_CARBONS)
- msg_iq.addChild(name='no-permanent-storage',
+ msg_iq.addChild(name='no-permanent-store',
namespace=nbxmpp.NS_MSG_HINTS)
msg_iq.addChild(name='no-copy',
namespace=nbxmpp.NS_MSG_HINTS)
@@ -817,6 +817,8 @@
self._nec_message_outgoing)
gajim.ged.register_event_handler('gc-message-outgoing', ged.OUT_CORE,
self._nec_gc_message_outgoing)
+ gajim.ged.register_event_handler('stanza-message-outgoing',
+ ged.OUT_CORE, self._nec_stanza_message_outgoing)
# END __init__
def cleanup(self):
@@ -831,6 +833,8 @@
self._nec_message_outgoing)
gajim.ged.remove_event_handler('gc-message-outgoing', ged.OUT_CORE,
self._nec_gc_message_outgoing)
+ gajim.ged.remove_event_handler('stanza-message-outgoing', ged.OUT_CORE,
+ self._nec_stanza_message_outgoing)
def get_config_values_or_default(self):
if gajim.config.get_per('accounts', self.name, 'keep_alives_enabled'):
@@ -2111,9 +2115,11 @@
subject, type_, msg_iq, xhtml):
if isinstance(msg_iq, list):
for iq in msg_iq:
- msg_id = self.connection.send(iq, now=obj.now)
+ gajim.nec.push_incoming_event(StanzaMessageOutgoingEvent(
+ None, conn=self, msg_iq=iq, now=obj.now))
else:
- msg_id = self.connection.send(msg_iq, now=obj.now)
+ gajim.nec.push_incoming_event(StanzaMessageOutgoingEvent(None,
+ conn=self, msg_iq=msg_iq, now=obj.now))
gajim.nec.push_incoming_event(MessageSentEvent(None, conn=self,
jid=jid, message=msg, keyID=keyID, chatstate=obj.chatstate))
if obj.callback:
@@ -2139,6 +2145,11 @@
delayed=obj.delayed, attention=obj.attention,
correction_msg=obj.correction_msg, callback=cb)
+ def _nec_stanza_message_outgoing(self, obj):
+ if obj.conn.name != self.name:
+ return
+ obj.msg_id = self.connection.send(obj.msg_iq, now=obj.now)
+
def send_contacts(self, contacts, fjid, type_='message'):
"""
Send contacts with RosterX (Xep-0144)
@@ -2838,6 +2849,12 @@
self.connection.send(iq)
def get_password(self, callback, type_):
+ if gajim.config.get_per('accounts', self.name, 'anonymous_auth') and \
+ type_ != 'ANONYMOUS':
+ gajim.nec.push_incoming_event(NonAnonymousServerErrorEvent(None,
+ conn=self))
+ self._on_disconnected()
+ return
self.pasword_callback = (callback, type_)
if type_ == 'X-MESSENGER-OAUTH2':
client_id = gajim.config.get_per('accounts', self.name,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/common/connection_handlers.py new/gajim-0.16.4/src/common/connection_handlers.py
--- old/gajim-0.16.3/src/common/connection_handlers.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/common/connection_handlers.py 2015-09-26 15:58:52.000000000 +0200
@@ -894,6 +894,8 @@
self._nec_gc_presence_received)
gajim.ged.register_event_handler('message-received', ged.CORE,
self._nec_message_received)
+ gajim.ged.register_event_handler('mam-message-received', ged.CORE,
+ self._nec_mam_message_received)
gajim.ged.register_event_handler('decrypted-message-received', ged.CORE,
self._nec_decrypted_message_received)
@@ -906,6 +908,8 @@
self._nec_gc_presence_received)
gajim.ged.remove_event_handler('message-received', ged.CORE,
self._nec_message_received)
+ gajim.ged.remove_event_handler('mam-message-received', ged.CORE,
+ self._nec_mam_message_received)
gajim.ged.remove_event_handler('decrypted-message-received', ged.CORE,
self._nec_decrypted_message_received)
@@ -1118,14 +1122,46 @@
gajim.nec.push_incoming_event(DecryptedMessageReceivedEvent(None,
conn=self, msg_obj=obj))
+ def _nec_mam_message_received(self, obj):
+ if obj.conn.name != self.name:
+ return
+ if obj.enc_tag and self.USE_GPG:
+ encmsg = obj.enc_tag.getData()
+
+ keyID = gajim.config.get_per('accounts', self.name, 'keyid')
+ if keyID:
+ self.gpg_messages_to_decrypt.append([encmsg, keyID, obj])
+ if len(self.gpg_messages_to_decrypt) == 1:
+ gajim.thread_interface(self.decrypt_thread, [encmsg, keyID,
+ obj], self._on_mam_message_decrypted, [obj])
+ return
+ gajim.nec.push_incoming_event(MamDecryptedMessageReceivedEvent(None,
+ conn=self, msg_obj=obj))
+
def _on_message_decrypted(self, output, obj):
if len(self.gpg_messages_to_decrypt):
encmsg, keyID, obj2 = self.gpg_messages_to_decrypt[0]
+ if type(obj2) == MessageReceivedEvent:
+ cb = self._on_message_decrypted
+ else:
+ cb = self._on_mam_message_decrypted
gajim.thread_interface(self.decrypt_thread, [encmsg, keyID, obj2],
- self._on_message_decrypted, [obj2])
+ cb, [obj2])
gajim.nec.push_incoming_event(DecryptedMessageReceivedEvent(None,
conn=self, msg_obj=obj))
+ def _on_mam_message_decrypted(self, output, obj):
+ if len(self.gpg_messages_to_decrypt):
+ encmsg, keyID, obj2 = self.gpg_messages_to_decrypt[0]
+ if type(obj2) == MessageReceivedEvent:
+ cb = self._on_message_decrypted
+ else:
+ cb = self._on_mam_message_decrypted
+ gajim.thread_interface(self.decrypt_thread, [encmsg, keyID, obj2],
+ cb, [obj2])
+ gajim.nec.push_incoming_event(MamDecryptedMessageReceivedEvent(None,
+ conn=self, msg_obj=obj))
+
def _nec_decrypted_message_received(self, obj):
if obj.conn.name != self.name:
return
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/common/connection_handlers_events.py new/gajim-0.16.4/src/common/connection_handlers_events.py
--- old/gajim-0.16.3/src/common/connection_handlers_events.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/common/connection_handlers_events.py 2015-09-26 15:58:52.000000000 +0200
@@ -1011,6 +1011,77 @@
name = 'before-change-show'
base_network_events = []
+class MamMessageReceivedEvent(nec.NetworkIncomingEvent, HelperEvent):
+ name = 'mam-message-received'
+ base_network_events = []
+
+ def generate(self):
+ if not self.stanza:
+ return
+ account = self.conn.name
+ delay = self.stanza.getTag('delay', namespace=nbxmpp.NS_DELAY2)
+ if not delay:
+ return
+ tim = delay.getAttr('stamp')
+ tim = helpers.datetime_tuple(tim)
+ self.tim = localtime(timegm(tim))
+ self.msg_ = self.stanza.getTag('message')
+ to_ = self.msg_.getAttr('to')
+ if to_:
+ to_ = gajim.get_jid_without_resource(to_)
+ else:
+ to_ = gajim.get_jid_from_account(account)
+ frm_ = gajim.get_jid_without_resource(self.msg_.getAttr('from'))
+ self.msgtxt = self.msg_.getTagData('body')
+ if to_ == gajim.get_jid_from_account(account):
+ self.with_ = frm_
+ self.direction = 'from'
+ self.resource = gajim.get_resource_from_jid(
+ self.msg_.getAttr('from'))
+ else:
+ self.with_ = to_
+ self.direction = 'to'
+ self.resource = gajim.get_resource_from_jid(self.msg_.getAttr('to'))
+ self.enc_tag = self.msg_.getTag('x', namespace=nbxmpp.NS_ENCRYPTED)
+ return True
+
+class MamDecryptedMessageReceivedEvent(nec.NetworkIncomingEvent, HelperEvent):
+ name = 'mam-decrypted-message-received'
+ base_network_events = []
+
+ def generate(self):
+ self.nick = None
+ msg_ = self.msg_obj.msg_
+ self.with_ = self.msg_obj.with_
+ self.direction = self.msg_obj.direction
+ self.tim = self.msg_obj.tim
+ res = self.msg_obj.resource
+ self.msgtxt = self.msg_obj.msgtxt
+ is_pm = gajim.logger.jid_is_room_jid(self.with_)
+ if msg_.getAttr('type') == 'groupchat':
+ if is_pm == False:
+ log.warn('JID %s is marked as normal contact in database '
+ 'but we got a groupchat message from it.')
+ return
+ if is_pm == None:
+ gajim.logger.get_jid_id(self.with_, 'ROOM')
+ self.nick = res
+ else:
+ if is_pm == None:
+ # we don't know this JID, we need to disco it.
+ server = gajim.get_server_from_jid(self.with_)
+ if server not in self.conn.mam_awaiting_disco_result:
+ self.conn.mam_awaiting_disco_result[server] = [
+ [self.with_, self.direction, self.tim, self.msgtxt,
+ res]]
+ self.conn.discoverInfo(server)
+ else:
+ self.conn.mam_awaiting_disco_result[server].append(
+ [self.with_, self.direction, self.tim, self.msgtxt,
+ res])
+ return
+ return True
+
class MessageReceivedEvent(nec.NetworkIncomingEvent, HelperEvent):
name = 'message-received'
base_network_events = ['raw-message-received']
@@ -1092,55 +1163,8 @@
result = self.stanza.getTag('result', namespace=nbxmpp.NS_MAM)
if result:
forwarded = result.getTag('forwarded', namespace=nbxmpp.NS_FORWARD)
- if not forwarded:
- return
- delay = forwarded.getTag('delay', namespace=nbxmpp.NS_DELAY2)
- if not delay:
- return
- tim = delay.getAttr('stamp')
- tim = helpers.datetime_tuple(tim)
- tim = localtime(timegm(tim))
- msg_ = forwarded.getTag('message')
- to_ = msg_.getAttr('to')
- if to_:
- to_ = gajim.get_jid_without_resource(to_)
- else:
- to_ = gajim.get_jid_from_account(account)
- frm_ = gajim.get_jid_without_resource(msg_.getAttr('from'))
- nick = None
- msg_txt = msg_.getTagData('body')
- if to_ == gajim.get_jid_from_account(account):
- with_ = frm_
- direction = 'from'
- res = gajim.get_resource_from_jid(msg_.getAttr('from'))
- else:
- with_ = to_
- direction = 'to'
- res = gajim.get_resource_from_jid(msg_.getAttr('to'))
- is_pm = gajim.logger.jid_is_room_jid(with_)
- if msg_.getAttr('type') == 'groupchat':
- if is_pm == False:
- log.warn('JID %s is marked as normal contact in database '
- 'but we got a groupchat message from it.')
- return
- if is_pm == None:
- gajim.logger.get_jid_id(with_, 'ROOM')
- nick = res
- else:
- if is_pm == None:
- # we don't know this JID, we need to disco it.
- server = gajim.get_server_from_jid(with_)
- if server not in self.conn.mam_awaiting_disco_result:
- self.conn.mam_awaiting_disco_result[server] = [
- [with_, direction, tim, msg_txt, res]]
- self.conn.discoverInfo(server)
- else:
- self.conn.mam_awaiting_disco_result[server].append(
- [with_, direction, tim, msg_txt, res])
- return
-
- gajim.logger.save_if_not_exists(with_, direction, tim,
- msg=msg_txt, nick=nick)
+ gajim.nec.push_incoming_event(MamMessageReceivedEvent(None,
+ conn=self.conn, stanza=forwarded))
return
self.enc_tag = self.stanza.getTag('x', namespace=nbxmpp.NS_ENCRYPTED)
@@ -1922,6 +1946,10 @@
name = 'privacy-list-active-default'
base_network_events = []
+class NonAnonymousServerErrorEvent(nec.NetworkIncomingEvent):
+ name = 'non-anonymous-server-error'
+ base_network_events = []
+
class VcardReceivedEvent(nec.NetworkIncomingEvent):
name = 'vcard-received'
base_network_events = []
@@ -2564,6 +2592,12 @@
def generate(self):
return True
+class StanzaMessageOutgoingEvent(nec.NetworkOutgoingEvent):
+ name='stanza-message-outgoing'
+ base_network_events = []
+
+ def generate(self):
+ return True
class GcMessageOutgoingEvent(nec.NetworkOutgoingEvent):
name = 'gc-message-outgoing'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/common/defs.py new/gajim-0.16.4/src/common/defs.py
--- old/gajim-0.16.3/src/common/defs.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/common/defs.py 2015-09-26 15:58:52.000000000 +0200
@@ -27,7 +27,7 @@
basedir = '../'
localedir = '../po'
-version = '0.16.3'
+version = '0.16.4'
import subprocess
try:
node = subprocess.Popen('hg tip --template "{node|short}"', shell=True,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/common/gpg.py new/gajim-0.16.4/src/common/gpg.py
--- old/gajim-0.16.3/src/common/gpg.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/common/gpg.py 2015-09-26 15:58:52.000000000 +0200
@@ -56,8 +56,7 @@
trust = False
if not trust:
# check that we'll be able to encrypt
- result = super(GnuPG, self).list_keys(recipients,
- keys=recipients)
+ result = super(GnuPG, self).list_keys(keys=recipients)
for key in result:
if key['trust'] not in ('f', 'u'):
return '', 'NOT_TRUSTED'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/common/helpers.py new/gajim-0.16.4/src/common/helpers.py
--- old/gajim-0.16.3/src/common/helpers.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/common/helpers.py 2015-09-26 15:58:52.000000000 +0200
@@ -1459,9 +1459,11 @@
"""
Download an image. This function should be launched in a separated thread.
"""
- mem, alt = '', ''
- # Wait maximum 5s for connection
- socket.setdefaulttimeout(5)
+ mem, alt, max_size = '', '', 2*1024*1024
+ if 'max_size' in attrs:
+ max_size = attrs['max_size']
+ # Wait maximum 10s for connection
+ socket.setdefaulttimeout(10)
try:
req = urllib2.Request(attrs['src'])
req.add_header('User-Agent', 'Gajim ' + gajim.version)
@@ -1471,13 +1473,13 @@
pixbuf = None
alt = attrs.get('alt', 'Broken image')
else:
- # Wait 0.5s between each byte
+ # Wait 2s between each byte
try:
- f.fp._sock.fp._sock.settimeout(0.5)
+ f.fp._sock.fp._sock.settimeout(2)
except Exception:
pass
- # Max image size = 2 MB (to try to prevent DoS)
- deadline = time.time() + 3
+ # On a slow internet connection with ~1000kbps you need ~10 seconds for 1 MB
+ deadline = time.time() + (10 * (max_size / 1048576))
while True:
if time.time() > deadline:
log.debug('Timeout loading image %s ' % attrs['src'])
@@ -1500,7 +1502,7 @@
mem += temp
else:
break
- if len(mem) > 2*1024*1024:
+ if len(mem) > max_size:
alt = attrs.get('alt', '')
if alt:
alt += '\n'
@@ -1515,15 +1517,19 @@
"""
if not gajim.HAVE_PYCURL:
return '', _('PyCURL is not installed')
- mem, alt = '', ''
+ mem, alt, max_size = '', '', 2*1024*1024
+ if 'max_size' in attrs:
+ max_size = attrs['max_size']
try:
b = StringIO()
c = pycurl.Curl()
c.setopt(pycurl.URL, attrs['src'].encode('utf-8'))
c.setopt(pycurl.FOLLOWLOCATION, 1)
- c.setopt(pycurl.CONNECTTIMEOUT, 5)
- c.setopt(pycurl.TIMEOUT, 10)
- c.setopt(pycurl.MAXFILESIZE, 2000000)
+ # Wait maximum 10s for connection
+ c.setopt(pycurl.CONNECTTIMEOUT, 10)
+ # On a slow internet connection with ~1000kbps you need ~10 seconds for 1 MB
+ c.setopt(pycurl.TIMEOUT, 10 * (max_size / 1048576))
+ c.setopt(pycurl.MAXFILESIZE, max_size)
c.setopt(pycurl.WRITEFUNCTION, b.write)
c.setopt(pycurl.USERAGENT, 'Gajim ' + gajim.version)
# set proxy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/common/logger.py new/gajim-0.16.4/src/common/logger.py
--- old/gajim-0.16.3/src/common/logger.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/common/logger.py 2015-09-26 15:58:52.000000000 +0200
@@ -1103,21 +1103,22 @@
time_col = int(float(time.mktime(tim)))
else:
time_col = int(float(time.time()))
- if msg:
- if self.jid_is_from_pm(with_) or nick:
- # It's a groupchat message
- if nick:
- # It's a message from a groupchat occupent
- type_ = 'gc_msg'
- with_ = with_ + '/' + nick
- else:
- # It's a server message message, we don't log them
- return
+ if not msg:
+ return
+ if self.jid_is_from_pm(with_) or nick:
+ # It's a groupchat message
+ if nick:
+ # It's a message from a groupchat occupent
+ type_ = 'gc_msg'
+ with_ = with_ + '/' + nick
else:
- if direction == 'from':
- type_ = 'chat_msg_recv'
- elif direction == 'to':
- type_ = 'chat_msg_sent'
+ # It's a server message message, we don't log them
+ return
+ else:
+ if direction == 'from':
+ type_ = 'chat_msg_recv'
+ elif direction == 'to':
+ type_ = 'chat_msg_sent'
jid_id = self.get_jid_id(with_)
where_sql = 'jid_id = %s AND message=?' % jid_id
if type_ == 'gc_msg':
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/common/message_archiving.py new/gajim-0.16.4/src/common/message_archiving.py
--- old/gajim-0.16.3/src/common/message_archiving.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/common/message_archiving.py 2015-09-26 15:58:52.000000000 +0200
@@ -47,10 +47,18 @@
self._nec_agent_info_error)
gajim.ged.register_event_handler('agent-info-received', ged.CORE,
self._nec_agent_info)
+ gajim.ged.register_event_handler('mam-decrypted-message-received',
+ ged.CORE, self._nec_mam_decrypted_message_received)
def cleanup(self):
gajim.ged.remove_event_handler('raw-message-received', ged.CORE,
self._nec_raw_message_313_received)
+ gajim.ged.remove_event_handler('agent-info-error-received', ged.CORE,
+ self._nec_agent_info_error)
+ gajim.ged.remove_event_handler('agent-info-received', ged.CORE,
+ self._nec_agent_info)
+ gajim.ged.remove_event_handler('mam-decrypted-message-received',
+ ged.CORE, self._nec_mam_decrypted_message_received)
def _nec_agent_info_error(self, obj):
if obj.jid in self.mam_awaiting_disco_result:
@@ -81,7 +89,7 @@
if obj.conn.name != self.name:
return
- fin_ = obj.stanza.getTag('fin', namespace=nbxmpp.NS_MAM)
+ fin_ = obj.stanza.getTag('fin', namespace=nbxmpp.NS_MAM)
if fin_:
queryid_ = fin_.getAttr('queryid')
if queryid_ not in self.awaiting_answers:
@@ -99,11 +107,17 @@
del self.awaiting_answers[queryid_]
+ def _nec_mam_decrypted_message_received(self, obj):
+ if obj.conn.name != self.name:
+ return
+ gajim.logger.save_if_not_exists(obj.with_, obj.direction, obj.tim,
+ msg=obj.msgtxt, nick=obj.nick)
+
def request_archive(self, start=None, end=None, with_=None, after=None,
max=30):
iq_ = nbxmpp.Iq('set')
query = iq_.addChild('query', namespace=nbxmpp.NS_MAM)
- x = query.addChild('x', namespace=nbxmpp.NS_DATA)
+ x = query.addChild(node=nbxmpp.DataForm(typ='submit'))
x.addChild(node=nbxmpp.DataField(typ='hidden', name='FORM_TYPE', value=nbxmpp.NS_MAM))
if start:
x.addChild(node=nbxmpp.DataField(typ='text-single', name='start', value=start))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/common/optparser.py new/gajim-0.16.4/src/common/optparser.py
--- old/gajim-0.16.3/src/common/optparser.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/common/optparser.py 2015-09-26 15:58:52.000000000 +0200
@@ -43,7 +43,7 @@
class OptionsParser:
def __init__(self, filename):
- self.__filename = filename
+ self.__filename = os.path.realpath(filename)
self.old_values = {} # values that are saved in the file and maybe
# no longer valid
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/config.py new/gajim-0.16.4/src/config.py
--- old/gajim-0.16.3/src/config.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/config.py 2015-09-26 15:58:52.000000000 +0200
@@ -1963,6 +1963,8 @@
else:
self.xml.get_object('log_history_checkbutton1').set_active(True)
+ self.xml.get_object('sync_logs_with_server_checkbutton1').set_active(
+ gajim.config.get_per('accounts', account, 'sync_logs_with_server'))
self.xml.get_object('sync_with_global_status_checkbutton1').set_active(
gajim.config.get_per('accounts', account,
'sync_with_global_status'))
@@ -2318,6 +2320,12 @@
gajim.config.set_per('accounts', self.current_account, 'no_log_for',
' '.join(list_no_log_for))
+ def on_sync_logs_with_server_checkbutton_toggled(self, widget):
+ if self.ignore_events:
+ return
+ self.on_checkbutton_toggled(widget, 'sync_logs_with_server',
+ account=self.current_account)
+
def on_sync_with_global_status_checkbutton_toggled(self, widget):
if self.ignore_events:
return
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/conversation_textview.py new/gajim-0.16.4/src/conversation_textview.py
--- old/gajim-0.16.3/src/conversation_textview.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/conversation_textview.py 2015-09-26 15:58:52.000000000 +0200
@@ -122,6 +122,11 @@
if not parent:
self._disconnect_signals()
return
+ if isinstance(parent, gtk.EventBox):
+ parent = parent.get_parent()
+ if not parent:
+ self._disconnect_signals()
+ return
self._do_connect(parent, 'style-set', self.do_queue_draw)
self._do_connect(parent, 'focus-in-event', self.do_queue_draw)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/gui_interface.py new/gajim-0.16.4/src/gui_interface.py
--- old/gajim-0.16.3/src/gui_interface.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/gui_interface.py 2015-09-26 15:58:52.000000000 +0200
@@ -1138,13 +1138,15 @@
# Else disable autoaway
gajim.sleeper_state[account] = 'off'
- if obj.conn.archiving_136_supported:
+ if obj.conn.archiving_136_supported and gajim.config.get_per('accounts',
+ account, 'sync_logs_with_server'):
# Start merging logs from server
obj.conn.request_modifications_page(gajim.config.get_per('accounts',
account, 'last_archiving_time'))
gajim.config.set_per('accounts', account, 'last_archiving_time',
time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime()))
- if obj.conn.archiving_313_supported:
+ if obj.conn.archiving_313_supported and gajim.config.get_per('accounts',
+ account, 'sync_logs_with_server'):
mam_id = gajim.config.get_per('accounts', account, 'last_mam_id')
if mam_id:
obj.conn.request_archive(after=mam_id)
@@ -1370,6 +1372,13 @@
self.instances[account]['online_dialog']['ssl_error'].set_title(
_('SSL Certificate Verification for %s') % account)
+ def handle_event_non_anonymous_server(self, obj):
+ account = obj.conn.name
+ server = gajim.config.get_per('accounts', account, 'hostname')
+ dialogs.ErrorDialog(_('Non Anonymous Server'), sectext='Server "%s"'
+ 'does not support anonymous connection' % server,
+ transient_for=self.roster.window)
+
def handle_event_fingerprint_error(self, obj):
# ('FINGERPRINT_ERROR', account, (new_fingerprint,))
account = obj.conn.name
@@ -1566,6 +1575,7 @@
[self.handle_event_roster_item_exchange],
'signed-in': [self.handle_event_signed_in],
'ssl-error': [self.handle_event_ssl_error],
+ 'non-anonymous-server-error': [self.handle_event_non_anonymous_server],
'stream-conflict-received': [self.handle_event_resource_conflict],
'subscribe-presence-received': [
self.handle_event_subscribe_presence],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gajim-0.16.3/src/secrets.py new/gajim-0.16.4/src/secrets.py
--- old/gajim-0.16.3/src/secrets.py 2015-07-31 14:27:50.000000000 +0200
+++ new/gajim-0.16.4/src/secrets.py 2015-09-26 15:58:52.000000000 +0200
@@ -96,7 +96,7 @@
def load_secrets(filename):
global Secrets
- f = open(filename, 'rb')
+ f = open(filename, 'r')
try:
secrets = pickle.load(f)
1
0
Hello community,
here is the log from the commit of package perl-Mojolicious for openSUSE:Factory checked in at 2015-09-30 05:52:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mojolicious (Old)
and /work/SRC/openSUSE:Factory/.perl-Mojolicious.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Mojolicious"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Mojolicious/perl-Mojolicious.changes 2015-09-24 06:15:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Mojolicious.new/perl-Mojolicious.changes 2015-09-30 05:52:43.000000000 +0200
@@ -1,0 +2,22 @@
+Sun Sep 27 09:00:50 UTC 2015 - coolo(a)suse.com
+
+- updated to 6.22
+ see /usr/share/doc/packages/perl-Mojolicious/Changes
+
+ 6.22 2015-09-26
+ - Improved Mojo::JSON by reusing JSON::PP boolean constants.
+ - Improved uniq method in Mojo::Collection to accept a callback. (CandyAngel)
+ - Improved first and grep methods in Mojo::Collection to be able to call
+ methods.
+ - Improved support for empty attributes in Mojo::DOM::HTML.
+
+-------------------------------------------------------------------
+Wed Sep 23 08:48:53 UTC 2015 - coolo(a)suse.com
+
+- updated to 6.21
+ see /usr/share/doc/packages/perl-Mojolicious/Changes
+
+ 6.21 2015-09-23
+ - Added val method to Mojo::DOM.
+
+-------------------------------------------------------------------
Old:
----
Mojolicious-6.20.tar.gz
New:
----
Mojolicious-6.22.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Mojolicious.spec ++++++
--- /var/tmp/diff_new_pack.ESQ4Qj/_old 2015-09-30 05:52:44.000000000 +0200
+++ /var/tmp/diff_new_pack.ESQ4Qj/_new 2015-09-30 05:52:44.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Mojolicious
-Version: 6.20
+Version: 6.22
Release: 0
%define cpan_name Mojolicious
Summary: Real-time web framework
@@ -31,9 +31,11 @@
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(IO::Socket::IP) >= 0.26
+BuildRequires: perl(JSON::PP) >= 2.27103
BuildRequires: perl(Pod::Simple) >= 3.09
BuildRequires: perl(Time::Local) >= 1.2
Requires: perl(IO::Socket::IP) >= 0.26
+Requires: perl(JSON::PP) >= 2.27103
Requires: perl(Pod::Simple) >= 3.09
Requires: perl(Time::Local) >= 1.2
%{perl_requires}
++++++ Mojolicious-6.20.tar.gz -> Mojolicious-6.22.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/Changes new/Mojolicious-6.22/Changes
--- old/Mojolicious-6.20/Changes 2015-09-17 00:44:17.000000000 +0200
+++ new/Mojolicious-6.22/Changes 2015-09-26 04:10:45.000000000 +0200
@@ -1,4 +1,14 @@
+6.22 2015-09-26
+ - Improved Mojo::JSON by reusing JSON::PP boolean constants.
+ - Improved uniq method in Mojo::Collection to accept a callback. (CandyAngel)
+ - Improved first and grep methods in Mojo::Collection to be able to call
+ methods.
+ - Improved support for empty attributes in Mojo::DOM::HTML.
+
+6.21 2015-09-23
+ - Added val method to Mojo::DOM.
+
6.20 2015-09-15
- Deprecated Mojo::UserAgent::CookieJar::collecting in favor of
Mojo::UserAgent::CookieJar::ignore.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/META.json new/Mojolicious-6.22/META.json
--- old/Mojolicious-6.20/META.json 2015-09-17 00:49:25.000000000 +0200
+++ new/Mojolicious-6.22/META.json 2015-09-27 03:03:11.000000000 +0200
@@ -35,6 +35,7 @@
"runtime" : {
"requires" : {
"IO::Socket::IP" : "0.26",
+ "JSON::PP" : "2.27103",
"Pod::Simple" : "3.09",
"Time::Local" : "1.2",
"perl" : "5.010001"
@@ -57,6 +58,6 @@
},
"x_IRC" : "irc://irc.perl.org/#mojo"
},
- "version" : "6.20",
+ "version" : "6.22",
"x_serialization_backend" : "JSON::PP version 2.27300"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/META.yml new/Mojolicious-6.22/META.yml
--- old/Mojolicious-6.20/META.yml 2015-09-17 00:49:25.000000000 +0200
+++ new/Mojolicious-6.22/META.yml 2015-09-27 03:03:10.000000000 +0200
@@ -21,6 +21,7 @@
- t
requires:
IO::Socket::IP: '0.26'
+ JSON::PP: '2.27103'
Pod::Simple: '3.09'
Time::Local: '1.2'
perl: '5.010001'
@@ -30,5 +31,5 @@
homepage: http://mojolicio.us
license: http://www.opensource.org/licenses/artistic-license-2.0
repository: https://github.com/kraih/mojo.git
-version: '6.20'
+version: '6.22'
x_serialization_backend: 'CPAN::Meta::YAML version 0.016'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/Makefile.PL new/Mojolicious-6.22/Makefile.PL
--- old/Mojolicious-6.20/Makefile.PL 2015-08-29 01:37:48.000000000 +0200
+++ new/Mojolicious-6.22/Makefile.PL 2015-09-24 20:21:19.000000000 +0200
@@ -6,6 +6,7 @@
use ExtUtils::MakeMaker;
# Pod::Simple 3.09 first shipped with Perl 5.11.2
+# JSON::PP 2.27103 first shipped with Perl 5.13.9
# Time::Local 1.2 first shipped with Perl 5.13.9
# IO::Socket::IP 0.26 first shipped with Perl 5.19.8
WriteMakefile(
@@ -33,6 +34,7 @@
},
PREREQ_PM => {
'IO::Socket::IP' => '0.26',
+ 'JSON::PP' => '2.27103',
'Pod::Simple' => '3.09',
'Time::Local' => '1.2'
},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/lib/Mojo/Collection.pm new/Mojolicious-6.22/lib/Mojo/Collection.pm
--- old/Mojolicious-6.20/lib/Mojo/Collection.pm 2015-08-29 13:14:02.000000000 +0200
+++ new/Mojolicious-6.22/lib/Mojo/Collection.pm 2015-09-26 04:10:34.000000000 +0200
@@ -27,18 +27,18 @@
}
sub first {
- my ($self, $cb) = @_;
+ my ($self, $cb) = (shift, shift);
return $self->[0] unless $cb;
- return List::Util::first { $cb->($_) } @$self if ref $cb eq 'CODE';
- return List::Util::first { $_ =~ $cb } @$self;
+ return List::Util::first { $_ =~ $cb } @$self if ref $cb eq 'Regexp';
+ return List::Util::first { $_->$cb(@_) } @$self;
}
sub flatten { $_[0]->new(_flatten(@{$_[0]})) }
sub grep {
- my ($self, $cb) = @_;
- return $self->new(grep { $cb->($_) } @$self) if ref $cb eq 'CODE';
- return $self->new(grep { $_ =~ $cb } @$self);
+ my ($self, $cb) = (shift, shift);
+ return $self->new(grep { $_ =~ $cb } @$self) if ref $cb eq 'Regexp';
+ return $self->new(grep { $_->$cb(@_) } @$self);
}
sub join {
@@ -93,8 +93,10 @@
sub to_array { [@{shift()}] }
sub uniq {
+ my ($self, $cb) = (shift, shift);
my %seen;
- return $_[0]->new(grep { !$seen{$_}++ } @{$_[0]});
+ return $self->new(grep { !$seen{$_->$cb(@_)}++ } @$self) if $cb;
+ return $self->new(grep { !$seen{$_}++ } @$self);
}
sub _flatten {
@@ -190,11 +192,16 @@
my $first = $collection->first;
my $first = $collection->first(qr/foo/);
my $first = $collection->first(sub {...});
+ my $first = $collection->first($method);
+ my $first = $collection->first($method, @args);
-Evaluate regular expression or callback for each element in collection and
-return the first one that matched the regular expression, or for which the
-callback returned true. The element will be the first argument passed to the
-callback and is also available as C<$_>.
+Evaluate regular expression/callback for, or call method on, each element in
+collection and return the first one that matched the regular expression, or for
+which the callback/method returned true. The element will be the first argument
+passed to the callback and is also available as C<$_>.
+
+ # Longer version
+ my $first = $collection->first(sub { $_->$method(@args) });
# Find first value that contains the word "mojo"
my $interesting = $collection->first(qr/mojo/i);
@@ -216,11 +223,17 @@
my $new = $collection->grep(qr/foo/);
my $new = $collection->grep(sub {...});
+ my $new = $collection->grep($method);
+ my $new = $collection->grep($method, @args);
-Evaluate regular expression or callback for each element in collection and
-create a new collection with all elements that matched the regular expression,
-or for which the callback returned true. The element will be the first argument
-passed to the callback and is also available as C<$_>.
+Evaluate regular expression/callback for, or call method on, each element in
+collection and create a new collection with all elements that matched the
+regular expression, or for which the callback/method returned true. The element
+will be the first argument passed to the callback and is also available as
+C<$_>.
+
+ # Longer version
+ my $new = $collection->grep(sub { $_->$method(@args) });
# Find all values that contain the word "mojo"
my $interesting = $collection->grep(qr/mojo/i);
@@ -333,12 +346,23 @@
=head2 uniq
my $new = $collection->uniq;
+ my $new = $collection->uniq(sub {...});
+ my $new = $collection->uniq($method);
+ my $new = $collection->uniq($method, @args);
+
+Create a new collection without duplicate elements, using the string
+representation of either the elements or the return value of the
+callback/method.
-Create a new collection without duplicate elements.
+ # Longer version
+ my $new = $collection->uniq(sub { $_->$method(@args) });
# "foo bar baz"
Mojo::Collection->new('foo', 'bar', 'bar', 'baz')->uniq->join(' ');
+ # "[[1, 2], [2, 1]]"
+ Mojo::Collection->new([1, 2], [2, 1], [3, 2])->uniq(sub{ $_->[1] })->to_array;
+
=head1 SEE ALSO
L<Mojolicious>, L<Mojolicious::Guides>, L<http://mojolicio.us>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/lib/Mojo/DOM/CSS.pm new/Mojolicious-6.22/lib/Mojo/DOM/CSS.pm
--- old/Mojolicious-6.20/lib/Mojo/DOM/CSS.pm 2015-08-29 16:02:28.000000000 +0200
+++ new/Mojolicious-6.22/lib/Mojo/DOM/CSS.pm 2015-09-22 00:37:19.000000000 +0200
@@ -386,19 +386,6 @@
my $root = $css->select(':root');
-=head2 E:checked
-
-A user interface element C<E> which is checked (for instance a radio-button or
-checkbox).
-
- my $input = $css->select(':checked');
-
-=head2 E:empty
-
-An C<E> element that has no children (including text nodes).
-
- my $empty = $css->select(':empty');
-
=head2 E:nth-child(n)
An C<E> element, the C<n-th> child of its parent.
@@ -471,6 +458,19 @@
my $lonely = $css->select('div p:only-of-type');
+=head2 E:empty
+
+An C<E> element that has no children (including text nodes).
+
+ my $empty = $css->select(':empty');
+
+=head2 E:checked
+
+A user interface element C<E> which is checked (for instance a radio-button or
+checkbox).
+
+ my $input = $css->select(':checked');
+
=head2 E.warning
An C<E> element whose class is "warning".
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/lib/Mojo/DOM/HTML.pm new/Mojolicious-6.22/lib/Mojo/DOM/HTML.pm
--- old/Mojolicious-6.20/lib/Mojo/DOM/HTML.pm 2015-08-29 13:17:09.000000000 +0200
+++ new/Mojolicious-6.22/lib/Mojo/DOM/HTML.pm 2015-09-25 01:03:50.000000000 +0200
@@ -228,8 +228,9 @@
# Attributes
for my $key (sort keys %{$tree->[2]}) {
- $result .= " $key" and next unless defined(my $value = $tree->[2]{$key});
- $result .= " $key" . '="' . xml_escape($value) . '"';
+ my $value = $tree->[2]{$key};
+ $result .= $xml ? qq{ $key="$key"} : " $key" and next unless defined $value;
+ $result .= qq{ $key="} . xml_escape($value) . '"';
}
# No children
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/lib/Mojo/DOM.pm new/Mojolicious-6.22/lib/Mojo/DOM.pm
--- old/Mojolicious-6.20/lib/Mojo/DOM.pm 2015-08-29 13:17:09.000000000 +0200
+++ new/Mojolicious-6.22/lib/Mojo/DOM.pm 2015-09-23 00:05:13.000000000 +0200
@@ -159,6 +159,20 @@
sub type { shift->tree->[0] }
+sub val {
+ my $self = shift;
+
+ # "option"
+ return $self->{value} // $self->text if (my $tag = $self->tag) eq 'option';
+
+ # "textarea", "input" or "button"
+ return $tag eq 'textarea' ? $self->text : $self->{value} if $tag ne 'select';
+
+ # "select"
+ my $v = $self->find('option:checked')->map('val');
+ return exists $self->{multiple} ? $v->size ? $v->to_array : undef : $v->last;
+}
+
sub wrap { shift->_wrap(0, @_) }
sub wrap_content { shift->_wrap(1, @_) }
@@ -401,27 +415,57 @@
selector support. It will even try to interpret broken HTML and XML, so you
should not use it for validation.
+=head1 NODES AND ELEMENTS
+
+When we parse an HTML/XML fragment, it gets turned into a tree of nodes.
+
+ <!DOCTYPE html>
+ <html>
+ <head><title>Hello</title></head>
+ <body>World!</body>
+ </html>
+
+There are currently eight different kinds of nodes, C<cdata>, C<comment>,
+C<doctype>, C<pi>, C<raw>, C<root>, C<tag> and C<text>. Elements are nodes of
+the type C<tag>.
+
+ root
+ |- doctype (html)
+ +- tag (html)
+ |- tag (head)
+ | +- tag (title)
+ | +- raw (Hello)
+ +- tag (body)
+ +- text (World!)
+
+While all node types are represented as L<Mojo::DOM> objects, some methods like
+L</"attr"> and L</"namespace"> only apply to elements.
+
=head1 CASE-SENSITIVITY
L<Mojo::DOM> defaults to HTML semantics, that means all tags and attribute
names are lowercased and selectors need to be lowercase as well.
+ # HTML semantics
my $dom = Mojo::DOM->new('<P ID="greeting">Hi!</P>');
say $dom->at('p[id]')->text;
If XML processing instructions are found, the parser will automatically switch
into XML mode and everything becomes case-sensitive.
+ # XML semantics
my $dom = Mojo::DOM->new('<?xml version="1.0"?><P ID="greeting">Hi!</P>');
say $dom->at('P[ID]')->text;
XML detection can also be disabled with the L</"xml"> method.
# Force XML semantics
- $dom->xml(1);
+ my $dom = Mojo::DOM->new->xml(1)->parse('<P ID="greeting">Hi!</P>');
+ say $dom->at('P[ID]')->text;
# Force HTML semantics
- $dom->xml(0);
+ my $dom = Mojo::DOM->new->xml(0)->parse('<P ID="greeting">Hi!</P>');
+ say $dom->at('p[id]')->text;
=head1 METHODS
@@ -518,8 +562,11 @@
# "<p><b>123</b></p>"
$dom->parse('<p>Test<b>123</b></p>')->at('p')->child_nodes->first->remove;
- # "<!-- Test -->"
- $dom->parse('<!-- Test --><b>123</b>')->child_nodes->first;
+ # "<!DOCTYPE html>"
+ $dom->parse('<!DOCTYPE html><b>123</b>')->child_nodes->first;
+
+ # " Test "
+ $dom->parse('<b>123</b><!-- Test -->')->child_nodes->last->content;
=head2 children
@@ -778,7 +825,7 @@
my $parent = $dom->remove;
-Remove this node and return L</"parent">.
+Remove this node and return L</"root"> (for C<root> nodes) or L</"parent">.
# "<div></div>"
$dom->parse('<div><h1>Test</h1></div>')->at('h1')->remove;
@@ -791,7 +838,8 @@
my $parent = $dom->replace('<div>I ♥ Mojolicious!</div>');
-Replace this node with HTML/XML fragment and return L</"parent">.
+Replace this node with HTML/XML fragment and return L</"root"> (for C<root>
+nodes) or L</"parent">.
# "<div><h2>123</h2></div>"
$dom->parse('<div><h1>Test</h1></div>')->at('h1')->replace('<h2>123</h2>');
@@ -804,7 +852,7 @@
my $root = $dom->root;
-Return L<Mojo::DOM> object for root node.
+Return L<Mojo::DOM> object for C<root> node.
=head2 strip
@@ -869,6 +917,57 @@
This node's type, usually C<cdata>, C<comment>, C<doctype>, C<pi>, C<raw>,
C<root>, C<tag> or C<text>.
+ # "cdata"
+ $dom->parse('<![CDATA[Test]]>')->child_nodes->first->type;
+
+ # "comment"
+ $dom->parse('<!-- Test -->')->child_nodes->first->type;
+
+ # "doctype"
+ $dom->parse('<!DOCTYPE html>')->child_nodes->first->type;
+
+ # "pi"
+ $dom->parse('<?xml version="1.0"?>')->child_nodes->first->type;
+
+ # "raw"
+ $dom->parse('<title>Test</title>')->at('title')->child_nodes->first->type;
+
+ # "root"
+ $dom->parse('<p>Test</p>')->type;
+
+ # "tag"
+ $dom->parse('<p>Test</p>')->at('p')->type;
+
+ # "text"
+ $dom->parse('<p>Test</p>')->at('p')->child_nodes->first->type;
+
+=head2 val
+
+ my $value = $dom->val;
+
+Extract value from form element (such as C<button>, C<input>, C<option>,
+C<select> and C<textarea>) or return C<undef> if this element has no value. In
+the case of C<select> with C<multiple> attribute, find C<option> elements with
+C<selected> attribute and return an array reference with all values or C<undef>
+if none could be found.
+
+ # "a"
+ $dom->parse('<input name="test" value="a">')->at('input')->val;
+
+ # "b"
+ $dom->parse('<textarea>b</textarea>')->at('textarea')->val;
+
+ # "c"
+ $dom->parse('<option value="c">Test</option>')->at('option')->val;
+
+ # "d"
+ $dom->parse('<select><option selected>d</option></select>')
+ ->at('select')->val;
+
+ # "e"
+ $dom->parse('<select multiple><option selected>e</option></select>')
+ ->at('select')->val->[0];
+
=head2 wrap
$dom = $dom->wrap('<div></div>');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/lib/Mojo/JSON.pm new/Mojolicious-6.22/lib/Mojo/JSON.pm
--- old/Mojolicious-6.20/lib/Mojo/JSON.pm 2015-08-29 16:03:19.000000000 +0200
+++ new/Mojolicious-6.22/lib/Mojo/JSON.pm 2015-09-24 20:42:32.000000000 +0200
@@ -4,14 +4,12 @@
use B;
use Carp 'croak';
use Exporter 'import';
+use JSON::PP ();
use Mojo::Util;
use Scalar::Util 'blessed';
our @EXPORT_OK = qw(decode_json encode_json false from_json j to_json true);
-# Booleans
-my ($FALSE, $TRUE) = map { bless \(my $dummy = $_), 'Mojo::JSON::_Bool' } 0, 1;
-
# Escaped special character map (with u2028 and u2029)
my %ESCAPE = (
'"' => '"',
@@ -35,7 +33,7 @@
sub encode_json { Mojo::Util::encode 'UTF-8', _encode_value(shift) }
-sub false () {$FALSE}
+sub false () {JSON::PP::false}
sub from_json {
my $err = _decode(\my $value, shift, 1);
@@ -49,7 +47,7 @@
sub to_json { _encode_value(shift) }
-sub true () {$TRUE}
+sub true () {JSON::PP::true}
sub _decode {
my $valueref = shift;
@@ -197,10 +195,10 @@
if /\G([-]?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?)/gc;
# True
- return $TRUE if /\Gtrue/gc;
+ return true() if /\Gtrue/gc;
# False
- return $FALSE if /\Gfalse/gc;
+ return false() if /\Gfalse/gc;
# Null
return undef if /\Gnull/gc;
@@ -240,7 +238,7 @@
# True or false
return $$value ? 'true' : 'false' if $ref eq 'SCALAR';
- return $value ? 'true' : 'false' if $ref eq 'Mojo::JSON::_Bool';
+ return $value ? 'true' : 'false' if $ref eq 'JSON::PP::Boolean';
# Blessed reference with TO_JSON method
if (blessed $value && (my $sub = $value->can('TO_JSON'))) {
@@ -277,10 +275,6 @@
die "$context\n";
}
-# Emulate boolean type
-package Mojo::JSON::_Bool;
-use overload '""' => sub { ${$_[0]} }, fallback => 1;
-
1;
=encoding utf8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/lib/Mojo/Parameters.pm new/Mojolicious-6.22/lib/Mojo/Parameters.pm
--- old/Mojolicious-6.20/lib/Mojo/Parameters.pm 2015-08-29 16:31:35.000000000 +0200
+++ new/Mojolicious-6.22/lib/Mojo/Parameters.pm 2015-09-22 19:59:35.000000000 +0200
@@ -21,7 +21,7 @@
if (ref $value eq 'ARRAY') { push @$old, $name => $_ // '' for @$value }
# Single value
- else { push @$old, $name => $value }
+ elsif (defined $value) { push @$old, $name => $value }
}
return $self;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/lib/Mojo/UserAgent/CookieJar.pm new/Mojolicious-6.22/lib/Mojo/UserAgent/CookieJar.pm
--- old/Mojolicious-6.20/lib/Mojo/UserAgent/CookieJar.pm 2015-09-15 18:55:10.000000000 +0200
+++ new/Mojolicious-6.22/lib/Mojo/UserAgent/CookieJar.pm 2015-09-18 22:06:45.000000000 +0200
@@ -168,11 +168,11 @@
# Ignore all cookies
$jar->ignore(sub { 1 });
- # Ignore cookies with domain "com"
+ # Ignore cookies for domains "com", "net" and "org"
$jar->ignore(sub {
my $cookie = shift;
return undef unless my $domain = $cookie->domain;
- return $domain eq 'com';
+ return $domain eq 'com' || $domain eq 'net' || $domain eq 'org';
});
=head2 max_cookie_size
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/lib/Mojo/UserAgent/Transactor.pm new/Mojolicious-6.22/lib/Mojo/UserAgent/Transactor.pm
--- old/Mojolicious-6.20/lib/Mojo/UserAgent/Transactor.pm 2015-08-29 13:17:09.000000000 +0200
+++ new/Mojolicious-6.22/lib/Mojo/UserAgent/Transactor.pm 2015-09-22 20:00:06.000000000 +0200
@@ -192,7 +192,7 @@
my @parts;
for my $name (sort keys %$form) {
- my $values = $form->{$name};
+ next unless defined(my $values = $form->{$name});
for my $value (ref $values eq 'ARRAY' ? @$values : ($values)) {
push @parts, my $part = Mojo::Content::Single->new;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/lib/Mojo/UserAgent.pm new/Mojolicious-6.22/lib/Mojo/UserAgent.pm
--- old/Mojolicious-6.20/lib/Mojo/UserAgent.pm 2015-09-15 18:45:39.000000000 +0200
+++ new/Mojolicious-6.22/lib/Mojo/UserAgent.pm 2015-09-18 14:30:58.000000000 +0200
@@ -717,7 +717,7 @@
L<Mojo::UserAgent::Transactor/"tx"> (except for the C<DELETE> method, which is
implied). You can also append a callback to perform requests non-blocking.
- $ua->delete('http://example.com' => sub {
+ $ua->delete('http://example.com' => json => {a => 'b'} => sub {
my ($ua, $tx) = @_;
say $tx->res->body;
});
@@ -737,7 +737,7 @@
for the C<GET> method, which is implied). You can also append a callback to
perform requests non-blocking.
- $ua->get('http://example.com' => sub {
+ $ua->get('http://example.com' => json => {a => 'b'} => sub {
my ($ua, $tx) = @_;
say $tx->res->body;
});
@@ -757,7 +757,7 @@
L<Mojo::UserAgent::Transactor/"tx"> (except for the C<HEAD> method, which is
implied). You can also append a callback to perform requests non-blocking.
- $ua->head('http://example.com' => sub {
+ $ua->head('http://example.com' => json => {a => 'b'} => sub {
my ($ua, $tx) = @_;
say $tx->res->body;
});
@@ -777,7 +777,7 @@
L<Mojo::UserAgent::Transactor/"tx"> (except for the C<OPTIONS> method, which is
implied). You can also append a callback to perform requests non-blocking.
- $ua->options('http://example.com' => sub {
+ $ua->options('http://example.com' => json => {a => 'b'} => sub {
my ($ua, $tx) = @_;
say $tx->res->body;
});
@@ -797,7 +797,7 @@
L<Mojo::UserAgent::Transactor/"tx"> (except for the C<PATCH> method, which is
implied). You can also append a callback to perform requests non-blocking.
- $ua->patch('http://example.com' => sub {
+ $ua->patch('http://example.com' => json => {a => 'b'} => sub {
my ($ua, $tx) = @_;
say $tx->res->body;
});
@@ -817,7 +817,7 @@
L<Mojo::UserAgent::Transactor/"tx"> (except for the C<POST> method, which is
implied). You can also append a callback to perform requests non-blocking.
- $ua->post('http://example.com' => sub {
+ $ua->post('http://example.com' => json => {a => 'b'} => sub {
my ($ua, $tx) = @_;
say $tx->res->body;
});
@@ -837,7 +837,7 @@
for the C<PUT> method, which is implied). You can also append a callback to
perform requests non-blocking.
- $ua->put('http://example.com' => sub {
+ $ua->put('http://example.com' => json => {a => 'b'} => sub {
my ($ua, $tx) = @_;
say $tx->res->body;
});
@@ -869,7 +869,7 @@
receive either a L<Mojo::Transaction::WebSocket> or L<Mojo::Transaction::HTTP>
object, depending on if the handshake was successful.
- $ua->websocket('wss://example.com/echo' => sub {
+ $ua->websocket('wss://example.com/echo' => ['v1.proto'] => sub {
my ($ua, $tx) = @_;
say 'WebSocket handshake failed!' and return unless $tx->is_websocket;
$tx->on(finish => sub {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/lib/Mojolicious.pm new/Mojolicious-6.22/lib/Mojolicious.pm
--- old/Mojolicious-6.20/lib/Mojolicious.pm 2015-09-13 01:36:47.000000000 +0200
+++ new/Mojolicious-6.22/lib/Mojolicious.pm 2015-09-23 03:05:07.000000000 +0200
@@ -43,7 +43,7 @@
has validator => sub { Mojolicious::Validator->new };
our $CODENAME = 'Clinking Beer Mugs';
-our $VERSION = '6.20';
+our $VERSION = '6.22';
sub AUTOLOAD {
my $self = shift;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/lib/Test/Mojo.pm new/Mojolicious-6.22/lib/Test/Mojo.pm
--- old/Mojolicious-6.20/lib/Test/Mojo.pm 2015-08-29 13:17:09.000000000 +0200
+++ new/Mojolicious-6.22/lib/Test/Mojo.pm 2015-09-21 22:13:57.000000000 +0200
@@ -701,7 +701,7 @@
# Run additional tests on the transaction
$t->get_ok('/foo')->status_is(200);
- is $t->tx->res->dom->at('input')->{value}, 'whatever', 'right value';
+ is $t->tx->res->dom->at('input')->val, 'whatever', 'right value';
=head2 head_ok
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/t/mojo/collection.t new/Mojolicious-6.22/t/mojo/collection.t
--- old/Mojolicious-6.20/t/mojo/collection.t 2015-08-29 01:31:10.000000000 +0200
+++ new/Mojolicious-6.22/t/mojo/collection.t 2015-09-25 22:40:28.000000000 +0200
@@ -46,6 +46,9 @@
is $collection->first(sub { shift() < 5 }), 4, 'right result';
is $collection->first(qr/[1-4]/), 4, 'right result';
is $collection->first(sub { ref $_ eq 'CODE' }), undef, 'no result';
+$collection = c(c(1, 2, 3), c(4, 5, 6), c(7, 8, 9));
+is_deeply $collection->first(first => sub { $_ == 5 })->to_array, [4, 5, 6],
+ 'right result';
$collection = c();
is $collection->first, undef, 'no result';
is $collection->first(sub {defined}), undef, 'no result';
@@ -69,6 +72,9 @@
'right elements';
is_deeply $collection->grep(sub { $_ < 1 })->to_array, [], 'no elements';
is_deeply $collection->grep(sub { $_ > 9 })->to_array, [], 'no elements';
+$collection = c(c(1, 2, 3), c(4, 5, 6), c(7, 8, 9));
+is_deeply $collection->grep(first => sub { $_ >= 5 })->flatten->to_array,
+ [4, 5, 6, 7, 8, 9], 'right result';
# join
$collection = c(1, 2, 3);
@@ -153,6 +159,12 @@
is_deeply $collection->uniq->to_array, [1, 2, 3, 4, 5], 'right result';
is_deeply $collection->uniq->reverse->uniq->to_array, [5, 4, 3, 2, 1],
'right result';
+$collection = c([1, 2, 3], [3, 2, 1], [3, 1, 2]);
+is_deeply $collection->uniq(sub { $_->[1] }), [[1, 2, 3], [3, 1, 2]],
+ 'right result';
+$collection = c(c(1, 2), c(1, 2), c(2, 1));
+is_deeply $collection->uniq(join => ',')->flatten->to_array, [1, 2, 2, 1],
+ 'right result';
# TO_JSON
is encode_json(c(1, 2, 3)), '[1,2,3]', 'right result';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/t/mojo/dom.t new/Mojolicious-6.22/t/mojo/dom.t
--- old/Mojolicious-6.20/t/mojo/dom.t 2015-08-29 01:31:15.000000000 +0200
+++ new/Mojolicious-6.22/t/mojo/dom.t 2015-09-25 01:00:02.000000000 +0200
@@ -1918,7 +1918,8 @@
ok $element->root->xml, 'XML mode active';
$dom->replace('<XMLTest2 /><XMLTest3 just="works" />');
ok $dom->xml, 'XML mode active';
-is $dom, '<XMLTest2 /><XMLTest3 just="works" />', 'right result';
+$dom->at('XMLTest2')->{foo} = undef;
+is $dom, '<XMLTest2 foo="foo" /><XMLTest3 just="works" />', 'right result';
# Ensure HTML semantics
ok !Mojo::DOM->new->xml(undef)->parse('<?xml version="1.0"?>')->xml,
@@ -2173,6 +2174,49 @@
is $dom->at('div pre code')->all_text(0), "like\n it\n really",
'right text';
+# Form values
+$dom = Mojo::DOM->new(<<EOF);
+<form action="/foo">
+ <p>Test</p>
+ <input type="text" name="a" value="A" />
+ <input type="checkbox" checked name="b" value="B">
+ <input type="radio" checked name="c" value="C">
+ <select multiple name="f">
+ <option value="F">G</option>
+ <optgroup>
+ <option>H</option>
+ <option selected>I</option>
+ </optgroup>
+ <option value="J" selected>K</option>
+ </select>
+ <select name="n"><option>N</option></select>
+ <select multiple name="q"><option>Q</option></select>
+ <select name="d">
+ <option selected>R</option>
+ <option selected>D</option>
+ </select>
+ <textarea name="m">M</textarea>
+ <button name="o" value="O">No!</button>
+ <input type="submit" name="p" value="P" />
+</form>
+EOF
+is $dom->at('p')->val, undef, 'no value';
+is $dom->at('input')->val, 'A', 'right value';
+is $dom->at('input:checked')->val, 'B', 'right value';
+is $dom->at('input:checked[type=radio]')->val, 'C', 'right value';
+is_deeply $dom->at('select')->val, ['I', 'J'], 'right values';
+is $dom->at('select option')->val, 'F', 'right value';
+is $dom->at('select optgroup option:not([selected])')->val, 'H', 'right value';
+is $dom->find('select')->[1]->at('option')->val, 'N', 'right value';
+is $dom->find('select')->[1]->val, undef, 'no value';
+is_deeply $dom->find('select')->[2]->val, undef, 'no value';
+is $dom->find('select')->[2]->at('option')->val, 'Q', 'right value';
+is_deeply $dom->find('select')->last->val, 'D', 'right value';
+is_deeply $dom->find('select')->last->at('option')->val, 'R', 'right value';
+is $dom->at('textarea')->val, 'M', 'right value';
+is $dom->at('button')->val, 'O', 'right value';
+is $dom->find('form input')->last->val, 'P', 'right value';
+
# PoCo example with whitespace sensitive text
$dom = Mojo::DOM->new(<<EOF);
<?xml version="1.0" encoding="UTF-8"?>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/t/mojo/home.t new/Mojolicious-6.22/t/mojo/home.t
--- old/Mojolicious-6.20/t/mojo/home.t 2015-08-29 01:31:16.000000000 +0200
+++ new/Mojolicious-6.22/t/mojo/home.t 2015-09-18 14:10:09.000000000 +0200
@@ -11,25 +11,25 @@
use Mojo::Home;
# ENV detection
+my $target = canonpath realpath cwd;
{
local $ENV{MOJO_HOME} = '.';
my $home = Mojo::Home->new->detect;
is_deeply [split /\\|\//, canonpath($home->to_string)],
- [split /\\|\//, canonpath(realpath cwd())], 'right path detected';
+ [split /\\|\//, $target], 'right path detected';
}
# Class detection
my $original = catdir splitdir $FindBin::Bin;
my $home = Mojo::Home->new->detect;
-my $target = realpath $original;
-is_deeply [split /\\|\//, $target], [split /\\|\//, $home],
+is_deeply [split /\\|\//, realpath $original], [split /\\|\//, $home],
'right path detected';
# Specific class detection
$INC{'MyClass.pm'} = 'MyClass.pm';
$home = Mojo::Home->new->detect('MyClass');
is_deeply [split /\\|\//, canonpath($home->to_string)],
- [split /\\|\//, canonpath(realpath cwd())], 'right path detected';
+ [split /\\|\//, $target], 'right path detected';
# FindBin detection
$home = Mojo::Home->new->detect(undef);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/t/mojo/parameters.t new/Mojolicious-6.22/t/mojo/parameters.t
--- old/Mojolicious-6.20/t/mojo/parameters.t 2015-08-29 01:31:20.000000000 +0200
+++ new/Mojolicious-6.22/t/mojo/parameters.t 2015-09-22 20:04:07.000000000 +0200
@@ -51,7 +51,7 @@
# Append
$params = Mojo::Parameters->new('q=1');
-$params->append(a => 4, a => 5, b => 6, b => 7);
+$params->append(a => 4, a => 5, b => 6, b => 7, c => undef, c => []);
is_deeply $params->to_hash, {a => [4, 5], b => [6, 7], q => 1},
'right structure';
is_deeply $params->names, [qw(a b q)], 'right structure';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/t/mojo/transactor.t new/Mojolicious-6.22/t/mojo/transactor.t
--- old/Mojolicious-6.20/t/mojo/transactor.t 2015-08-29 01:31:29.000000000 +0200
+++ new/Mojolicious-6.22/t/mojo/transactor.t 2015-09-23 00:47:25.000000000 +0200
@@ -150,7 +150,7 @@
$tx
= $t->tx(POST => 'http://example.com/foo' =>
{Accept => '*/*', 'Content-Type' => 'application/mojo-form'} => form =>
- {test => 123} => charset => 'UTF-8');
+ {test => 123, nothing => undef} => charset => 'UTF-8');
is $tx->req->url->to_abs, 'http://example.com/foo', 'right URL';
is $tx->req->method, 'POST', 'right method';
is $tx->req->headers->content_type, 'application/mojo-form',
@@ -159,8 +159,10 @@
is $tx->req->body, 'test=123', 'right content';
# Multipart form
-$tx = $t->tx(POST => 'http://example.com/foo' =>
- {'Content-Type' => 'multipart/form-data'} => form => {test => 123});
+$tx
+ = $t->tx(POST => 'http://example.com/foo' =>
+ {'Content-Type' => 'multipart/form-data'} => form =>
+ {test => 123, nothing => undef});
is $tx->req->url->to_abs, 'http://example.com/foo', 'right URL';
is $tx->req->method, 'POST', 'right method';
is $tx->req->headers->content_type, 'multipart/form-data',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/t/mojolicious/restful_lite_app.t new/Mojolicious-6.22/t/mojolicious/restful_lite_app.t
--- old/Mojolicious-6.20/t/mojolicious/restful_lite_app.t 2015-08-29 01:31:46.000000000 +0200
+++ new/Mojolicious-6.22/t/mojolicious/restful_lite_app.t 2015-09-24 20:28:04.000000000 +0200
@@ -3,6 +3,7 @@
BEGIN { $ENV{MOJO_REACTOR} = 'Mojo::Reactor::Poll' }
use Test::More;
+use Mojo::JSON qw(false true);
use Mojolicious::Lite;
use Test::Mojo;
@@ -88,14 +89,14 @@
->status_is(200)->json_is({best => 'txt'});
# Nothing
-$t->get_ok('/wants_json')->status_is(200)->json_is({wants_json => 0});
+$t->get_ok('/wants_json')->status_is(200)->json_is({wants_json => false});
# Unsupported
-$t->get_ok('/wants_json.xml')->status_is(200)->json_is({wants_json => 0});
+$t->get_ok('/wants_json.xml')->status_is(200)->json_is({wants_json => false});
# Accept "json"
$t->get_ok('/wants_json' => {Accept => 'application/json'})->status_is(200)
- ->json_is({wants_json => 1});
+ ->json_is({wants_json => true});
# Ajax
my $ajax = 'text/html;q=0.1,application/json';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.20/t/mojolicious/validation_lite_app.t new/Mojolicious-6.22/t/mojolicious/validation_lite_app.t
--- old/Mojolicious-6.20/t/mojolicious/validation_lite_app.t 2015-08-29 01:31:51.000000000 +0200
+++ new/Mojolicious-6.22/t/mojolicious/validation_lite_app.t 2015-09-23 00:07:33.000000000 +0200
@@ -263,7 +263,7 @@
->element_exists('[value=bar]')->element_exists_not('.field-with-error');
# Correct CSRF token
-my $token = $t->ua->get('/forgery')->res->dom->at('[name=csrf_token]')->{value};
+my $token = $t->ua->get('/forgery')->res->dom->at('[name=csrf_token]')->val;
$t->post_ok('/forgery' => form => {csrf_token => $token, foo => 'bar'})
->status_is(200)->content_unlike(qr/Wrong or missing CSRF token!/)
->element_exists('[value=bar]')->element_exists_not('.field-with-error');
1
0
Hello community,
here is the log from the commit of package gwenview5 for openSUSE:Factory checked in at 2015-09-30 05:52:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gwenview5 (Old)
and /work/SRC/openSUSE:Factory/.gwenview5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gwenview5"
Changes:
--------
--- /work/SRC/openSUSE:Factory/gwenview5/gwenview5.changes 2015-09-03 18:07:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gwenview5.new/gwenview5.changes 2015-09-30 05:52:40.000000000 +0200
@@ -1,0 +2,8 @@
+Sun Sep 13 18:58:13 UTC 2015 - tittiatcoke(a)gmail.com
+
+- Update to KDE Applications 15.08.1
+ * KDE Applications 15.08.1
+ * https://www.kde.org/announcements/announce-applications-15.08.1.php
+
+
+-------------------------------------------------------------------
Old:
----
gwenview-15.08.0.tar.xz
New:
----
gwenview-15.08.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gwenview5.spec ++++++
--- /var/tmp/diff_new_pack.B4nELC/_old 2015-09-30 05:52:41.000000000 +0200
+++ /var/tmp/diff_new_pack.B4nELC/_new 2015-09-30 05:52:41.000000000 +0200
@@ -18,7 +18,7 @@
%define rname gwenview
Name: gwenview5
-Version: 15.08.0
+Version: 15.08.1
Release: 0
Summary: Simple Image Viewer for KDE
License: GPL-2.0+
@@ -65,7 +65,7 @@
%install
%kf5_makeinstall -C build
- %suse_update_desktop_file -r org.kde.gwenview Graphics RasterGraphics Viewer
+ %suse_update_desktop_file -r org.kde.gwenview Graphics RasterGraphics Viewer KDE
%post -p /sbin/ldconfig
++++++ gwenview-15.08.0.tar.xz -> gwenview-15.08.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenview-15.08.0/CMakeLists.txt new/gwenview-15.08.1/CMakeLists.txt
--- old/gwenview-15.08.0/CMakeLists.txt 2015-08-12 01:15:24.000000000 +0200
+++ new/gwenview-15.08.1/CMakeLists.txt 2015-09-10 00:45:29.000000000 +0200
@@ -3,7 +3,7 @@
# KDE Application Version, managed by release script
set (KDE_APPLICATIONS_VERSION_MAJOR "15")
set (KDE_APPLICATIONS_VERSION_MINOR "08")
-set (KDE_APPLICATIONS_VERSION_MICRO "0")
+set (KDE_APPLICATIONS_VERSION_MICRO "1")
set (KDE_APPLICATIONS_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}")
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenview-15.08.0/app/gwenview.appdata.xml new/gwenview-15.08.1/app/gwenview.appdata.xml
--- old/gwenview-15.08.0/app/gwenview.appdata.xml 2015-08-12 01:15:24.000000000 +0200
+++ new/gwenview-15.08.1/app/gwenview.appdata.xml 2015-09-10 00:45:29.000000000 +0200
@@ -218,7 +218,7 @@
<li xml:lang="zh-TW">可以是單獨的應用程式,也可以嵌入在 Konqueror 瀏覽器中</li>
<li>Can be extended using KIPI plugins.</li>
<li xml:lang="ast">Pue estendese col usu de complementos KIPI.</li>
- <li xml:lang="ca">Es pot estendre emprant els connectors KIPI</li>
+ <li xml:lang="ca">Es pot estendre emprant els connectors KIPI.</li>
<li xml:lang="de">Kann durch KIPI-Module erweitert werden.</li>
<li xml:lang="el">Μπορεί να επεκταθεί με πρόσθετα KIPI.</li>
<li xml:lang="en-GB">Can be extended using KIPI plugins.</li>
1
0
Hello community,
here is the log from the commit of package xf86-video-siliconmotion for openSUSE:Factory checked in at 2015-09-30 05:52:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-video-siliconmotion (Old)
and /work/SRC/openSUSE:Factory/.xf86-video-siliconmotion.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-video-siliconmotion"
Changes:
--------
--- /work/SRC/openSUSE:Factory/xf86-video-siliconmotion/xf86-video-siliconmotion.changes 2015-05-11 19:49:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xf86-video-siliconmotion.new/xf86-video-siliconmotion.changes 2015-09-30 05:52:38.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Sep 27 11:14:54 UTC 2015 - mpluskal(a)suse.com
+
+- Add gpg signature
+
+-------------------------------------------------------------------
New:
----
xf86-video-siliconmotion-1.7.8.tar.bz2.sig
xf86-video-siliconmotion.keyring
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xf86-video-siliconmotion.spec ++++++
--- /var/tmp/diff_new_pack.iLLXgy/_old 2015-09-30 05:52:39.000000000 +0200
+++ /var/tmp/diff_new_pack.iLLXgy/_new 2015-09-30 05:52:39.000000000 +0200
@@ -24,6 +24,8 @@
Group: System/X11/Servers/XF86_4
Url: http://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.t…
+Source1: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.t…
+Source2: %{name}.keyring
BuildRequires: pkg-config
BuildRequires: pkgconfig(fontsproto)
BuildRequires: pkgconfig(pciaccess) >= 0.8.0
1
0
Hello community,
here is the log from the commit of package xf86-input-libinput for openSUSE:Factory checked in at 2015-09-30 05:52:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-input-libinput (Old)
and /work/SRC/openSUSE:Factory/.xf86-input-libinput.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-input-libinput"
Changes:
--------
--- /work/SRC/openSUSE:Factory/xf86-input-libinput/xf86-input-libinput.changes 2015-09-02 00:36:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xf86-input-libinput.new/xf86-input-libinput.changes 2015-09-30 05:52:37.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Sep 27 10:35:03 UTC 2015 - mpluskal(a)suse.com
+
+- Add gpg signature
+
+-------------------------------------------------------------------
New:
----
xf86-input-libinput-0.14.0.tar.bz2.sig
xf86-input-libinput.keyring
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xf86-input-libinput.spec ++++++
--- /var/tmp/diff_new_pack.sobpm0/_old 2015-09-30 05:52:38.000000000 +0200
+++ /var/tmp/diff_new_pack.sobpm0/_new 2015-09-30 05:52:38.000000000 +0200
@@ -24,7 +24,9 @@
Group: System/X11/Servers/XF86_4
Url: http://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.t…
-Source1: 90-libinput.conf
+Source1: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.t…
+Source2: %{name}.keyring
+Source3: 90-libinput.conf
BuildRequires: pkg-config
BuildRequires: pkgconfig(inputproto)
BuildRequires: pkgconfig(libinput) >= 0.21.0
@@ -65,7 +67,7 @@
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
install -d %{buildroot}%{_sysconfdir}/X11/xorg.conf.d
-install -p -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/90-libinput.conf
+install -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/90-libinput.conf
%files
%defattr(-,root,root)
1
0
Hello community,
here is the log from the commit of package proj for openSUSE:Factory checked in at 2015-09-30 05:52:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/proj (Old)
and /work/SRC/openSUSE:Factory/.proj.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "proj"
Changes:
--------
--- /work/SRC/openSUSE:Factory/proj/proj.changes 2015-05-10 10:47:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.proj.new/proj.changes 2015-09-30 05:52:36.000000000 +0200
@@ -1,0 +2,10 @@
+Sun Sep 27 14:47:51 UTC 2015 - mpluskal(a)suse.com
+
+- Update to 4.9.2
+ o proj_def.dat was missing from source distribution
+ see https://github.com/OSGeo/proj.4/issues/274 for more detail
+ o Update Geodesic library from GeographicLib
+ o Remove setlocale() use in pj_init_ctx()
+ o Renamed PVALUE in pj_param.c to prevent clash with Windows
+
+-------------------------------------------------------------------
Old:
----
proj-4.9.1.tar.gz
New:
----
proj-4.9.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ proj.spec ++++++
--- /var/tmp/diff_new_pack.Ja8Mpa/_old 2015-09-30 05:52:37.000000000 +0200
+++ /var/tmp/diff_new_pack.Ja8Mpa/_new 2015-09-30 05:52:37.000000000 +0200
@@ -18,7 +18,7 @@
%define libname lib%{name}9
Name: proj
-Version: 4.9.1
+Version: 4.9.2
Release: 0
Summary: Cartographic projection software
License: MIT
++++++ proj-4.9.1.tar.gz -> proj-4.9.2.tar.gz ++++++
++++ 5560 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package nghttp2 for openSUSE:Factory checked in at 2015-09-30 05:52:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nghttp2 (Old)
and /work/SRC/openSUSE:Factory/.nghttp2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nghttp2"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nghttp2/nghttp2.changes 2015-09-17 09:20:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nghttp2.new/nghttp2.changes 2015-09-30 05:52:34.000000000 +0200
@@ -1,0 +2,29 @@
+Sun Sep 27 12:38:17 UTC 2015 - mpluskal(a)suse.com
+
+- Update to 1.3.4
+ * Make traditional init script fail if new config file is broken
+ (Patch from Janusz Dziemidowicz)
+ * nghttpx-logrotate: Don't use killall since we have multiple
+ processes
+ * nghttpx: Fix improper signal handling
+- Changes for 1.3.3
+ * Fix bug in padding handling of DATA frame
+ * Use hash table for dynamic table lookup
+ * More warning flags for --enable-werror
+ * Update mruby
+ * h2load: HTTP/1.1 support (Patch from Lucas Pardue)
+ * nghttpx: Do not try to set TCP_NODELAY when frontend is an
+ UNIX socket (Patch from Janusz Dziemidowicz)
+ * nghttpx: Chown UNIX domain socket to user specified as --user
+ * nghttpx: Split monolithic one process into control and worker
+ processes
+ * nghttpx: Handle SSL/TLS data following PROXY protocol line
+- Changes for 1.3.2
+ * Check header block limit after new stream is opened
+ * nghttp: Show error if HEADERS frame cannot be sent for
+ whatever reason
+ * nghttpx: Fix assertion failure on TLS handshake
+ * nghttpx: Add x-http2-push header field for pushed resource
+ * nghttpx: Fix compile error with --disable-threads
+
+-------------------------------------------------------------------
Old:
----
nghttp2-1.3.1.tar.xz
New:
----
nghttp2-1.3.4.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nghttp2.spec ++++++
--- /var/tmp/diff_new_pack.z5HTQk/_old 2015-09-30 05:52:35.000000000 +0200
+++ /var/tmp/diff_new_pack.z5HTQk/_new 2015-09-30 05:52:35.000000000 +0200
@@ -19,7 +19,7 @@
%define lib_name lib%{name}-14
%define lib_name_asio lib%{name}_asio1
Name: nghttp2
-Version: 1.3.1
+Version: 1.3.4
Release: 0
Summary: Implementation of Hypertext Transfer Protocol version 2 in C
License: MIT
++++++ nghttp2-1.3.1.tar.xz -> nghttp2-1.3.4.tar.xz ++++++
++++ 10616 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-netaddr for openSUSE:Factory checked in at 2015-09-30 05:52:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-netaddr (Old)
and /work/SRC/openSUSE:Factory/.python-netaddr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-netaddr"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-netaddr/python-netaddr.changes 2015-04-21 10:53:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-netaddr.new/python-netaddr.changes 2015-09-30 05:52:32.000000000 +0200
@@ -1,0 +2,33 @@
+Fri Sep 25 16:49:07 UTC 2015 - michael(a)stroeder.com
+
+- update to 0.7.18:
+ * cidr_merge() algorithm is now O(n) and much faster.
+ * nmap target specification now fully supported including IPv4 CIDR
+ prefixes and IPv6 addresses.
+ FIXED Issue 100: https://github.com/drkjam/netaddr/issues/100
+ - nmap.py - CIDR targets
+ FIXED Issue 112: https://github.com/drkjam/netaddr/issues/112
+ - Observation: netaddr slower under pypy
+ * Fixed a regression with valid_mac due to shadow import in the
+ netaddr module.
+ FIXED Issue 114: https://github.com/drkjam/netaddr/issues/114
+ - netaddr.valid_mac('00-B0-D0-86-BB-F7')==False for 0.7.16 but True for 0.7.15
+ * IPv4 networks with /31 and /32 netmasks are now treated according to
+ RFC 3021. Thanks to kalombos and braaen.
+ FIXED Issue 109: https://github.com/drkjam/netaddr/issues/109
+ - Identify registry of global IPv6 unicast allocations
+ FIXED Issue 108: https://github.com/drkjam/netaddr/issues/108
+ - One part of docs unclear?
+ FIXED Issue 106: https://github.com/drkjam/netaddr/issues/106
+ - Eui64 Updated (pull request for Issue 105)
+ FIXED Issue 105: https://github.com/drkjam/netaddr/issues/105
+ - Support dialects for EUI-64 addresses
+ FIXED Issue 102: https://github.com/drkjam/netaddr/issues/102
+ - 0.7.15 tarball is missing tests.
+ FIXED Issue 96: https://github.com/drkjam/netaddr/issues/96
+ - Wrong hosts and broadcasts for /31 and /32 networks.
+ * Fix slowness in IPSet.__contains__. Thanks to novas0x2a for noticing.
+ * Normalize IPNetworks when they are added to an IPSet
+ * Converted test suite to py.test
+
+-------------------------------------------------------------------
Old:
----
netaddr-0.7.14.tar.gz
New:
----
netaddr-0.7.18.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-netaddr.spec ++++++
--- /var/tmp/diff_new_pack.JvgJpA/_old 2015-09-30 05:52:33.000000000 +0200
+++ /var/tmp/diff_new_pack.JvgJpA/_new 2015-09-30 05:52:33.000000000 +0200
@@ -17,7 +17,7 @@
Name: python-netaddr
-Version: 0.7.14
+Version: 0.7.18
Release: 0
Url: http://github.com/drkjam/netaddr
Summary: Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses
@@ -66,6 +66,6 @@
%defattr(-,root,root,-)
%{python_sitelib}/*
%{_bindir}/netaddr
-%doc AUTHORS CHANGELOG COPYRIGHT README LICENSE THANKS
+%doc AUTHORS CHANGELOG COPYRIGHT README.md LICENSE THANKS
%changelog
++++++ netaddr-0.7.14.tar.gz -> netaddr-0.7.18.tar.gz ++++++
++++ 65550 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package gramofile for openSUSE:Factory checked in at 2015-09-30 05:52:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gramofile (Old)
and /work/SRC/openSUSE:Factory/.gramofile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gramofile"
Changes:
--------
--- /work/SRC/openSUSE:Factory/gramofile/gramofile.changes 2012-05-03 10:56:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gramofile.new/gramofile.changes 2015-09-30 05:52:31.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Sep 25 16:46:26 UTC 2015 - mpluskal(a)suse.com
+
+- Use url for source
+- Cleanup spec file with spec-cleaner
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gramofile.spec ++++++
--- /var/tmp/diff_new_pack.KIqRtZ/_old 2015-09-30 05:52:32.000000000 +0200
+++ /var/tmp/diff_new_pack.KIqRtZ/_new 2015-09-30 05:52:32.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package gramofile
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,14 @@
Name: gramofile
-BuildRequires: ncurses-devel
-#BuildRequires: fftw3-devel
-Url: http://www.opensourcepartners.nl/~costar/gramofile/
Version: 1.6
Release: 0
Summary: Digitize Audio Records
License: GPL-2.0+
Group: Productivity/Multimedia/Sound/Editors and Convertors
-Source0: gramofile-%{version}.tar.gz
+#BuildRequires: fftw3-devel
+Url: http://www.opensourcepartners.nl/~costar/gramofile/
+Source0: http://www.opensourcepartners.nl/~costar/gramofile/gramofile-%{version}.tar…
Source1: gramofile.1
Patch1: gramofile-1.6-makefiles.dif
Patch2: gramofile-codecleanup.dif
@@ -42,7 +41,7 @@
Patch13: 70-endian-fixes.dpatch
Patch14: 80_fix_wav_length.dpatch
Patch15: 91_rename_cdrecord_wodim.dpatch
-
+BuildRequires: ncurses-devel
Provides: gramofil = %{version}-%{release}
Obsoletes: gramofil < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -54,12 +53,6 @@
saved in WAV format, making it easy to record on CD with programs like
cdrecord or xcdroast.
-
-
-Authors:
---------
- J.A. Bezemer <J.A.Bezemer(a)ITS.TUDelft.NL>
-
%prep
%setup -q
%patch1 -p1
@@ -80,20 +73,17 @@
%patch15
%build
-%{__make} %{?_smp_mflags} CC="%__cc"
+make %{?_smp_mflags} CC="gcc"
%install
-make CC="%__cc" DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} install
+make CC="gcc" DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} install
install -Dm644 %{SOURCE1} %{buildroot}%{_mandir}/man1/gramofile.1
-%clean
-rm -rf %{buildroot}
-
%files
%defattr(-,root,root)
-/usr/bin/bplay_gramo
-/usr/bin/brec_gramo
-/usr/bin/gramofile
+%{_bindir}/bplay_gramo
+%{_bindir}/brec_gramo
+%{_bindir}/gramofile
%{_mandir}/man1/gramofile.1*
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/ChangeLog
1
0
Hello community,
here is the log from the commit of package udisks-glue for openSUSE:Factory checked in at 2015-09-30 05:52:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/udisks-glue (Old)
and /work/SRC/openSUSE:Factory/.udisks-glue.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "udisks-glue"
Changes:
--------
--- /work/SRC/openSUSE:Factory/udisks-glue/udisks-glue.changes 2013-04-23 17:58:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.udisks-glue.new/udisks-glue.changes 2015-09-30 05:52:30.000000000 +0200
@@ -1,0 +2,17 @@
+Mon Sep 21 17:04:39 UTC 2015 - mpluskal(a)suse.com
+
+- Update to 1.3.5
+ * Code cleanups, compilation fixes.
+- Changes for 1.3.4
+ * Bugfix release.
+- Changes for 1.3.3
+ * Bugfix release.
+- Changes for 1.3.2
+ * Bugfix release.
+ * New filter parameters that can be used to identify audio CDs.
+- Cleanup spec file with spec-clener
+- Drop upstreamed patches
+ * udisks-glue-fix.patch
+ * udisks-glue-glib236.patch
+
+-------------------------------------------------------------------
Old:
----
udisks-glue-1.3.1.tar.gz
udisks-glue-fix.patch
udisks-glue-glib236.patch
New:
----
release-1.3.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ udisks-glue.spec ++++++
--- /var/tmp/diff_new_pack.ynT5kR/_old 2015-09-30 05:52:31.000000000 +0200
+++ /var/tmp/diff_new_pack.ynT5kR/_new 2015-09-30 05:52:31.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package udisks-glue
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,19 @@
Name: udisks-glue
+Version: 1.3.5
+Release: 0
+Summary: Daemon to Associate udisks events to actions like automounting
+License: BSD-2-Clause
+Group: System/Daemons
+Url: https://github.com/fernandotcl/udisks-glue
+Source0: https://github.com/fernandotcl/udisks-glue/archive/release-%{version}.tar.gz
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: dbus-1-glib-devel
BuildRequires: libconfuse-devel
BuildRequires: pkg-config
BuildRequires: udisks-devel
-Url: https://github.com/fernandotcl/udisks-glue
-Summary: Daemon to Associate udisks events to actions like automounting
-License: BSD-2-Clause
-Group: System/Daemons
-Version: 1.3.1
-Release: 0
-Source0: https://github.com/downloads/fernandotcl/udisks-glue/%{name}-%{version}.tar…
-Patch0: udisks-glue-fix.patch
-Patch1: udisks-glue-glib236.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -53,25 +53,19 @@
is available (mounting and unmounting removable media). Contributions are
welcome.
-
%prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
+%setup -q -n %{name}-release-%{version}
%build
-export CFLAGS="$RPM_OPT_FLAGS"
+autoreconf -fiv
%configure
-make
+make %{?_smp_mflags}
%check
-make check
+make %{?_smp_mflags} check
%install
-make install DESTDIR=$RPM_BUILD_ROOT
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-, root, root)
1
0
Hello community,
here is the log from the commit of package autossh for openSUSE:Factory checked in at 2015-09-30 05:52:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autossh (Old)
and /work/SRC/openSUSE:Factory/.autossh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autossh"
Changes:
--------
--- /work/SRC/openSUSE:Factory/autossh/autossh.changes 2015-05-15 07:44:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.autossh.new/autossh.changes 2015-09-30 05:52:29.000000000 +0200
@@ -1,0 +2,9 @@
+Tue Sep 15 08:40:56 UTC 2015 - multyrealm(a)gmail.com
+
+- Update to version 1.4e
+ + By default, changing the poll time should change the first poll
+ time to match. Only have different times if AUTOSSH_FIRST_POLL
+ is explicitly set. Jerry Xie forwarded on change request from
+ Ubuntu bug forums.
+
+-------------------------------------------------------------------
Old:
----
autossh-1.4d.tgz
New:
----
autossh-1.4e.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ autossh.spec ++++++
--- /var/tmp/diff_new_pack.7T8034/_old 2015-09-30 05:52:30.000000000 +0200
+++ /var/tmp/diff_new_pack.7T8034/_new 2015-09-30 05:52:30.000000000 +0200
@@ -27,7 +27,7 @@
Group: Productivity/Networking/SSH
Name: autossh
-Version: 1.4d
+Version: 1.4e
Release: 0
Url: http://www.harding.motd.ca/autossh/
Source: http://www.harding.motd.ca/autossh/%{name}-%{version}.tgz
++++++ autossh-1.4d.tgz -> autossh-1.4e.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autossh-1.4d/CHANGES new/autossh-1.4e/CHANGES
--- old/autossh-1.4d/CHANGES 2014-09-10 03:59:17.000000000 +0200
+++ new/autossh-1.4e/CHANGES 2015-02-10 05:41:58.000000000 +0100
@@ -1,4 +1,10 @@
+Version 1.4e
+- By default, changing the poll time should change the first poll
+ time to match. Only have different times if AUTOSSH_FIRST_POLL
+ is explicitly set. Jerry Xie forwarded on change request from
+ Ubuntu bug forums.
+
Version 1.4d
- call daemon() before opening any sockets. Problem discovered and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autossh-1.4d/Makefile.in new/autossh-1.4e/Makefile.in
--- old/autossh-1.4d/Makefile.in 2014-09-10 03:59:17.000000000 +0200
+++ new/autossh-1.4e/Makefile.in 2015-02-10 05:41:58.000000000 +0100
@@ -1,8 +1,8 @@
-# $Id: Makefile.in,v 1.6 2014/09/10 01:59:01 harding Exp $
+# $Id: Makefile.in,v 1.7 2015/02/10 04:31:16 harding Exp $
#
# @configure_input@
-VER= 1.4d
+VER= 1.4e
SSH= @path_ssh@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autossh-1.4d/README new/autossh-1.4e/README
--- old/autossh-1.4d/README 2014-09-10 03:59:17.000000000 +0200
+++ new/autossh-1.4e/README 2015-02-10 05:41:58.000000000 +0100
@@ -194,6 +194,9 @@
it is different than that compiled in.
AUTOSSH_PIDFILE - write autossh pid to specified file.
AUTOSSH_POLL - poll time in seconds; default is 600.
+ Changing this will also change the first
+ poll time, unless AUTOSSH_FIRST_POLL is
+ used to set it to something different.
If the poll time is less than twice the
network timeouts (default 15 seconds) the
network timeouts will be adjusted downward
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autossh-1.4d/autossh.1 new/autossh-1.4e/autossh.1
--- old/autossh-1.4d/autossh.1 2014-09-10 03:59:17.000000000 +0200
+++ new/autossh-1.4e/autossh.1 2015-02-10 05:41:58.000000000 +0100
@@ -17,7 +17,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: autossh.1,v 1.22 2011/10/12 20:29:22 harding Exp $
+.\" $Id: autossh.1,v 1.23 2015/02/10 04:31:16 harding Exp $
.\"
.Dd Jul 20, 2004
.Dt AUTOSSH 1
@@ -256,9 +256,10 @@
Write autossh pid to specified file.
.It Ev AUTOSSH_POLL
Specifies the connection poll time in seconds; default is 600 seconds.
-If the poll time is less than twice the network timeouts (default 15
-seconds) the network timeouts will be adjusted downward to 1/2 the
-poll time.
+Unless AUTOSSH_FIRST_POLL is used, the first poll time will
+set to match the poll time. If the poll time is less than twice the
+network timeouts (default 15 seconds) the network timeouts will be
+adjusted downward to 1/2 the poll time.
.It Ev AUTOSSH_PORT
Sets the connection monitoring port. Mostly in case ssh appropriates
-M at some time. But because of this possible use, AUTOSSH_PORT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autossh-1.4d/autossh.c new/autossh-1.4e/autossh.c
--- old/autossh-1.4d/autossh.c 2014-09-10 03:59:17.000000000 +0200
+++ new/autossh-1.4e/autossh.c 2015-02-10 05:41:58.000000000 +0100
@@ -81,7 +81,7 @@
char *__progname;
#endif
-const char *rcsid = "$Id: autossh.c,v 1.83 2014/09/10 01:59:01 harding Exp $";
+const char *rcsid = "$Id: autossh.c,v 1.84 2015/02/10 04:31:16 harding Exp $";
#ifndef SSH_PATH
# define SSH_PATH "/usr/bin/ssh"
@@ -592,15 +592,6 @@
xerrlog(LOG_ERR, "invalid log level \"%s\"", s);
}
- if ((s = getenv("AUTOSSH_FIRST_POLL")) != NULL) {
- first_poll_time = strtoul(s, &t, 0);
- if (*s == '\0' || first_poll_time == 0 || *t != '\0' )
- xerrlog(LOG_ERR,
- "invalid first poll time \"%s\"", s);
- if (first_poll_time <= 0)
- first_poll_time = POLL_TIME;
- }
-
if ((s = getenv("AUTOSSH_POLL")) != NULL) {
poll_time = strtoul(s, &t, 0);
if (*s == '\0' || poll_time == 0 || *t != '\0' )
@@ -610,6 +601,21 @@
poll_time = POLL_TIME;
}
+ if ((s = getenv("AUTOSSH_FIRST_POLL")) != NULL) {
+ first_poll_time = strtoul(s, &t, 0);
+ if (*s == '\0' || first_poll_time == 0 || *t != '\0' )
+ xerrlog(LOG_ERR,
+ "invalid first poll time \"%s\"", s);
+ if (first_poll_time <= 0)
+ first_poll_time = POLL_TIME;
+ } else {
+ /*
+ * If first poll time not explicitly set, first
+ * poll time should equal poll time.
+ */
+ first_poll_time = poll_time;
+ }
+
if ((s = getenv("AUTOSSH_GATETIME")) != NULL) {
gate_time = (double)strtol(s, &t, 0);
if (*s == '\0' || gate_time < 0 || *t != '\0' )
1
0
Hello community,
here is the log from the commit of package ghc-primitive for openSUSE:Factory checked in at 2015-09-30 05:52:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-primitive (Old)
and /work/SRC/openSUSE:Factory/.ghc-primitive.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-primitive"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-primitive/ghc-primitive.changes 2015-05-13 07:13:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-primitive.new/ghc-primitive.changes 2015-09-30 05:52:28.000000000 +0200
@@ -1,0 +2,9 @@
+Sun Sep 27 10:14:25 UTC 2015 - mimi.vx(a)gmail.com
+
+- update to 0.6.1.0
+* Use more appropriate types in internal memset functions, which prevents
+ overflows/segfaults on 64-bit systems.
+* Fixed a warning on GHC 7.10
+* Worked around a -dcore-lint bug in GHC 7.6/7.7
+
+-------------------------------------------------------------------
Old:
----
primitive-0.6.tar.gz
New:
----
primitive-0.6.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-primitive.spec ++++++
--- /var/tmp/diff_new_pack.TnLw2y/_old 2015-09-30 05:52:28.000000000 +0200
+++ /var/tmp/diff_new_pack.TnLw2y/_new 2015-09-30 05:52:28.000000000 +0200
@@ -19,7 +19,7 @@
%global pkg_name primitive
Name: ghc-primitive
-Version: 0.6
+Version: 0.6.1.0
Release: 0
Summary: Primitive memory-related operations
License: BSD-3-Clause
++++++ primitive-0.6.tar.gz -> primitive-0.6.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primitive-0.6/Control/Monad/Primitive.hs new/primitive-0.6.1.0/Control/Monad/Primitive.hs
--- old/primitive-0.6/Control/Monad/Primitive.hs 2015-03-28 02:10:00.000000000 +0100
+++ new/primitive-0.6.1.0/Control/Monad/Primitive.hs 2015-09-20 05:34:48.000000000 +0200
@@ -31,7 +31,9 @@
import GHC.ST ( ST(..) )
import Control.Monad.Trans.Class (lift)
+#if !MIN_VERSION_base(4,8,0)
import Data.Monoid (Monoid)
+#endif
import Control.Monad.Trans.Identity ( IdentityT)
import Control.Monad.Trans.List ( ListT )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primitive-0.6/Data/Primitive/Internal/Operations.hs new/primitive-0.6.1.0/Data/Primitive/Internal/Operations.hs
--- old/primitive-0.6/Data/Primitive/Internal/Operations.hs 2015-03-28 02:10:00.000000000 +0100
+++ new/primitive-0.6.1.0/Data/Primitive/Internal/Operations.hs 2015-09-20 05:34:48.000000000 +0200
@@ -27,63 +27,64 @@
) where
import Data.Primitive.MachDeps (Word64_#, Int64_#)
+import Foreign.C.Types
import GHC.Prim
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word8"
- setWord8Array# :: MutableByteArray# s -> Int# -> Int# -> Word# -> IO ()
+ setWord8Array# :: MutableByteArray# s -> CPtrdiff -> CSize -> Word# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word16"
- setWord16Array# :: MutableByteArray# s -> Int# -> Int# -> Word# -> IO ()
+ setWord16Array# :: MutableByteArray# s -> CPtrdiff -> CSize -> Word# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word32"
- setWord32Array# :: MutableByteArray# s -> Int# -> Int# -> Word# -> IO ()
+ setWord32Array# :: MutableByteArray# s -> CPtrdiff -> CSize -> Word# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word64"
- setWord64Array# :: MutableByteArray# s -> Int# -> Int# -> Word64_# -> IO ()
+ setWord64Array# :: MutableByteArray# s -> CPtrdiff -> CSize -> Word64_# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word"
- setWordArray# :: MutableByteArray# s -> Int# -> Int# -> Word# -> IO ()
+ setWordArray# :: MutableByteArray# s -> CPtrdiff -> CSize -> Word# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word8"
- setInt8Array# :: MutableByteArray# s -> Int# -> Int# -> Int# -> IO ()
+ setInt8Array# :: MutableByteArray# s -> CPtrdiff -> CSize -> Int# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word16"
- setInt16Array# :: MutableByteArray# s -> Int# -> Int# -> Int# -> IO ()
+ setInt16Array# :: MutableByteArray# s -> CPtrdiff -> CSize -> Int# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word32"
- setInt32Array# :: MutableByteArray# s -> Int# -> Int# -> Int# -> IO ()
+ setInt32Array# :: MutableByteArray# s -> CPtrdiff -> CSize -> Int# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word64"
- setInt64Array# :: MutableByteArray# s -> Int# -> Int# -> Int64_# -> IO ()
+ setInt64Array# :: MutableByteArray# s -> CPtrdiff -> CSize -> Int64_# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word"
- setIntArray# :: MutableByteArray# s -> Int# -> Int# -> Int# -> IO ()
+ setIntArray# :: MutableByteArray# s -> CPtrdiff -> CSize -> Int# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Ptr"
- setAddrArray# :: MutableByteArray# s -> Int# -> Int# -> Addr# -> IO ()
+ setAddrArray# :: MutableByteArray# s -> CPtrdiff -> CSize -> Addr# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Float"
- setFloatArray# :: MutableByteArray# s -> Int# -> Int# -> Float# -> IO ()
+ setFloatArray# :: MutableByteArray# s -> CPtrdiff -> CSize -> Float# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Double"
- setDoubleArray# :: MutableByteArray# s -> Int# -> Int# -> Double# -> IO ()
+ setDoubleArray# :: MutableByteArray# s -> CPtrdiff -> CSize -> Double# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Char"
- setWideCharArray# :: MutableByteArray# s -> Int# -> Int# -> Char# -> IO ()
+ setWideCharArray# :: MutableByteArray# s -> CPtrdiff -> CSize -> Char# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word8"
- setWord8OffAddr# :: Addr# -> Int# -> Int# -> Word# -> IO ()
+ setWord8OffAddr# :: Addr# -> CPtrdiff -> CSize -> Word# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word16"
- setWord16OffAddr# :: Addr# -> Int# -> Int# -> Word# -> IO ()
+ setWord16OffAddr# :: Addr# -> CPtrdiff -> CSize -> Word# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word32"
- setWord32OffAddr# :: Addr# -> Int# -> Int# -> Word# -> IO ()
+ setWord32OffAddr# :: Addr# -> CPtrdiff -> CSize -> Word# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word64"
- setWord64OffAddr# :: Addr# -> Int# -> Int# -> Word64_# -> IO ()
+ setWord64OffAddr# :: Addr# -> CPtrdiff -> CSize -> Word64_# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word"
- setWordOffAddr# :: Addr# -> Int# -> Int# -> Word# -> IO ()
+ setWordOffAddr# :: Addr# -> CPtrdiff -> CSize -> Word# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word8"
- setInt8OffAddr# :: Addr# -> Int# -> Int# -> Int# -> IO ()
+ setInt8OffAddr# :: Addr# -> CPtrdiff -> CSize -> Int# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word16"
- setInt16OffAddr# :: Addr# -> Int# -> Int# -> Int# -> IO ()
+ setInt16OffAddr# :: Addr# -> CPtrdiff -> CSize -> Int# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word32"
- setInt32OffAddr# :: Addr# -> Int# -> Int# -> Int# -> IO ()
+ setInt32OffAddr# :: Addr# -> CPtrdiff -> CSize -> Int# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word64"
- setInt64OffAddr# :: Addr# -> Int# -> Int# -> Int64_# -> IO ()
+ setInt64OffAddr# :: Addr# -> CPtrdiff -> CSize -> Int64_# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Word"
- setIntOffAddr# :: Addr# -> Int# -> Int# -> Int# -> IO ()
+ setIntOffAddr# :: Addr# -> CPtrdiff -> CSize -> Int# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Ptr"
- setAddrOffAddr# :: Addr# -> Int# -> Int# -> Addr# -> IO ()
+ setAddrOffAddr# :: Addr# -> CPtrdiff -> CSize -> Addr# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Float"
- setFloatOffAddr# :: Addr# -> Int# -> Int# -> Float# -> IO ()
+ setFloatOffAddr# :: Addr# -> CPtrdiff -> CSize -> Float# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Double"
- setDoubleOffAddr# :: Addr# -> Int# -> Int# -> Double# -> IO ()
+ setDoubleOffAddr# :: Addr# -> CPtrdiff -> CSize -> Double# -> IO ()
foreign import ccall unsafe "primitive-memops.h hsprimitive_memset_Char"
- setWideCharOffAddr# :: Addr# -> Int# -> Int# -> Char# -> IO ()
+ setWideCharOffAddr# :: Addr# -> CPtrdiff -> CSize -> Char# -> IO ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primitive-0.6/Data/Primitive/Types.hs new/primitive-0.6.1.0/Data/Primitive/Types.hs
--- old/primitive-0.6/Data/Primitive/Types.hs 2015-03-28 02:10:00.000000000 +0100
+++ new/primitive-0.6.1.0/Data/Primitive/Types.hs 2015-09-20 05:34:48.000000000 +0200
@@ -113,7 +113,10 @@
{ (# s1#, x# #) -> (# s1#, ctr x# #) } \
; writeByteArray# arr# i# (ctr x#) s# = wr_arr arr# i# x# s# \
; setByteArray# arr# i# n# (ctr x#) s# \
- = case unsafeCoerce# (internal (set_arr arr# i# n# x#)) s# of \
+ = let { i = fromIntegral (I# i#) \
+ ; n = fromIntegral (I# n#) \
+ } in \
+ case unsafeCoerce# (internal (set_arr arr# i n x#)) s# of \
{ (# s1#, _ #) -> s1# } \
\
; indexOffAddr# addr# i# = ctr (idx_addr addr# i#) \
@@ -121,7 +124,10 @@
{ (# s1#, x# #) -> (# s1#, ctr x# #) } \
; writeOffAddr# addr# i# (ctr x#) s# = wr_addr addr# i# x# s# \
; setOffAddr# addr# i# n# (ctr x#) s# \
- = case unsafeCoerce# (internal (set_addr addr# i# n# x#)) s# of \
+ = let { i = fromIntegral (I# i#) \
+ ; n = fromIntegral (I# n#) \
+ } in \
+ case unsafeCoerce# (internal (set_addr addr# i n x#)) s# of \
{ (# s1#, _ #) -> s1# } \
; {-# INLINE sizeOf# #-} \
; {-# INLINE alignment# #-} \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primitive-0.6/cbits/primitive-memops.c new/primitive-0.6.1.0/cbits/primitive-memops.c
--- old/primitive-0.6/cbits/primitive-memops.c 2015-03-28 02:10:00.000000000 +0100
+++ new/primitive-0.6.1.0/cbits/primitive-memops.c 2015-09-20 05:34:48.000000000 +0200
@@ -1,18 +1,18 @@
#include <string.h>
#include "primitive-memops.h"
-void hsprimitive_memcpy( void *dst, int doff, void *src, int soff, size_t len )
+void hsprimitive_memcpy( void *dst, ptrdiff_t doff, void *src, ptrdiff_t soff, size_t len )
{
memcpy( (char *)dst + doff, (char *)src + soff, len );
}
-void hsprimitive_memmove( void *dst, int doff, void *src, int soff, size_t len )
+void hsprimitive_memmove( void *dst, ptrdiff_t doff, void *src, ptrdiff_t soff, size_t len )
{
memmove( (char *)dst + doff, (char *)src + soff, len );
}
#define MEMSET(TYPE, ATYPE) \
-void hsprimitive_memset_ ## TYPE (Hs ## TYPE *p, int off, int n, ATYPE x) \
+void hsprimitive_memset_ ## TYPE (Hs ## TYPE *p, ptrdiff_t off, size_t n, ATYPE x) \
{ \
p += off; \
if (x == 0) \
@@ -35,7 +35,7 @@
} \
}
-void hsprimitive_memset_Word8 (HsWord8 *p, int off, int n, HsWord x)
+void hsprimitive_memset_Word8 (HsWord8 *p, ptrdiff_t off, size_t n, HsWord x)
{
memset( (char *)(p+off), x, n );
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primitive-0.6/cbits/primitive-memops.h new/primitive-0.6.1.0/cbits/primitive-memops.h
--- old/primitive-0.6/cbits/primitive-memops.h 2015-03-28 02:10:00.000000000 +0100
+++ new/primitive-0.6.1.0/cbits/primitive-memops.h 2015-09-20 05:34:48.000000000 +0200
@@ -2,20 +2,21 @@
#define haskell_primitive_memops_h
#include <stdlib.h>
+#include <stddef.h>
#include <HsFFI.h>
-void hsprimitive_memcpy( void *dst, int doff, void *src, int soff, size_t len );
-void hsprimitive_memmove( void *dst, int doff, void *src, int soff, size_t len );
+void hsprimitive_memcpy( void *dst, ptrdiff_t doff, void *src, ptrdiff_t soff, size_t len );
+void hsprimitive_memmove( void *dst, ptrdiff_t doff, void *src, ptrdiff_t soff, size_t len );
-void hsprimitive_memset_Word8 (HsWord8 *, int, int, HsWord);
-void hsprimitive_memset_Word16 (HsWord16 *, int, int, HsWord);
-void hsprimitive_memset_Word32 (HsWord32 *, int, int, HsWord);
-void hsprimitive_memset_Word64 (HsWord64 *, int, int, HsWord64);
-void hsprimitive_memset_Word (HsWord *, int, int, HsWord);
-void hsprimitive_memset_Ptr (HsPtr *, int, int, HsPtr);
-void hsprimitive_memset_Float (HsFloat *, int, int, HsFloat);
-void hsprimitive_memset_Double (HsDouble *, int, int, HsDouble);
-void hsprimitive_memset_Char (HsChar *, int, int, HsChar);
+void hsprimitive_memset_Word8 (HsWord8 *, ptrdiff_t, size_t, HsWord);
+void hsprimitive_memset_Word16 (HsWord16 *, ptrdiff_t, size_t, HsWord);
+void hsprimitive_memset_Word32 (HsWord32 *, ptrdiff_t, size_t, HsWord);
+void hsprimitive_memset_Word64 (HsWord64 *, ptrdiff_t, size_t, HsWord64);
+void hsprimitive_memset_Word (HsWord *, ptrdiff_t, size_t, HsWord);
+void hsprimitive_memset_Ptr (HsPtr *, ptrdiff_t, size_t, HsPtr);
+void hsprimitive_memset_Float (HsFloat *, ptrdiff_t, size_t, HsFloat);
+void hsprimitive_memset_Double (HsDouble *, ptrdiff_t, size_t, HsDouble);
+void hsprimitive_memset_Char (HsChar *, ptrdiff_t, size_t, HsChar);
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primitive-0.6/changelog.md new/primitive-0.6.1.0/changelog.md
--- old/primitive-0.6/changelog.md 2015-03-28 02:10:00.000000000 +0100
+++ new/primitive-0.6.1.0/changelog.md 2015-09-20 05:34:48.000000000 +0200
@@ -1,3 +1,12 @@
+## Changes in version 0.6.1.0
+
+ * Use more appropriate types in internal memset functions, which prevents
+ overflows/segfaults on 64-bit systems.
+
+ * Fixed a warning on GHC 7.10
+
+ * Worked around a -dcore-lint bug in GHC 7.6/7.7
+
## Changes in version 0.6
* Split PrimMonad into two classes to allow automatic lifting of primitive
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/primitive-0.6/primitive.cabal new/primitive-0.6.1.0/primitive.cabal
--- old/primitive-0.6/primitive.cabal 2015-03-28 02:10:00.000000000 +0100
+++ new/primitive-0.6.1.0/primitive.cabal 2015-09-20 05:34:48.000000000 +0200
@@ -1,5 +1,5 @@
Name: primitive
-Version: 0.6
+Version: 0.6.1.0
License: BSD3
License-File: LICENSE
1
0
Hello community,
here is the log from the commit of package rubygem-sprockets for openSUSE:Factory checked in at 2015-09-30 05:52:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old)
and /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-sprockets"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes 2015-09-03 18:12:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 2015-09-30 05:52:27.000000000 +0200
@@ -1,0 +2,10 @@
+Sat Sep 26 04:30:21 UTC 2015 - coolo(a)suse.com
+
+- updated to version 3.3.5
+ see installed CHANGELOG.md
+
+ **3.3.5** (September 25, 2015)
+
+ * Fix bug related to absolute path being reintroduced into history cache #141.
+
+-------------------------------------------------------------------
Old:
----
sprockets-3.3.4.gem
New:
----
sprockets-3.3.5.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-sprockets.spec ++++++
--- /var/tmp/diff_new_pack.ScXxYe/_old 2015-09-30 05:52:27.000000000 +0200
+++ /var/tmp/diff_new_pack.ScXxYe/_new 2015-09-30 05:52:27.000000000 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-sprockets
-Version: 3.3.4
+Version: 3.3.5
Release: 0
%define mod_name sprockets
%define mod_full_name %{mod_name}-%{version}
++++++ sprockets-3.3.4.gem -> sprockets-3.3.5.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2015-09-01 21:23:13.000000000 +0200
+++ new/CHANGELOG.md 2015-09-25 20:47:21.000000000 +0200
@@ -1,3 +1,7 @@
+**3.3.5** (September 25, 2015)
+
+* Fix bug related to absolute path being reintroduced into history cache #141.
+
**3.3.4** (September 1, 2015)
* Relative cache contents now work with windows.
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sprockets/loader.rb new/lib/sprockets/loader.rb
--- old/lib/sprockets/loader.rb 2015-09-01 21:23:13.000000000 +0200
+++ new/lib/sprockets/loader.rb 2015-09-25 20:47:21.000000000 +0200
@@ -306,8 +306,10 @@
history = cache.get(key) || []
history.each_with_index do |deps, index|
- deps.map! { |path| path.start_with?("file-digest://") ? expand_from_root(path) : path }
- if asset = yield(deps)
+ expanded_deps = deps.map do |path|
+ path.start_with?("file-digest://") ? expand_from_root(path) : path
+ end
+ if asset = yield(expanded_deps)
cache.set(key, history.rotate!(index)) if index > 0
return asset
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sprockets/version.rb new/lib/sprockets/version.rb
--- old/lib/sprockets/version.rb 2015-09-01 21:23:13.000000000 +0200
+++ new/lib/sprockets/version.rb 2015-09-25 20:47:21.000000000 +0200
@@ -1,3 +1,3 @@
module Sprockets
- VERSION = "3.3.4"
+ VERSION = "3.3.5"
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-09-01 21:23:13.000000000 +0200
+++ new/metadata 2015-09-25 20:47:21.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: sprockets
version: !ruby/object:Gem::Version
- version: 3.3.4
+ version: 3.3.5
platform: ruby
authors:
- Sam Stephenson
@@ -9,22 +9,28 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2015-09-01 00:00:00.000000000 Z
+date: 2015-09-25 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rack
requirement: !ruby/object:Gem::Requirement
requirements:
- - - "~>"
+ - - ">"
- !ruby/object:Gem::Version
- version: '1.0'
+ version: '1'
+ - - "<"
+ - !ruby/object:Gem::Version
+ version: '3'
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - - "~>"
+ - - ">"
+ - !ruby/object:Gem::Version
+ version: '1'
+ - - "<"
- !ruby/object:Gem::Version
- version: '1.0'
+ version: '3'
- !ruby/object:Gem::Dependency
name: closure-compiler
requirement: !ruby/object:Gem::Requirement
1
0
Hello community,
here is the log from the commit of package rubygem-test-unit for openSUSE:Factory checked in at 2015-09-30 05:52:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-test-unit (Old)
and /work/SRC/openSUSE:Factory/.rubygem-test-unit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-test-unit"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-test-unit/rubygem-test-unit.changes 2015-08-02 22:46:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-test-unit.new/rubygem-test-unit.changes 2015-09-30 05:52:26.000000000 +0200
@@ -1,0 +2,26 @@
+Sat Sep 26 04:30:35 UTC 2015 - coolo(a)suse.com
+
+- updated to version 3.1.4
+ see installed news.md
+
+ ## 3.1.4 - 2015-09-26 {#version-3-1-4}
+
+ It's a minor improvement release.
+
+ ### Improvements
+
+ * Updated sample code. [GitHub#109][Patch by takiy33]
+ * Updated .travis.yml. [GitHub#110][Patch by takiy33]
+ * document: Added table header in how to document.
+ [GitHub#111][Patch by takiy33]
+ * Removed duplicated code.
+ [GitHub#112][Patch by takiy33]
+ * Removed needless encoding conversion in fetching code snippet.
+ [GitHub#113][Patch by NARUSE, Yui]
+
+ ### Thanks
+
+ * takiy33
+ * NARUSE, Yui
+
+-------------------------------------------------------------------
Old:
----
test-unit-3.1.3.gem
New:
----
test-unit-3.1.4.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-test-unit.spec ++++++
--- /var/tmp/diff_new_pack.bAtvUF/_old 2015-09-30 05:52:26.000000000 +0200
+++ /var/tmp/diff_new_pack.bAtvUF/_new 2015-09-30 05:52:26.000000000 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-test-unit
-Version: 3.1.3
+Version: 3.1.4
Release: 0
%define mod_name test-unit
%define mod_full_name %{mod_name}-%{version}
++++++ test-unit-3.1.3.gem -> test-unit-3.1.4.gem ++++++
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doc/text/how-to.md new/doc/text/how-to.md
--- old/doc/text/how-to.md 2015-07-26 11:05:42.000000000 +0200
+++ new/doc/text/how-to.md 2015-09-26 04:51:20.000000000 +0200
@@ -67,6 +67,8 @@
...
...
+| Definition | Description |
+|-------------|------------------------------|
| SCHEME_NAME | the name of the color scheme |
| EVENT_NAME | success, failure, pending, omission, notification, error |
| COLOR_NAME | black, red, green, yellow, blue, magenta, cyan, white |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doc/text/news.md new/doc/text/news.md
--- old/doc/text/news.md 2015-07-26 11:05:42.000000000 +0200
+++ new/doc/text/news.md 2015-09-26 04:51:20.000000000 +0200
@@ -1,5 +1,25 @@
# News
+## 3.1.4 - 2015-09-26 {#version-3-1-4}
+
+It's a minor improvement release.
+
+### Improvements
+
+ * Updated sample code. [GitHub#109][Patch by takiy33]
+ * Updated .travis.yml. [GitHub#110][Patch by takiy33]
+ * document: Added table header in how to document.
+ [GitHub#111][Patch by takiy33]
+ * Removed duplicated code.
+ [GitHub#112][Patch by takiy33]
+ * Removed needless encoding conversion in fetching code snippet.
+ [GitHub#113][Patch by NARUSE, Yui]
+
+### Thanks
+
+ * takiy33
+ * NARUSE, Yui
+
## 3.1.3 - 2015-07-26 {#version-3-1-3}
It's a bug fix release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/test/unit/code-snippet-fetcher.rb new/lib/test/unit/code-snippet-fetcher.rb
--- old/lib/test/unit/code-snippet-fetcher.rb 2015-07-26 11:05:42.000000000 +0200
+++ new/lib/test/unit/code-snippet-fetcher.rb 2015-09-26 04:51:20.000000000 +0200
@@ -32,7 +32,7 @@
encoding = detect_encoding(first_line)
if encoding
first_line.force_encoding(encoding)
- file.set_encoding(encoding)
+ file.set_encoding(encoding, encoding)
end
lines << first_line
lines.concat(file.readlines)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/test/unit/collector/xml.rb new/lib/test/unit/collector/xml.rb
--- old/lib/test/unit/collector/xml.rb 2015-07-26 11:05:42.000000000 +0200
+++ new/lib/test/unit/collector/xml.rb 2015-09-26 04:51:20.000000000 +0200
@@ -64,16 +64,15 @@
state = next_state((a)state_stack.last, uri, local)
@state_stack.push(state)
+ @values = {}
case state
when :test_suite, :test_case
- @values = {}
+ # do nothing
when :test
- @values = {}
@n_pass_assertions = 0 if _parent_tag == "start-test"
when :backtrace
@backtrace = []
@values_backup = @values
- @values = {}
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/test/unit/version.rb new/lib/test/unit/version.rb
--- old/lib/test/unit/version.rb 2015-07-26 11:05:42.000000000 +0200
+++ new/lib/test/unit/version.rb 2015-09-26 04:51:20.000000000 +0200
@@ -1,5 +1,5 @@
module Test
module Unit
- VERSION = '3.1.3'
+ VERSION = '3.1.4'
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-07-26 11:05:42.000000000 +0200
+++ new/metadata 2015-09-26 04:51:20.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: test-unit
version: !ruby/object:Gem::Version
- version: 3.1.3
+ version: 3.1.4
platform: ruby
authors:
- Kouhei Sutou
@@ -9,7 +9,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2015-07-26 00:00:00.000000000 Z
+date: 2015-09-26 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: power_assert
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sample/adder.rb new/sample/adder.rb
--- old/sample/adder.rb 2015-07-26 11:05:42.000000000 +0200
+++ new/sample/adder.rb 2015-09-26 04:51:20.000000000 +0200
@@ -7,7 +7,7 @@
@number = number
end
def add(number)
- return @number + number
+ @number + number
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sample/subtracter.rb new/sample/subtracter.rb
--- old/sample/subtracter.rb 2015-07-26 11:05:42.000000000 +0200
+++ new/sample/subtracter.rb 2015-09-26 04:51:20.000000000 +0200
@@ -7,6 +7,6 @@
@number = number
end
def subtract(number)
- return @number - number
+ @number - number
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sample/test_adder.rb new/sample/test_adder.rb
--- old/sample/test_adder.rb 2015-07-26 11:05:42.000000000 +0200
+++ new/sample/test_adder.rb 2015-09-26 04:51:20.000000000 +0200
@@ -3,7 +3,7 @@
# License:: Ruby license.
require 'test/unit'
-require 'adder'
+require_relative 'adder'
class TestAdder < Test::Unit::TestCase
def setup
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sample/test_subtracter.rb new/sample/test_subtracter.rb
--- old/sample/test_subtracter.rb 2015-07-26 11:05:42.000000000 +0200
+++ new/sample/test_subtracter.rb 2015-09-26 04:51:20.000000000 +0200
@@ -3,7 +3,7 @@
# License:: Ruby license.
require 'test/unit'
-require 'subtracter'
+require_relative 'subtracter'
class TestSubtracter < Test::Unit::TestCase
def setup
1
0
Hello community,
here is the log from the commit of package acpid for openSUSE:Factory checked in at 2015-09-30 05:52:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/acpid (Old)
and /work/SRC/openSUSE:Factory/.acpid.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "acpid"
Changes:
--------
--- /work/SRC/openSUSE:Factory/acpid/acpid.changes 2014-12-19 09:37:38.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2015-09-30 05:52:24.000000000 +0200
@@ -1,0 +2,16 @@
+Sat Sep 26 10:51:13 UTC 2015 - mpluskal(a)suse.com
+
+- Update to 2.0.25
+ * Remove release process from README.
+ * Fix missing libc_compat.h in release tarball.
+- Changes for 2.0.24
+ * Avoid using SW_VIDEOOUT_INSERT if it isn't available.
+ * Add support for Copy and Restart keys.
+ * Add support for non-glibc libc's.
+ * Fix compiler warnings.
+ * Add systemd info to documentation.
+- Update project url
+- Cleanup spec file with spec-cleaner
+- Obey default CFLAGS
+
+-------------------------------------------------------------------
Old:
----
acpid-2.0.23.tar.xz
New:
----
acpid-2.0.25.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ acpid.spec ++++++
--- /var/tmp/diff_new_pack.yBN8nS/_old 2015-09-30 05:52:25.000000000 +0200
+++ /var/tmp/diff_new_pack.yBN8nS/_new 2015-09-30 05:52:25.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package acpid
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
Name: acpid
-Version: 2.0.23
+Version: 2.0.25
Release: 0
Summary: Executes Actions at ACPI Events
License: GPL-2.0+
Group: System/Daemons
-Url: http://tedfelix.com/linux/acpid-netlink.html
+Url: http://sourceforge.net/projects/acpid2/
Source: http://downloads.sourceforge.net/project/acpid2/%{name}-%{version}.tar.xz
Source3: README.SUSE
Source5: events.power_button
@@ -32,7 +32,6 @@
Source9: events.thinkpad
Source10: events.sleep_button
Source11: sleep_button
-
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch1: acpid-makefile.patch
BuildRequires: systemd-rpm-macros
@@ -54,13 +53,14 @@
cp %{SOURCE3} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} %{SOURCE10} %{SOURCE11} .
%build
+export CFLAGS="%{optflags}"
export LDFLAGS="-Wl,-z,relro,-z,now"
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
-install -Dm 744 thinkpad_handler %{buildroot}%{_prefix}/lib/acpid/thinkpad_handler
+install -Dm 744 thinkpad_handler %{buildroot}%{_libexecdir}/acpid/thinkpad_handler
install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad
mkdir -p %{buildroot}/%{_unitdir}
install -m 644 %{SOURCE8} %{buildroot}/%{_unitdir}
@@ -91,8 +91,8 @@
%dir %{_sysconfdir}/acpi
%dir %{_sysconfdir}/acpi/events
%{_sysconfdir}/acpi/events/thinkpad
-%{_prefix}/lib/acpid
-%_unitdir/%{name}.service
+%{_libexecdir}/acpid
+%{_unitdir}/%{name}.service
%{_sbindir}/rcacpid
%{_sbindir}/acpid
%{_sbindir}/kacpimon
++++++ acpid-2.0.23.tar.xz -> acpid-2.0.25.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/Changelog new/acpid-2.0.25/Changelog
--- old/acpid-2.0.23/Changelog 2014-08-23 19:51:13.000000000 +0200
+++ new/acpid-2.0.25/Changelog 2015-08-17 01:04:51.000000000 +0200
@@ -1,3 +1,27 @@
+* Sun Aug 16 2015 Ted Felix <ted(a)tedfelix.com>
+ - 2.0.25 release
+ (configure.ac) (Ted Felix)
+ - Remove release process from README.
+ (README) (Ted Felix)
+ - Fix missing libc_compat.h in release tarball.
+ (Makefile.am kacpimon/Makefile.am kacpimon/libc_compat.h)
+ (Ted Felix)
+
+* Sat Aug 15 2015 Ted Felix <ted(a)tedfelix.com>
+ - 2.0.24 release
+ (configure.ac) (Ted Felix)
+ - Avoid using SW_VIDEOOUT_INSERT if it isn't available. (input_layer.c)
+ (Bostjan Skufca <bostjan(a)a2o.si>)
+ - Add support for Copy and Restart keys. (input_layer.c)
+ (Andrey Kuznetsov)
+ - Add support for non-glibc libc's. (acpi_listen.c acpid.c event.c
+ input_layer.c kacpimon/libnetlink.h libc_compat.h libnetlink.c netlink.c
+ proc.c ud_socket.c) (Brendan Heading <brendanheading(a)gmail.com>)
+ - Fix compiler warnings. (acpi_listen.c event.c sock.c)
+ (Brendan Heading <brendanheading(a)gmail.com>)
+ - Add systemd info to documentation. (README TESTPLAN)
+ (Ted Felix)
+
* Sat Aug 23 2014 Ted Felix <ted(a)tedfelix.com>
- 2.0.23 release
(configure.ac) (Ted Felix)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/Makefile.am new/acpid-2.0.25/Makefile.am
--- old/acpid-2.0.23/Makefile.am 2012-02-17 04:37:12.000000000 +0100
+++ new/acpid-2.0.25/Makefile.am 2015-08-16 22:21:08.000000000 +0200
@@ -14,7 +14,7 @@
acpid_SOURCES = acpid.c acpi_ids.c connection_list.c event.c input_layer.c inotify_handler.c libnetlink.c log.c netlink.c proc.c sock.c ud_socket.c \
acpid.h acpi_genetlink.h acpi_ids.h config.h connection_list.h event.h genetlink.h inotify_handler.h input_layer.h \
- libnetlink.h log.h netlink.h proc.h sock.h ud_socket.h
+ libnetlink.h log.h netlink.h proc.h sock.h ud_socket.h libc_compat.h
acpi_listen_SOURCES = acpi_listen.c log.c ud_socket.c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/Makefile.in new/acpid-2.0.25/Makefile.in
--- old/acpid-2.0.23/Makefile.in 2014-08-23 19:53:10.000000000 +0200
+++ new/acpid-2.0.25/Makefile.in 2015-08-17 01:08:59.000000000 +0200
@@ -370,7 +370,7 @@
AM_CPPFLAGS = -include $(top_srcdir)/config.h
acpid_SOURCES = acpid.c acpi_ids.c connection_list.c event.c input_layer.c inotify_handler.c libnetlink.c log.c netlink.c proc.c sock.c ud_socket.c \
acpid.h acpi_genetlink.h acpi_ids.h config.h connection_list.h event.h genetlink.h inotify_handler.h input_layer.h \
- libnetlink.h log.h netlink.h proc.h sock.h ud_socket.h
+ libnetlink.h log.h netlink.h proc.h sock.h ud_socket.h libc_compat.h
acpi_listen_SOURCES = acpi_listen.c log.c ud_socket.c
dist_man8_MANS = acpid.8 acpi_listen.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/README new/acpid-2.0.25/README
--- old/acpid-2.0.23/README 2014-08-23 19:51:30.000000000 +0200
+++ new/acpid-2.0.25/README 2015-08-16 22:18:22.000000000 +0200
@@ -17,9 +17,9 @@
acpid. You'll want to kill it before installing the new version. While
"sudo killall acpid" might work, it is likely that you'll need to work with
init (e.g. upstart, systemd, ...) on your particular setup to stop acpid
-completely. For example, with upstart, the proper incantation is usually:
+completely. For example, with systemd, the proper incantation is usually:
- $ sudo initctl stop acpid
+ $ sudo systemctl stop acpid acpid.socket
acpid version 2.0.15 introduced autoconf. To build versions >= 2.0.15:
@@ -46,52 +46,6 @@
You can also fork the git repo on sourceforge and submit changes that way:
http://sourceforge.net/u/tedfelix/acpid2/
-RELEASE PROCESS
-
-Before making the tarball:
-
- 1. Check the version number in configure.ac and the Changelog.
- 2. Check in all changes (except maybe the Changelog).
- 3. Update the Changelog based on changes since the last tag.
- git log 2.0.17..
- 4. Check in Changelog and create a tag for the version.
- git commit -a
- git tag -a 2.0.xx
- 5. Push to sf.
- git push
- git push --tags
-
-To create the tarball for distribution:
-
- $ make distclean
- $ autoreconf --install --force
- $ ./configure
- $ make dist
-
-Upload to sf:
-
- http://sourceforge.net/apps/trac/sourceforge/wiki/Release%20files%20for%20d…
-
- $ rsync -t acpid-2.0.18.tar.xz tedfelix@frs.sourceforge.net:/home/frs/project/acpid2
-
- or via sftp...
-
- $ sftp tedfelix(a)frs.sourceforge.net
- sftp> cd /home/frs/project/acpid2
- sftp> put -p acpid-2.0.18.tar.xz
-
-Set this latest upload as the latest:
-
- 1. Login to sf.
- 2. Click on the "i" icon on the right in the file list.
- 3. Default download for: "Select all"
- 4. Save
-
-Once complete:
-
- 1. Update the version number in configure.ac.
- 2. Update the Changelog for the next version.
-
--------------------------------------------------------------------
OLD README
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/TESTPLAN new/acpid-2.0.25/TESTPLAN
--- old/acpid-2.0.23/TESTPLAN 2012-02-17 18:12:03.000000000 +0100
+++ new/acpid-2.0.25/TESTPLAN 2015-07-29 01:20:13.000000000 +0200
@@ -3,6 +3,7 @@
Suggestions
- Run all these tests with valgrind to detect memory leaks.
+
- It's best to test without a window manager running (such as GNOME or KDE) as
they tend to handle acpi events on their own and override acpid. To bring
down X on a system that is configured with a graphical login, there's usually
@@ -13,14 +14,16 @@
It's different if you are using upstart:
sudo initctl stop gdm
And systemd requires a different incantation:
- [anyone care to enlighten me?]
+ sudo systemctl stop gdm
LightDM in Ubuntu 11.10 (and others) doesn't seem to care about the power
button. So no need to stop it. Just log out.
Now X is out of the way and you can test from the console.
+
- You can kill acpid with "sudo killall acpid". Or if you are using upstart:
sudo initctl stop acpid
For systemd:
- [anyone?]
+ sudo systemctl stop acpid acpid.socket
+
- To make testing more convenient, you can run acpid from a shell as
"acpid -ld" to get maximum logging. Use Ctrl-C to stop acpid.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/aclocal.m4 new/acpid-2.0.25/aclocal.m4
--- old/acpid-2.0.23/aclocal.m4 2014-08-23 19:53:08.000000000 +0200
+++ new/acpid-2.0.25/aclocal.m4 2015-08-17 01:08:57.000000000 +0200
@@ -573,7 +573,8 @@
END
AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
fi
-fi])
+fi
+])
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/acpi_listen.c new/acpid-2.0.25/acpi_listen.c
--- old/acpid-2.0.23/acpi_listen.c 2012-03-04 14:50:41.000000000 +0100
+++ new/acpid-2.0.25/acpi_listen.c 2015-07-29 00:32:35.000000000 +0200
@@ -32,13 +32,15 @@
#include <ctype.h>
#include <getopt.h>
#include <time.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <grp.h>
#include <signal.h>
#include "acpid.h"
#include "ud_socket.h"
+#include "libc_compat.h"
+
static int handle_cmdline(int *argc, char ***argv);
static char *read_line(int fd);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/acpid.c new/acpid-2.0.25/acpid.c
--- old/acpid-2.0.23/acpid.c 2014-02-26 01:45:41.000000000 +0100
+++ new/acpid-2.0.25/acpid.c 2015-07-29 00:32:35.000000000 +0200
@@ -41,6 +41,7 @@
#include "input_layer.h"
#include "inotify_handler.h"
#include "netlink.h"
+#include "libc_compat.h"
static int handle_cmdline(int *argc, char ***argv);
static void close_fds(void);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/build-aux/config.guess new/acpid-2.0.25/build-aux/config.guess
--- old/acpid-2.0.23/build-aux/config.guess 2014-08-23 19:53:10.000000000 +0200
+++ new/acpid-2.0.25/build-aux/config.guess 2015-08-17 01:08:59.000000000 +0200
@@ -1,8 +1,8 @@
#! /bin/sh
# Attempt to guess a canonical system name.
-# Copyright 1992-2013 Free Software Foundation, Inc.
+# Copyright 1992-2014 Free Software Foundation, Inc.
-timestamp='2013-06-10'
+timestamp='2014-03-23'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -50,7 +50,7 @@
GNU config.guess ($timestamp)
Originally written by Per Bothner.
-Copyright 1992-2013 Free Software Foundation, Inc.
+Copyright 1992-2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -149,7 +149,7 @@
LIBC=gnu
#endif
EOF
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
;;
esac
@@ -826,7 +826,7 @@
*:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit ;;
- i*:MSYS*:*)
+ *:MSYS*:*)
echo ${UNAME_MACHINE}-pc-msys
exit ;;
i*:windows32*:*)
@@ -969,10 +969,10 @@
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
;;
- or1k:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ openrisc*:Linux:*:*)
+ echo or1k-unknown-linux-${LIBC}
exit ;;
- or32:Linux:*:*)
+ or32:Linux:*:* | or1k*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
padre:Linux:*:*)
@@ -1260,16 +1260,26 @@
if test "$UNAME_PROCESSOR" = unknown ; then
UNAME_PROCESSOR=powerpc
fi
- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
- if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
- grep IS_64BIT_ARCH >/dev/null
- then
- case $UNAME_PROCESSOR in
- i386) UNAME_PROCESSOR=x86_64 ;;
- powerpc) UNAME_PROCESSOR=powerpc64 ;;
- esac
+ if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ case $UNAME_PROCESSOR in
+ i386) UNAME_PROCESSOR=x86_64 ;;
+ powerpc) UNAME_PROCESSOR=powerpc64 ;;
+ esac
+ fi
fi
+ elif test "$UNAME_PROCESSOR" = i386 ; then
+ # Avoid executing cc on OS X 10.9, as it ships with a stub
+ # that puts up a graphical alert prompting to install
+ # developer tools. Any system running Mac OS X 10.7 or
+ # later (Darwin 11 and later) is required to have a 64-bit
+ # processor. This is not true of the ARM version of Darwin
+ # that Apple uses in portable devices.
+ UNAME_PROCESSOR=x86_64
fi
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
exit ;;
@@ -1361,154 +1371,6 @@
exit ;;
esac
-eval $set_cc_for_build
-cat >$dummy.c <<EOF
-#ifdef _SEQUENT_
-# include <sys/types.h>
-# include <sys/utsname.h>
-#endif
-main ()
-{
-#if defined (sony)
-#if defined (MIPSEB)
- /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
- I don't know.... */
- printf ("mips-sony-bsd\n"); exit (0);
-#else
-#include <sys/param.h>
- printf ("m68k-sony-newsos%s\n",
-#ifdef NEWSOS4
- "4"
-#else
- ""
-#endif
- ); exit (0);
-#endif
-#endif
-
-#if defined (__arm) && defined (__acorn) && defined (__unix)
- printf ("arm-acorn-riscix\n"); exit (0);
-#endif
-
-#if defined (hp300) && !defined (hpux)
- printf ("m68k-hp-bsd\n"); exit (0);
-#endif
-
-#if defined (NeXT)
-#if !defined (__ARCHITECTURE__)
-#define __ARCHITECTURE__ "m68k"
-#endif
- int version;
- version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
- if (version < 4)
- printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
- else
- printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
- exit (0);
-#endif
-
-#if defined (MULTIMAX) || defined (n16)
-#if defined (UMAXV)
- printf ("ns32k-encore-sysv\n"); exit (0);
-#else
-#if defined (CMU)
- printf ("ns32k-encore-mach\n"); exit (0);
-#else
- printf ("ns32k-encore-bsd\n"); exit (0);
-#endif
-#endif
-#endif
-
-#if defined (__386BSD__)
- printf ("i386-pc-bsd\n"); exit (0);
-#endif
-
-#if defined (sequent)
-#if defined (i386)
- printf ("i386-sequent-dynix\n"); exit (0);
-#endif
-#if defined (ns32000)
- printf ("ns32k-sequent-dynix\n"); exit (0);
-#endif
-#endif
-
-#if defined (_SEQUENT_)
- struct utsname un;
-
- uname(&un);
-
- if (strncmp(un.version, "V2", 2) == 0) {
- printf ("i386-sequent-ptx2\n"); exit (0);
- }
- if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
- printf ("i386-sequent-ptx1\n"); exit (0);
- }
- printf ("i386-sequent-ptx\n"); exit (0);
-
-#endif
-
-#if defined (vax)
-# if !defined (ultrix)
-# include <sys/param.h>
-# if defined (BSD)
-# if BSD == 43
- printf ("vax-dec-bsd4.3\n"); exit (0);
-# else
-# if BSD == 199006
- printf ("vax-dec-bsd4.3reno\n"); exit (0);
-# else
- printf ("vax-dec-bsd\n"); exit (0);
-# endif
-# endif
-# else
- printf ("vax-dec-bsd\n"); exit (0);
-# endif
-# else
- printf ("vax-dec-ultrix\n"); exit (0);
-# endif
-#endif
-
-#if defined (alliant) && defined (i860)
- printf ("i860-alliant-bsd\n"); exit (0);
-#endif
-
- exit (1);
-}
-EOF
-
-$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
- { echo "$SYSTEM_NAME"; exit; }
-
-# Apollos put the system type in the environment.
-
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
-
-# Convex versions that predate uname can use getsysinfo(1)
-
-if [ -x /usr/convex/getsysinfo ]
-then
- case `getsysinfo -f cpu_type` in
- c1*)
- echo c1-convex-bsd
- exit ;;
- c2*)
- if getsysinfo -f scalar_acc
- then echo c32-convex-bsd
- else echo c2-convex-bsd
- fi
- exit ;;
- c34*)
- echo c34-convex-bsd
- exit ;;
- c38*)
- echo c38-convex-bsd
- exit ;;
- c4*)
- echo c4-convex-bsd
- exit ;;
- esac
-fi
-
cat >&2 <<EOF
$0: unable to guess system type
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/build-aux/config.sub new/acpid-2.0.25/build-aux/config.sub
--- old/acpid-2.0.23/build-aux/config.sub 2014-08-23 19:53:10.000000000 +0200
+++ new/acpid-2.0.25/build-aux/config.sub 2015-08-17 01:08:59.000000000 +0200
@@ -1,8 +1,8 @@
#! /bin/sh
# Configuration validation subroutine script.
-# Copyright 1992-2013 Free Software Foundation, Inc.
+# Copyright 1992-2014 Free Software Foundation, Inc.
-timestamp='2013-08-10'
+timestamp='2014-09-11'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -68,7 +68,7 @@
version="\
GNU config.sub ($timestamp)
-Copyright 1992-2013 Free Software Foundation, Inc.
+Copyright 1992-2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -265,6 +265,7 @@
| hexagon \
| i370 | i860 | i960 | ia64 \
| ip2k | iq2000 \
+ | k1om \
| le32 | le64 \
| lm32 \
| m32c | m32r | m32rle | m68000 | m68k | m88k \
@@ -282,8 +283,10 @@
| mips64vr5900 | mips64vr5900el \
| mipsisa32 | mipsisa32el \
| mipsisa32r2 | mipsisa32r2el \
+ | mipsisa32r6 | mipsisa32r6el \
| mipsisa64 | mipsisa64el \
| mipsisa64r2 | mipsisa64r2el \
+ | mipsisa64r6 | mipsisa64r6el \
| mipsisa64sb1 | mipsisa64sb1el \
| mipsisa64sr71k | mipsisa64sr71kel \
| mipsr5900 | mipsr5900el \
@@ -295,11 +298,11 @@
| nds32 | nds32le | nds32be \
| nios | nios2 | nios2eb | nios2el \
| ns16k | ns32k \
- | open8 \
- | or1k | or32 \
+ | open8 | or1k | or1knd | or32 \
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle \
| pyramid \
+ | riscv32 | riscv64 \
| rl78 | rx \
| score \
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
@@ -324,7 +327,7 @@
c6x)
basic_machine=tic6x-unknown
;;
- m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
basic_machine=$basic_machine-unknown
os=-none
;;
@@ -381,6 +384,7 @@
| hexagon-* \
| i*86-* | i860-* | i960-* | ia64-* \
| ip2k-* | iq2000-* \
+ | k1om-* \
| le32-* | le64-* \
| lm32-* \
| m32c-* | m32r-* | m32rle-* \
@@ -400,8 +404,10 @@
| mips64vr5900-* | mips64vr5900el-* \
| mipsisa32-* | mipsisa32el-* \
| mipsisa32r2-* | mipsisa32r2el-* \
+ | mipsisa32r6-* | mipsisa32r6el-* \
| mipsisa64-* | mipsisa64el-* \
| mipsisa64r2-* | mipsisa64r2el-* \
+ | mipsisa64r6-* | mipsisa64r6el-* \
| mipsisa64sb1-* | mipsisa64sb1el-* \
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
| mipsr5900-* | mipsr5900el-* \
@@ -413,6 +419,7 @@
| nios-* | nios2-* | nios2eb-* | nios2el-* \
| none-* | np1-* | ns16k-* | ns32k-* \
| open8-* \
+ | or1k*-* \
| orion-* \
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
@@ -822,6 +829,10 @@
basic_machine=powerpc-unknown
os=-morphos
;;
+ moxiebox)
+ basic_machine=moxie-unknown
+ os=-moxiebox
+ ;;
msdos)
basic_machine=i386-pc
os=-msdos
@@ -1367,14 +1378,14 @@
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
- | -uxpv* | -beos* | -mpeix* | -udk* \
+ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
@@ -1592,9 +1603,6 @@
mips*-*)
os=-elf
;;
- or1k-*)
- os=-elf
- ;;
or32-*)
os=-coff
;;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/config.h new/acpid-2.0.25/config.h
--- old/acpid-2.0.23/config.h 2014-08-23 19:53:21.000000000 +0200
+++ new/acpid-2.0.25/config.h 2015-08-17 01:09:08.000000000 +0200
@@ -133,7 +133,7 @@
#define PACKAGE_NAME "acpid"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "acpid 2.0.23"
+#define PACKAGE_STRING "acpid 2.0.25"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "acpid"
@@ -142,7 +142,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
-#define PACKAGE_VERSION "2.0.23"
+#define PACKAGE_VERSION "2.0.25"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
@@ -170,7 +170,7 @@
/* Version number of package */
-#define VERSION "2.0.23"
+#define VERSION "2.0.25"
/* Enable large inode numbers on Mac OS X 10.5. */
#ifndef _DARWIN_USE_64_BIT_INODE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/configure new/acpid-2.0.25/configure
--- old/acpid-2.0.23/configure 2014-08-23 19:53:09.000000000 +0200
+++ new/acpid-2.0.25/configure 2015-08-17 01:08:58.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for acpid 2.0.23.
+# Generated by GNU Autoconf 2.69 for acpid 2.0.25.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@
# Identity of this package.
PACKAGE_NAME='acpid'
PACKAGE_TARNAME='acpid'
-PACKAGE_VERSION='2.0.23'
-PACKAGE_STRING='acpid 2.0.23'
+PACKAGE_VERSION='2.0.25'
+PACKAGE_STRING='acpid 2.0.25'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1276,7 +1276,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 acpid 2.0.23 to adapt to many kinds of systems.
+\`configure' configures acpid 2.0.25 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1346,7 +1346,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of acpid 2.0.23:";;
+ short | recursive ) echo "Configuration of acpid 2.0.25:";;
esac
cat <<\_ACEOF
@@ -1441,7 +1441,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-acpid configure 2.0.23
+acpid configure 2.0.25
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1860,7 +1860,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by acpid $as_me 2.0.23, which was
+It was created by acpid $as_me 2.0.25, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2726,7 +2726,7 @@
# Define the identity of the package.
PACKAGE='acpid'
- VERSION='2.0.23'
+ VERSION='2.0.25'
cat >>confdefs.h <<_ACEOF
@@ -2903,6 +2903,7 @@
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
fi
fi
+
# Check whether --enable-silent-rules was given.
if test "${enable_silent_rules+set}" = set; then :
enableval=$enable_silent_rules;
@@ -6180,7 +6181,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by acpid $as_me 2.0.23, which was
+This file was extended by acpid $as_me 2.0.25, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -6246,7 +6247,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-acpid config.status 2.0.23
+acpid config.status 2.0.25
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/acpid-2.0.23/configure.ac new/acpid-2.0.25/configure.ac
--- old/acpid-2.0.23/configure.ac 2014-03-15 19:02:20.000000000 +0100
+++ new/acpid-2.0.25/configure.ac 2015-08-16 01:11:22.000000000 +0200
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.60])
-AC_INIT([acpid], [2.0.23])
+AC_INIT([acpid], [2.0.25])
AC_CONFIG_SRCDIR([connection_list.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([build-aux])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/event.c new/acpid-2.0.25/event.c
--- old/acpid-2.0.23/event.c 2013-12-19 03:42:46.000000000 +0100
+++ new/acpid-2.0.25/event.c 2015-07-29 00:32:35.000000000 +0200
@@ -23,7 +23,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
@@ -39,6 +39,8 @@
#include "log.h"
#include "sock.h"
#include "ud_socket.h"
+#include "libc_compat.h"
+
#include "event.h"
/*
* What is a rule? It's polymorphic, pretty much.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/input_layer.c new/acpid-2.0.25/input_layer.c
--- old/acpid-2.0.23/input_layer.c 2014-04-30 02:13:36.000000000 +0200
+++ new/acpid-2.0.25/input_layer.c 2015-07-29 00:32:35.000000000 +0200
@@ -42,6 +42,7 @@
#include "log.h"
#include "connection_list.h"
#include "event.h"
+#include "libc_compat.h"
#include "input_layer.h"
@@ -147,10 +148,12 @@
"jack/lineout LINEOUT unplug"},
{{{0,0}, EV_SW, SW_LINEOUT_INSERT, 1},
"jack/lineout LINEOUT plug"},
+#ifdef SW_VIDEOOUT_INSERT
{{{0,0}, EV_SW, SW_VIDEOOUT_INSERT, 0},
"jack/videoout VIDEOOUT unplug"},
{{{0,0}, EV_SW, SW_VIDEOOUT_INSERT, 1},
"jack/videoout VIDEOOUT plug"},
+#endif
{{{0,0}, EV_SW, SW_LINEIN_INSERT, 0},
"jack/linein LINEIN unplug"},
{{{0,0}, EV_SW, SW_LINEIN_INSERT, 1},
@@ -184,6 +187,8 @@
{{{0,0}, EV_KEY, KEY_F24, 1}, "button/f24 F24 00000080 00000000"},
{{{0,0}, EV_KEY, KEY_KBDILLUMTOGGLE, 1},
"button/kbdillumtoggle KBILLUM 00000080 00000000"},
+ {{{0,0}, EV_KEY, KEY_COPY, 1}, "button/copy COPY 00000080 00000000"},
+ {{{0,0}, EV_KEY, KEY_RESTART, 1}, "button/restart RSTR 00000080 00000000"},
#if 0
/* These "EV_MSC, 4, x" events cause trouble. They are triggered */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/kacpimon/Makefile.am new/acpid-2.0.25/kacpimon/Makefile.am
--- old/acpid-2.0.23/kacpimon/Makefile.am 2012-02-17 04:43:50.000000000 +0100
+++ new/acpid-2.0.25/kacpimon/Makefile.am 2015-08-16 22:27:15.000000000 +0200
@@ -2,7 +2,8 @@
AM_CFLAGS = -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2
sbin_PROGRAMS = kacpimon
kacpimon_SOURCES = acpi_ids.c kacpimon.c connection_list.c input_layer.c libnetlink.c netlink.c \
- acpi_genetlink.h acpi_ids.h connection_list.h genetlink.h input_layer.h kacpimon.h libnetlink.h netlink.h
+ acpi_genetlink.h acpi_ids.h connection_list.h genetlink.h input_layer.h kacpimon.h libnetlink.h netlink.h \
+ libc_compat.h
dist_man8_MANS = kacpimon.8
EXTRA_DIST = sample.out
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/kacpimon/Makefile.in new/acpid-2.0.25/kacpimon/Makefile.in
--- old/acpid-2.0.23/kacpimon/Makefile.in 2014-08-23 19:53:10.000000000 +0200
+++ new/acpid-2.0.25/kacpimon/Makefile.in 2015-08-17 01:08:59.000000000 +0200
@@ -281,7 +281,8 @@
AM_CPPFLAGS = -include $(top_srcdir)/config.h
AM_CFLAGS = -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2
kacpimon_SOURCES = acpi_ids.c kacpimon.c connection_list.c input_layer.c libnetlink.c netlink.c \
- acpi_genetlink.h acpi_ids.h connection_list.h genetlink.h input_layer.h kacpimon.h libnetlink.h netlink.h
+ acpi_genetlink.h acpi_ids.h connection_list.h genetlink.h input_layer.h kacpimon.h libnetlink.h netlink.h \
+ libc_compat.h
dist_man8_MANS = kacpimon.8
EXTRA_DIST = sample.out
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/kacpimon/libc_compat.h new/acpid-2.0.25/kacpimon/libc_compat.h
--- old/acpid-2.0.23/kacpimon/libc_compat.h 1970-01-01 01:00:00.000000000 +0100
+++ new/acpid-2.0.25/kacpimon/libc_compat.h 2015-08-16 22:30:27.000000000 +0200
@@ -0,0 +1,40 @@
+/*
+ * libc_compat.h - implement defs/macros missing from some libcs
+ *
+ * Copyright (C) 1999-2000 Andrew Henroid
+ * Copyright (C) 2001 Sun Microsystems
+ * Portions Copyright (C) 2004 Tim Hockin (thockin(a)hockin.org)
+ *
+ * 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 of the License, 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef LIBC_COMPAT_H__
+#define LIBC_COMPAT_H__
+
+/* Evaluate EXPRESSION, and repeat as long as it returns -1 with `errno'
+ set to EINTR. This macro is present on glibc/uclibc but may not be in other cases. */
+
+#ifndef ____GLIBC__
+#ifndef TEMP_FAILURE_RETRY
+#define TEMP_FAILURE_RETRY(expression) \
+ (__extension__ \
+ ({ long int __result; \
+ do __result = (long int) (expression); \
+ while (__result == -1L && errno == EINTR); \
+ __result; }))
+#endif
+#endif /* __GLIBC__ */
+
+#endif /* LIBC_COMPAT_H__ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/kacpimon/libnetlink.h new/acpid-2.0.25/kacpimon/libnetlink.h
--- old/acpid-2.0.23/kacpimon/libnetlink.h 2008-11-09 22:19:54.000000000 +0100
+++ new/acpid-2.0.25/kacpimon/libnetlink.h 2015-07-29 00:32:35.000000000 +0200
@@ -7,6 +7,8 @@
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
+#include "libc_compat.h"
+
struct rtnl_handle
{
int fd;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/libc_compat.h new/acpid-2.0.25/libc_compat.h
--- old/acpid-2.0.23/libc_compat.h 1970-01-01 01:00:00.000000000 +0100
+++ new/acpid-2.0.25/libc_compat.h 2015-07-29 00:32:35.000000000 +0200
@@ -0,0 +1,40 @@
+/*
+ * libc_compat.h - implement defs/macros missing from some libcs
+ *
+ * Copyright (C) 1999-2000 Andrew Henroid
+ * Copyright (C) 2001 Sun Microsystems
+ * Portions Copyright (C) 2004 Tim Hockin (thockin(a)hockin.org)
+ *
+ * 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 of the License, 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef LIBC_COMPAT_H__
+#define LIBC_COMPAT_H__
+
+/* Evaluate EXPRESSION, and repeat as long as it returns -1 with `errno'
+ set to EINTR. This macro is present on glibc/uclibc but may not be in other cases. */
+
+#ifndef ____GLIBC__
+#ifndef TEMP_FAILURE_RETRY
+#define TEMP_FAILURE_RETRY(expression) \
+ (__extension__ \
+ ({ long int __result; \
+ do __result = (long int) (expression); \
+ while (__result == -1L && errno == EINTR); \
+ __result; }))
+#endif
+#endif /* __GLIBC__ */
+
+#endif /* LIBC_COMPAT_H__ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/libnetlink.c new/acpid-2.0.25/libnetlink.c
--- old/acpid-2.0.23/libnetlink.c 2012-07-15 00:29:38.000000000 +0200
+++ new/acpid-2.0.25/libnetlink.c 2015-07-29 00:32:35.000000000 +0200
@@ -24,6 +24,8 @@
#include <time.h>
#include <sys/uio.h>
+#include "libc_compat.h"
+
#include "libnetlink.h"
void rtnl_close(struct rtnl_handle *rth)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/netlink.c new/acpid-2.0.25/netlink.c
--- old/acpid-2.0.23/netlink.c 2013-08-15 02:01:22.000000000 +0200
+++ new/acpid-2.0.25/netlink.c 2015-07-29 00:32:35.000000000 +0200
@@ -41,6 +41,7 @@
#include "libnetlink.h"
#include "genetlink.h"
#include "acpi_genetlink.h"
+#include "libc_compat.h"
#include "acpi_ids.h"
#include "connection_list.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/proc.c new/acpid-2.0.25/proc.c
--- old/acpid-2.0.23/proc.c 2013-08-15 01:59:20.000000000 +0200
+++ new/acpid-2.0.25/proc.c 2015-07-29 00:32:35.000000000 +0200
@@ -31,6 +31,7 @@
#include "log.h"
#include "event.h"
#include "connection_list.h"
+#include "libc_compat.h"
#include "proc.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/sock.c new/acpid-2.0.25/sock.c
--- old/acpid-2.0.23/sock.c 2013-08-15 01:30:44.000000000 +0200
+++ new/acpid-2.0.25/sock.c 2015-07-29 00:32:35.000000000 +0200
@@ -30,6 +30,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <errno.h>
#include <grp.h>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acpid-2.0.23/ud_socket.c new/acpid-2.0.25/ud_socket.c
--- old/acpid-2.0.23/ud_socket.c 2012-07-15 00:32:55.000000000 +0200
+++ new/acpid-2.0.25/ud_socket.c 2015-07-29 00:32:35.000000000 +0200
@@ -21,6 +21,7 @@
#include "acpid.h"
#include "log.h"
#include "ud_socket.h"
+#include "libc_compat.h"
int
ud_create_socket(const char *name, mode_t socketmode)
++++++ acpid-makefile.patch ++++++
--- /var/tmp/diff_new_pack.yBN8nS/_old 2015-09-30 05:52:25.000000000 +0200
+++ /var/tmp/diff_new_pack.yBN8nS/_new 2015-09-30 05:52:25.000000000 +0200
@@ -1,6 +1,8 @@
---- Makefile.in.orig 2012-03-16 09:34:42.474574907 -0400
-+++ Makefile.in 2012-03-16 09:34:59.373363642 -0400
-@@ -890,7 +890,7 @@
+Index: Makefile.in
+===================================================================
+--- Makefile.in.orig
++++ Makefile.in
+@@ -980,7 +980,7 @@ info: info-recursive
info-am:
1
0
Hello community,
here is the log from the commit of package python3-pylast for openSUSE:Factory checked in at 2015-09-30 05:52:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pylast (Old)
and /work/SRC/openSUSE:Factory/.python3-pylast.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pylast"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pylast/python3-pylast.changes 2015-05-10 10:47:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-pylast.new/python3-pylast.changes 2015-09-30 05:52:23.000000000 +0200
@@ -1,0 +2,36 @@
+Sun Sep 27 01:36:38 UTC 2015 - arun(a)gmx.de
+
+- update to version 1.4.2
+ * (no changelog available)
+
+- changes from version 1.4.0:
+ * Fix get_recent_tracks (and more)
+
+- update to version 1.3.0:
+ * Let Tox use these env vars
+ * get_tagged_tracks: Use cacheable param
+ * flake8
+ * pep8 compliance
+ * Add test case for Track.get_correction()
+ * Add test case for Artist.get_correction()
+ * Add suppport for track.getCorrection
+ * Add suppport for artist.getCorrection
+ * Fixed broken comment
+ * User.GetPersonalTags bug fix
+ * Added User.GetPersonalTags test cases
+ * Fixed broken comment
+ * Cleanup of User.GetPersonalTags stuff
+ * Support for User.GetPersonalTags
+ * Remove useless Scrutinizer badge
+ * Replace broken pypip.in badges with shields.io
+
+- changes from version 1.2.1:
+ * Remember to release on master
+ * Update release checklist
+
+-------------------------------------------------------------------
+Sun Aug 16 16:57:29 UTC 2015 - zaitor(a)opensuse.org
+
+- Add missing python3-six Requires.
+
+-------------------------------------------------------------------
Old:
----
pylast-1.2.1.tar.gz
New:
----
pylast-1.4.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-pylast.spec ++++++
--- /var/tmp/diff_new_pack.Qadokz/_old 2015-09-30 05:52:24.000000000 +0200
+++ /var/tmp/diff_new_pack.Qadokz/_new 2015-09-30 05:52:24.000000000 +0200
@@ -17,7 +17,7 @@
Name: python3-pylast
-Version: 1.2.1
+Version: 1.4.2
Release: 0
Summary: A python3 interface to Last.fm
License: Apache-2.0
@@ -27,6 +27,7 @@
BuildRequires: fdupes
BuildRequires: python3-devel
BuildRequires: python3-setuptools
+Requires: python3-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
++++++ pylast-1.2.1.tar.gz -> pylast-1.4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pylast-1.2.1/PKG-INFO new/pylast-1.4.2/PKG-INFO
--- old/pylast-1.2.1/PKG-INFO 2015-05-07 09:34:51.000000000 +0200
+++ new/pylast-1.4.2/PKG-INFO 2015-09-07 14:36:22.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pylast
-Version: 1.2.1
+Version: 1.4.2
Summary: A Python interface to Last.fm and Libre.fm
Home-page: https://github.com/pylast/pylast
Author: Amr Hassan <amr.hassan(a)gmail.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pylast-1.2.1/README.md new/pylast-1.4.2/README.md
--- old/pylast-1.2.1/README.md 2015-05-07 09:09:02.000000000 +0200
+++ new/pylast-1.4.2/README.md 2015-09-07 13:56:28.000000000 +0200
@@ -1,7 +1,7 @@
pyLast
======
-[![Build Status](https://travis-ci.org/pylast/pylast.svg?branch=develop)](https://tr… [![PyPI version](https://pypip.in/version/pylast/badge.svg)](https://pypi.python.or… [![PyPI downloads](https://pypip.in/download/pylast/badge.svg)](https://pypi.python… [![Coverage Status](https://coveralls.io/repos/pylast/pylast/badge.png?branch=develop)](https://coveralls.io/r/pylast/pylast?branch=develop) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/pylast/pylast/badges/quality-score.pn… [![Code Health](https://landscape.io/github/pylast/pylast/develop/landscape.svg)](https://landscape.io/github/hugovk/pylast/develop)
+[![Build Status](https://travis-ci.org/pylast/pylast.svg?branch=develop)](https://tr… [![PyPI version](https://img.shields.io/pypi/v/pylast.svg)](https://pypi.python.org… [![PyPI downloads](https://img.shields.io/pypi/dm/pylast.svg)](https://pypi.python.… [![Coverage Status](https://coveralls.io/repos/pylast/pylast/badge.png?branch=develop)](https://coveralls.io/r/pylast/pylast?branch=develop) [![Code Health](https://landscape.io/github/pylast/pylast/develop/landscape.svg)](https://landscape.io/github/hugovk/pylast/develop)
A Python interface to [Last.fm](http://www.last.fm/) and other api-compatible websites such as [Libre.fm](http://libre.fm/).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pylast-1.2.1/pylast/__init__.py new/pylast-1.4.2/pylast/__init__.py
--- old/pylast-1.2.1/pylast/__init__.py 2015-05-07 09:18:45.000000000 +0200
+++ new/pylast-1.4.2/pylast/__init__.py 2015-09-07 14:07:10.000000000 +0200
@@ -21,7 +21,7 @@
# https://github.com/pylast/pylast
import hashlib
-from xml.dom import minidom
+from xml.dom import minidom, Node
import xml.dom
import time
import shelve
@@ -32,7 +32,7 @@
import re
import six
-__version__ = '1.2.1'
+__version__ = '1.4.2'
__author__ = 'Amr Hassan, hugovk'
__copyright__ = "Copyright (C) 2008-2010 Amr Hassan, 2013-2015 hugovk"
__license__ = "apache2"
@@ -1928,6 +1928,12 @@
return self.name
+ def get_correction(self):
+ """Returns the corrected artist name."""
+
+ return _extract(
+ self._request(self.ws_prefix + ".getCorrection"), "name")
+
def get_cover_image(self, size=COVER_MEGA):
"""
Returns a uri to the cover image
@@ -2947,6 +2953,12 @@
def __init__(self, artist, title, network, username=None):
super(Track, self).__init__(artist, title, network, "track", username)
+ def get_correction(self):
+ """Returns the corrected track name."""
+
+ return _extract(
+ self._request(self.ws_prefix + ".getCorrection"), "name")
+
def get_duration(self):
"""Returns the track duration."""
@@ -3505,6 +3517,41 @@
return doc.getElementsByTagName(
"registered")[0].getAttribute("unixtime")
+ def get_tagged_albums(self, tag, limit=None, cacheable=True):
+ """Returns the albums tagged by a user."""
+
+ params = self._get_params()
+ params['tag'] = tag
+ params['taggingtype'] = 'album'
+ if limit:
+ params['limit'] = limit
+ doc = self._request(self.ws_prefix + '.getpersonaltags', cacheable,
+ params)
+ return _extract_albums(doc, self.network)
+
+ def get_tagged_artists(self, tag, limit=None):
+ """Returns the artists tagged by a user."""
+
+ params = self._get_params()
+ params['tag'] = tag
+ params['taggingtype'] = 'artist'
+ if limit:
+ params["limit"] = limit
+ doc = self._request(self.ws_prefix + '.getpersonaltags', True, params)
+ return _extract_artists(doc, self.network)
+
+ def get_tagged_tracks(self, tag, limit=None, cacheable=True):
+ """Returns the tracks tagged by a user."""
+
+ params = self._get_params()
+ params['tag'] = tag
+ params['taggingtype'] = 'track'
+ if limit:
+ params['limit'] = limit
+ doc = self._request(self.ws_prefix + '.getpersonaltags', cacheable,
+ params)
+ return _extract_tracks(doc, self.network)
+
def get_top_albums(
self, period=PERIOD_OVERALL, limit=None, cacheable=True):
"""Returns the top albums played by a user.
@@ -3693,7 +3740,7 @@
def get_recommended_artists(self, limit=50, cacheable=False):
"""
- Returns a sequence of Event objects
+ Returns a sequence of Artist objects
if limit==None it will return all
"""
@@ -3967,6 +4014,16 @@
return casted
+def cleanup_nodes(doc):
+ """
+ Remove text nodes containing only whitespace
+ """
+ for node in doc.documentElement.childNodes:
+ if node.nodeType == Node.TEXT_NODE and node.nodeValue.isspace():
+ doc.documentElement.removeChild(node)
+ return doc
+
+
def _collect_nodes(limit, sender, method_name, cacheable, params=None):
"""
Returns a sequence of dom.Node objects about as close to limit as possible
@@ -3982,8 +4039,9 @@
while not end_of_pages and (not limit or (limit and len(nodes) < limit)):
params["page"] = str(page)
doc = sender._request(method_name, cacheable, params)
+ doc = cleanup_nodes(doc)
- main = doc.documentElement.childNodes[1]
+ main = doc.documentElement.childNodes[0]
if main.hasAttribute("totalPages"):
total_pages = _number(main.getAttribute("totalPages"))
@@ -4087,6 +4145,31 @@
return seq
+def _extract_artists(doc, network):
+ seq = []
+ for node in doc.getElementsByTagName("artist"):
+ seq.append(Artist(_extract(node, "name"), network))
+ return seq
+
+
+def _extract_albums(doc, network):
+ seq = []
+ for node in doc.getElementsByTagName("album"):
+ name = _extract(node, "name")
+ artist = _extract(node, "name", 1)
+ seq.append(Album(artist, name, network))
+ return seq
+
+
+def _extract_tracks(doc, network):
+ seq = []
+ for node in doc.getElementsByTagName("track"):
+ name = _extract(node, "name")
+ artist = _extract(node, "name", 1)
+ seq.append(Track(artist, name, network))
+ return seq
+
+
def _extract_events_from_doc(doc, network):
events = []
for node in doc.getElementsByTagName("event"):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pylast-1.2.1/pylast.egg-info/PKG-INFO new/pylast-1.4.2/pylast.egg-info/PKG-INFO
--- old/pylast-1.2.1/pylast.egg-info/PKG-INFO 2015-05-07 09:34:51.000000000 +0200
+++ new/pylast-1.4.2/pylast.egg-info/PKG-INFO 2015-09-07 14:36:22.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pylast
-Version: 1.2.1
+Version: 1.4.2
Summary: A Python interface to Last.fm and Libre.fm
Home-page: https://github.com/pylast/pylast
Author: Amr Hassan <amr.hassan(a)gmail.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pylast-1.2.1/pylast.egg-info/pbr.json new/pylast-1.4.2/pylast.egg-info/pbr.json
--- old/pylast-1.2.1/pylast.egg-info/pbr.json 2015-05-07 09:34:51.000000000 +0200
+++ new/pylast-1.4.2/pylast.egg-info/pbr.json 2015-09-07 14:36:22.000000000 +0200
@@ -1 +1 @@
-{"is_release": true, "git_version": "b47c5e5"}
\ No newline at end of file
+{"is_release": true, "git_version": "dc7528a"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pylast-1.2.1/setup.py new/pylast-1.4.2/setup.py
--- old/pylast-1.2.1/setup.py 2015-05-07 09:18:36.000000000 +0200
+++ new/pylast-1.4.2/setup.py 2015-09-07 14:07:19.000000000 +0200
@@ -4,7 +4,7 @@
setup(
name="pylast",
- version="1.2.1",
+ version="1.4.2",
author="Amr Hassan <amr.hassan(a)gmail.com>",
install_requires=['six'],
tests_require=['mock', 'pytest', 'coverage', 'pep8', 'pyyaml', 'pyflakes'],
1
0
Hello community,
here is the log from the commit of package 3omns for openSUSE:Factory checked in at 2015-09-30 05:52:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/3omns (Old)
and /work/SRC/openSUSE:Factory/.3omns.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "3omns"
Changes:
--------
--- /work/SRC/openSUSE:Factory/3omns/3omns.changes 2015-08-01 11:39:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.3omns.new/3omns.changes 2015-09-30 05:52:22.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Sep 25 16:51:53 UTC 2015 - nemysis(a)openSUSE.org
+
+- Recreate tarball, new GitHub commit
+ Please look 'git log'
+
+-------------------------------------------------------------------
Old:
----
3omns-0.1+git-ffb111ac.tar.bz2
New:
----
3omns-0.1+git-21292f0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ 3omns.spec ++++++
--- /var/tmp/diff_new_pack.2iloFa/_old 2015-09-30 05:52:23.000000000 +0200
+++ /var/tmp/diff_new_pack.2iloFa/_new 2015-09-30 05:52:23.000000000 +0200
@@ -25,7 +25,7 @@
Url: https://chazomaticus.github.io/3omns/
# Downloaded from https://github.com/chazomaticus/3omns
# Packed as tar.bz2
-Source0: %{name}-%{version}+git-ffb111ac.tar.bz2
+Source0: %{name}-%{version}+git-21292f0.tar.bz2
%if 0%{?suse_version}
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
++++++ 3omns-0.1+git-ffb111ac.tar.bz2 -> 3omns-0.1+git-21292f0.tar.bz2 ++++++
++++ 10423 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package perl-PDF-API2 for openSUSE:Factory checked in at 2015-09-30 05:52:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-PDF-API2 (Old)
and /work/SRC/openSUSE:Factory/.perl-PDF-API2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-PDF-API2"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-PDF-API2/perl-PDF-API2.changes 2015-04-15 16:26:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-PDF-API2.new/perl-PDF-API2.changes 2015-09-30 05:52:20.000000000 +0200
@@ -1,0 +2,36 @@
+Sat Sep 26 09:02:25 UTC 2015 - coolo(a)suse.com
+
+- updated to 2.025
+ see /usr/share/doc/packages/perl-PDF-API2/Changes
+
+ 2.025 2015-09-23
+
+ - The previous release included a patch that broke compatibility
+ with Perl 5.8.x. The minimum supported version is now Perl
+ 5.8.5, and there is a .perl-version file to facilitate testing
+ using plenv.
+
+-------------------------------------------------------------------
+Sun Sep 20 16:15:24 UTC 2015 - coolo(a)suse.com
+
+- updated to 2.024
+ see /usr/share/doc/packages/perl-PDF-API2/Changes
+
+ 2.024 2015-09-18
+
+ - [RT #104133] Include all bounding boxes when importing a page
+ (patch by Don Huettl of Grant Street Group).
+
+ - [RT #104133] When retrieving bounding boxes for a page, fall
+ back according to the defaults listed in the PDF spec (patch by
+ Don Huettl of Grant Street Group).
+
+ - Barcodes now take an optional -caption argument that will be
+ printed beneath the barcode. This can replace or be used in
+ conjunction with the text representation of the barcode
+ (requested by Gareth Tunley).
+
+ - [RT #105581] Calls to width() in BaseFont are now significantly
+ faster (patch by Dmitri Tikhonov).
+
+-------------------------------------------------------------------
Old:
----
PDF-API2-2.023.tar.gz
New:
----
PDF-API2-2.025.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-PDF-API2.spec ++++++
--- /var/tmp/diff_new_pack.TaSmOn/_old 2015-09-30 05:52:21.000000000 +0200
+++ /var/tmp/diff_new_pack.TaSmOn/_new 2015-09-30 05:52:21.000000000 +0200
@@ -17,14 +17,15 @@
Name: perl-PDF-API2
-Version: 2.023
+Version: 2.025
Release: 0
%define cpan_name PDF-API2
Summary: Facilitates the creation and modification of PDF files
License: LGPL-2.1+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/PDF-API2/
-Source: http://www.cpan.org/authors/id/S/SS/SSIMMS/%{cpan_name}-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/S/SS/SSIMMS/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -55,6 +56,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes contrib examples LICENSE PATENTS README
+%doc Changes examples LICENSE PATENTS README
%changelog
++++++ PDF-API2-2.023.tar.gz -> PDF-API2-2.025.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/Changes new/PDF-API2-2.025/Changes
--- old/PDF-API2-2.023/Changes 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/Changes 2015-09-23 23:49:16.000000000 +0200
@@ -1,3 +1,29 @@
+2.025 2015-09-23
+
+ - The previous release included a patch that broke compatibility
+ with Perl 5.8.x. The minimum supported version is now Perl
+ 5.8.5, and there is a .perl-version file to facilitate testing
+ using plenv.
+
+
+2.024 2015-09-18
+
+ - [RT #104133] Include all bounding boxes when importing a page
+ (patch by Don Huettl of Grant Street Group).
+
+ - [RT #104133] When retrieving bounding boxes for a page, fall
+ back according to the defaults listed in the PDF spec (patch by
+ Don Huettl of Grant Street Group).
+
+ - Barcodes now take an optional -caption argument that will be
+ printed beneath the barcode. This can replace or be used in
+ conjunction with the text representation of the barcode
+ (requested by Gareth Tunley).
+
+ - [RT #105581] Calls to width() in BaseFont are now significantly
+ faster (patch by Dmitri Tikhonov).
+
+
2.023 2014-09-12
- The fix for [RT #69503] broke a previously-working case where a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/LICENSE new/PDF-API2-2.025/LICENSE
--- old/PDF-API2-2.023/LICENSE 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/LICENSE 2015-09-23 23:49:16.000000000 +0200
@@ -1,4 +1,4 @@
-This software is Copyright (c) 2014 by Steve Simms.
+This software is Copyright (c) 2015 by Steve Simms.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/META.yml new/PDF-API2-2.025/META.yml
--- old/PDF-API2-2.023/META.yml 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/META.yml 2015-09-23 23:49:16.000000000 +0200
@@ -6,7 +6,7 @@
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.013, CPAN::Meta::Converter version 2.132620'
+generated_by: 'Dist::Zilla version 5.013, CPAN::Meta::Converter version 2.143240'
license: lgpl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -15,7 +15,7 @@
requires:
Compress::Zlib: 1.0
Font::TTF: 0
- perl: v5.8.1
+ perl: v5.8.5
resources:
- repository: https://bitbucket.org/ssimms/pdfapi2
-version: 2.023
+ repository: git://github.com/ssimms/pdfapi2.git
+version: 2.025
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/Makefile.PL new/PDF-API2-2.025/Makefile.PL
--- old/PDF-API2-2.023/Makefile.PL 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/Makefile.PL 2015-09-23 23:49:16.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use 5.008001;
+use 5.008005;
use ExtUtils::MakeMaker 6.30;
@@ -25,7 +25,7 @@
"Font::TTF" => 0
},
"TEST_REQUIRES" => {},
- "VERSION" => "2.023",
+ "VERSION" => "2.025",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/README new/PDF-API2-2.025/README
--- old/PDF-API2-2.023/README 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/README 2015-09-23 23:49:16.000000000 +0200
@@ -1,11 +1,11 @@
This archive contains the distribution PDF-API2,
-version 2.023:
+version 2.025:
Facilitates the creation and modification of PDF files
-This software is Copyright (c) 2014 by Steve Simms.
+This software is Copyright (c) 2015 by Steve Simms.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/dist.ini new/PDF-API2-2.025/dist.ini
--- old/PDF-API2-2.023/dist.ini 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/dist.ini 2015-09-23 23:49:16.000000000 +0200
@@ -1,5 +1,5 @@
name = PDF-API2
-version = 2.023
+version = 2.025
author = Steve Simms <steve(a)deefs.net>
license = LGPL_2_1
copyright_holder = Steve Simms
@@ -10,15 +10,15 @@
format = %-9v %{yyyy-MM-dd}d
[MetaResources]
-repository.url = https://bitbucket.org/ssimms/pdfapi2
-repository.web = https://bitbucket.org/ssimms/pdfapi2
-repository.type = hg
+repository.url = git://github.com/ssimms/pdfapi2.git
+repository.web = https://github.com/ssimms/pdfapi2
+repository.type = git
[OurPkgVersion]
[PodSyntaxTests]
[Prereqs]
-perl = v5.8.1
+perl = v5.8.5
Compress::Zlib = 1.0
Font::TTF = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Annotation.pm new/PDF-API2-2.025/lib/PDF/API2/Annotation.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Annotation.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Annotation.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Annotation;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Dict';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Array.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Array.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Array.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Array.pm 2015-09-23 23:49:16.000000000 +0200
@@ -12,7 +12,7 @@
#=======================================================================
package PDF::API2::Basic::PDF::Array;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Objind';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Bool.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Bool.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Bool.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Bool.pm 2015-09-23 23:49:16.000000000 +0200
@@ -12,7 +12,7 @@
#=======================================================================
package PDF::API2::Basic::PDF::Bool;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::String';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Dict.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Dict.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Dict.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Dict.pm 2015-09-23 23:49:16.000000000 +0200
@@ -12,7 +12,7 @@
#=======================================================================
package PDF::API2::Basic::PDF::Dict;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Objind';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/File.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/File.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/File.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/File.pm 2015-09-23 23:49:16.000000000 +0200
@@ -14,7 +14,7 @@
#=======================================================================
package PDF::API2::Basic::PDF::File;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
=head1 NAME
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Filter/ASCII85Decode.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Filter/ASCII85Decode.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Filter/ASCII85Decode.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Filter/ASCII85Decode.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Basic::PDF::Filter::ASCII85Decode;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Filter';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Filter/ASCIIHexDecode.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Filter/ASCIIHexDecode.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Filter/ASCIIHexDecode.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Filter/ASCIIHexDecode.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Basic::PDF::Filter::ASCIIHexDecode;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Filter';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Filter/FlateDecode.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Filter/FlateDecode.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Filter/FlateDecode.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Filter/FlateDecode.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Basic::PDF::Filter::FlateDecode;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Filter';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Filter/LZWDecode.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Filter/LZWDecode.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Filter/LZWDecode.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Filter/LZWDecode.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Basic::PDF::Filter::LZWDecode;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Filter::FlateDecode';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Filter/RunLengthDecode.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Filter/RunLengthDecode.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Filter/RunLengthDecode.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Filter/RunLengthDecode.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Basic::PDF::Filter::RunLengthDecode;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Filter';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Filter.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Filter.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Filter.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Filter.pm 2015-09-23 23:49:16.000000000 +0200
@@ -12,7 +12,7 @@
#=======================================================================
package PDF::API2::Basic::PDF::Filter;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use PDF::API2::Basic::PDF::Filter::ASCII85Decode;
use PDF::API2::Basic::PDF::Filter::ASCIIHexDecode;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Literal.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Literal.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Literal.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Literal.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,7 +1,7 @@
# Literal PDF Object for Dirty Hacks ...
package PDF::API2::Basic::PDF::Literal;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Objind';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Name.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Name.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Name.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Name.pm 2015-09-23 23:49:16.000000000 +0200
@@ -12,7 +12,7 @@
#=======================================================================
package PDF::API2::Basic::PDF::Name;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::String';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Null.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Null.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Null.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Null.pm 2015-09-23 23:49:16.000000000 +0200
@@ -12,7 +12,7 @@
#=======================================================================
package PDF::API2::Basic::PDF::Null;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Objind';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Number.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Number.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Number.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Number.pm 2015-09-23 23:49:16.000000000 +0200
@@ -12,7 +12,7 @@
#=======================================================================
package PDF::API2::Basic::PDF::Number;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::String';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Objind.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Objind.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Objind.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Objind.pm 2015-09-23 23:49:16.000000000 +0200
@@ -12,7 +12,7 @@
#=======================================================================
package PDF::API2::Basic::PDF::Objind;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
=head1 NAME
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Page.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Page.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Page.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Page.pm 2015-09-23 23:49:16.000000000 +0200
@@ -12,7 +12,7 @@
#=======================================================================
package PDF::API2::Basic::PDF::Page;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Pages';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Pages.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Pages.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Pages.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Pages.pm 2015-09-23 23:49:16.000000000 +0200
@@ -12,7 +12,7 @@
#=======================================================================
package PDF::API2::Basic::PDF::Pages;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Dict';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/String.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/String.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/String.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/String.pm 2015-09-23 23:49:16.000000000 +0200
@@ -12,7 +12,7 @@
#=======================================================================
package PDF::API2::Basic::PDF::String;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Objind';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Utils.pm new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Utils.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Basic/PDF/Utils.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Basic/PDF/Utils.pm 2015-09-23 23:49:16.000000000 +0200
@@ -12,7 +12,7 @@
#=======================================================================
package PDF::API2::Basic::PDF::Utils;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
=head1 NAME
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Content/Text.pm new/PDF-API2-2.025/lib/PDF/API2/Content/Text.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Content/Text.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Content/Text.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Content::Text;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use warnings;
use strict;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Content.pm new/PDF-API2-2.025/lib/PDF/API2/Content.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Content.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Content.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Content;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Dict';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Lite.pm new/PDF-API2-2.025/lib/PDF/API2/Lite.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Lite.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Lite.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Lite;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
BEGIN {
@@ -149,14 +149,14 @@
return $self->{api}->ttfont($file,@opts);
}
-=item $font = $pdf->psfont $pfb, $afm, $encoding
+=item $font = $pdf->psfont($ps_file, [%options])
Returns a new type1 font object.
B<Examples:>
- $font = $pdf->psfont('TimesRoman.pfb','TimesRoman.afm','latin1');
- $font = $pdf->psfont('/fonts/Univers.pfb','/fonts/Univers.afm','latin2');
+ $font = $pdf->psfont('TimesRoman.pfa', -afmfile => 'TimesRoman.afm', -encode => 'latin1');
+ $font = $pdf->psfont('/fonts/Univers.pfb', -pfmfile => '/fonts/Univers.pfm', -encode => 'latin2');
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Matrix.pm new/PDF-API2-2.025/lib/PDF/API2/Matrix.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Matrix.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Matrix.pm 2015-09-23 23:49:16.000000000 +0200
@@ -10,7 +10,7 @@
#=======================================================================
package PDF::API2::Matrix;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
sub new {
my $type = shift;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/NamedDestination.pm new/PDF-API2-2.025/lib/PDF/API2/NamedDestination.pm
--- old/PDF-API2-2.023/lib/PDF/API2/NamedDestination.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/NamedDestination.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::NamedDestination;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Dict';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Outline.pm new/PDF-API2-2.025/lib/PDF/API2/Outline.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Outline.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Outline.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Outline;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Dict';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Outlines.pm new/PDF-API2-2.025/lib/PDF/API2/Outlines.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Outlines.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Outlines.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Outlines;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use warnings;
use strict;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Page.pm new/PDF-API2-2.025/lib/PDF/API2/Page.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Page.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Page.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Page;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Pages';
@@ -113,7 +113,7 @@
=item ($llx, $lly, $urx, $ury) = $page->get_mediabox
-Gets the mediabox based one best estimates or the default.
+Gets the mediabox based on best estimates or the default.
=cut
@@ -138,13 +138,13 @@
=item ($llx, $lly, $urx, $ury) = $page->get_cropbox
-Gets the cropbox based one best estimates or the default.
+Gets the cropbox based on best estimates or the default.
=cut
sub get_cropbox {
my $self = shift();
- return _get_bbox($self, [qw(CropBox BleedBox TrimBox ArtBox MediaBox)]);
+ return _get_bbox($self, [qw(CropBox MediaBox BleedBox TrimBox ArtBox)]);
}
=item $page->bleedbox $w, $h
@@ -163,13 +163,13 @@
=item ($llx, $lly, $urx, $ury) = $page->get_bleedbox
-Gets the bleedbox based one best estimates or the default.
+Gets the bleedbox based on best estimates or the default.
=cut
sub get_bleedbox {
my $self = shift();
- return _get_bbox($self, [qw(BleedBox TrimBox ArtBox MediaBox CropBox)]);
+ return _get_bbox($self, [qw(BleedBox CropBox MediaBox TrimBox ArtBox)]);
}
=item $page->trimbox $w, $h
@@ -186,13 +186,13 @@
=item ($llx, $lly, $urx, $ury) = $page->get_trimbox
-Gets the trimbox based one best estimates or the default.
+Gets the trimbox based on best estimates or the default.
=cut
sub get_trimbox {
my $self = shift();
- return _get_bbox($self, [qw(TrimBox ArtBox MediaBox CropBox BleedBox)]);
+ return _get_bbox($self, [qw(TrimBox CropBox MediaBox ArtBox BleedBox)]);
}
=item $page->artbox $w, $h
@@ -211,13 +211,13 @@
=item ($llx, $lly, $urx, $ury) = $page->get_artbox
-Gets the artbox based one best estimates or the default.
+Gets the artbox based on best estimates or the default.
=cut
sub get_artbox {
my $self = shift();
- return _get_bbox($self, [qw(ArtBox TrimBox BleedBox CropBox MediaBox)]);
+ return _get_bbox($self, [qw(ArtBox CropBox MediaBox TrimBox BleedBox)]);
}
=item $page->rotate $deg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/BaseFont.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/BaseFont.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/BaseFont.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/BaseFont.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::BaseFont;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource';
@@ -624,14 +624,18 @@
sub width {
my ($self,$text)=@_;
my $width=0;
+ my @widths_cache;
if(is_utf8($text)) {
$text=$self->strByUtf($text)
}
+
+ my $kern = $self->{-dokern} && ref($self->data->{kern});
my $lastglyph='';
foreach my $n (unpack('C*',$text))
{
- $width+=$self->wxByEnc($n);
- if($self->{-dokern} && ref($self->data->{kern}))
+ $widths_cache[$n] = $self->wxByEnc($n) unless defined $widths_cache[$n];
+ $width += $widths_cache[$n];
+ if ($kern)
{
$width+=$self->data->{kern}->{$lastglyph.':'.$self->data->{e2n}->[$n]};
$lastglyph=$self->data->{e2n}->[$n];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/CIDFont/CJKFont.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/CIDFont/CJKFont.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/CIDFont/CJKFont.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/CIDFont/CJKFont.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::CIDFont::CJKFont;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::CIDFont';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/CIDFont/TrueType/FontFile.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/CIDFont/TrueType/FontFile.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/CIDFont/TrueType/FontFile.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/CIDFont/TrueType/FontFile.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::CIDFont::TrueType::FontFile;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Dict';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/CIDFont/TrueType.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/CIDFont/TrueType.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/CIDFont/TrueType.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/CIDFont/TrueType.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::CIDFont::TrueType;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::CIDFont';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/CIDFont.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/CIDFont.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/CIDFont.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/CIDFont.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::CIDFont;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::BaseFont';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace/DeviceN.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace/DeviceN.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace/DeviceN.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace/DeviceN.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::ColorSpace::DeviceN;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::ColorSpace';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace/Indexed/ACTFile.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace/Indexed/ACTFile.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace/Indexed/ACTFile.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace/Indexed/ACTFile.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::ColorSpace::Indexed::ACTFile;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::ColorSpace::Indexed';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace/Indexed/Hue.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace/Indexed/Hue.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace/Indexed/Hue.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace/Indexed/Hue.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::ColorSpace::Indexed::Hue;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::ColorSpace::Indexed';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace/Indexed/WebColor.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace/Indexed/WebColor.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace/Indexed/WebColor.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace/Indexed/WebColor.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::ColorSpace::Indexed::WebColor;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::ColorSpace::Indexed';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace/Indexed.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace/Indexed.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace/Indexed.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace/Indexed.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::ColorSpace::Indexed;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::ColorSpace';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace/Separation.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace/Separation.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace/Separation.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace/Separation.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::ColorSpace::Separation;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::ColorSpace';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/ColorSpace.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/ColorSpace.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::ColorSpace;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Array';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Colors.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Colors.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Colors.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Colors.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Colors;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use strict;
use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/ExtGState.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/ExtGState.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/ExtGState.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/ExtGState.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::ExtGState;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/BdFont.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/BdFont.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/BdFont.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/BdFont.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::BdFont;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::Font';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/bankgothic.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/bankgothic.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/bankgothic.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/bankgothic.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::bankgothic;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'BankGothicMediumBT',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/courier.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/courier.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/courier.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/courier.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::courier;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Courier',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/courierbold.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/courierbold.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/courierbold.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/courierbold.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::courierbold;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Courier-Bold',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/courierboldoblique.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/courierboldoblique.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/courierboldoblique.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/courierboldoblique.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::courierboldoblique;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Courier-BoldOblique',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/courieroblique.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/courieroblique.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/courieroblique.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/courieroblique.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::courieroblique;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Courier-Oblique',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/georgia.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/georgia.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/georgia.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/georgia.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::georgia;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Georgia',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/georgiabold.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/georgiabold.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/georgiabold.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/georgiabold.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::georgiabold;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Georgia,Bold',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/georgiabolditalic.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/georgiabolditalic.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/georgiabolditalic.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/georgiabolditalic.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::georgiabolditalic;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Georgia,BoldItalic',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/georgiaitalic.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/georgiaitalic.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/georgiaitalic.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/georgiaitalic.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::georgiaitalic;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Georgia,Italic',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/helvetica.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/helvetica.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/helvetica.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/helvetica.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::helvetica;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Helvetica',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/helveticabold.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/helveticabold.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/helveticabold.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/helveticabold.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::helveticabold;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Helvetica-Bold',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/helveticaboldoblique.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/helveticaboldoblique.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/helveticaboldoblique.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/helveticaboldoblique.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::helveticaboldoblique;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Helvetica-BoldOblique',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/helveticaoblique.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/helveticaoblique.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/helveticaoblique.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/helveticaoblique.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::helveticaoblique;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Helvetica-Oblique',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/symbol.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/symbol.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/symbol.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/symbol.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::symbol;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Symbol',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/timesbold.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/timesbold.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/timesbold.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/timesbold.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::timesbold;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Times-Bold',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/timesbolditalic.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/timesbolditalic.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/timesbolditalic.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/timesbolditalic.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::timesbolditalic;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Times-BoldItalic',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/timesitalic.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/timesitalic.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/timesitalic.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/timesitalic.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::timesitalic;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Times-Italic',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/timesroman.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/timesroman.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/timesroman.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/timesroman.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::timesroman;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Times-Roman',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/trebuchet.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/trebuchet.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/trebuchet.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/trebuchet.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::trebuchet;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'TrebuchetMS',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/trebuchetbold.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/trebuchetbold.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/trebuchetbold.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/trebuchetbold.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::trebuchetbold;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'TrebuchetMS,Bold',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/trebuchetbolditalic.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/trebuchetbolditalic.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/trebuchetbolditalic.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/trebuchetbolditalic.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::trebuchetbolditalic;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'TrebuchetMS,BoldItalic',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/trebuchetitalic.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/trebuchetitalic.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/trebuchetitalic.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/trebuchetitalic.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::trebuchetitalic;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'TrebuchetMS,Italic',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/verdana.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/verdana.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/verdana.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/verdana.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::verdana;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Verdana',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/verdanabold.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/verdanabold.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/verdanabold.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/verdanabold.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::verdanabold;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Verdana,Bold',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/verdanabolditalic.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/verdanabolditalic.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/verdanabolditalic.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/verdanabolditalic.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::verdanabolditalic;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Verdana,BoldItalic',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/verdanaitalic.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/verdanaitalic.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/verdanaitalic.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/verdanaitalic.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::verdanaitalic;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Verdana,Italic',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/webdings.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/webdings.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/webdings.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/webdings.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::webdings;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Webdings',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/wingdings.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/wingdings.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/wingdings.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/wingdings.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::wingdings;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'Wingdings',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/zapfdingbats.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/zapfdingbats.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont/zapfdingbats.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont/zapfdingbats.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont::zapfdingbats;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
$FONTDATA = {
'fontname' => 'ZapfDingbats',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/CoreFont.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/CoreFont.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::CoreFont;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::Font';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/Postscript.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/Postscript.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/Postscript.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/Postscript.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::Postscript;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::Font';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/SynFont.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/SynFont.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font/SynFont.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font/SynFont.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font::SynFont;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::Font';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Font.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Font.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Font.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Font.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Font;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::BaseFont';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Glyphs.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Glyphs.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Glyphs.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Glyphs.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Glyphs;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use strict;
use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/PaperSizes.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/PaperSizes.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/PaperSizes.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/PaperSizes.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::PaperSizes;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use strict;
use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Pattern.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Pattern.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Pattern.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Pattern.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Pattern;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/Shading.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/Shading.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/Shading.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/Shading.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::Shading;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/UniFont.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/UniFont.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/UniFont.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/UniFont.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::UniFont;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use Encode qw(:all);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/BarCode/codabar.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/BarCode/codabar.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/BarCode/codabar.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/BarCode/codabar.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Form::BarCode::codabar;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::XObject::Form::BarCode';
@@ -13,7 +13,7 @@
my @bars = $self->encode($options{'-code'});
- $self->drawbar([@bars]);
+ $self->drawbar([@bars], $options{'caption'});
return $self;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/BarCode/code128.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/BarCode/code128.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/BarCode/code128.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/BarCode/code128.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Form::BarCode::code128;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::XObject::Form::BarCode';
@@ -37,7 +37,7 @@
@bars = $self->encode_128($options{'-type'}, $options{'-code'});
}
- $self->drawbar(\@bars);
+ $self->drawbar(\@bars, $options{'caption'});
return $self;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/BarCode/code3of9.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/BarCode/code3of9.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/BarCode/code3of9.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/BarCode/code3of9.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Form::BarCode::code3of9;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::XObject::Form::BarCode';
@@ -15,7 +15,7 @@
$options{'-chk'} ? 1 : 0,
$options{'-ext'} ? 1 : 0);
- $self->drawbar([@bars]);
+ $self->drawbar([@bars], $options{'caption'});
return $self;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/BarCode/ean13.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/BarCode/ean13.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/BarCode/ean13.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/BarCode/ean13.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Form::BarCode::ean13;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::XObject::Form::BarCode';
@@ -13,7 +13,7 @@
my @bars = $self->encode($options{'-code'});
- $self->drawbar([@bars]);
+ $self->drawbar([@bars], $options{'caption'});
return $self;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/BarCode/int2of5.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/BarCode/int2of5.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/BarCode/int2of5.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/BarCode/int2of5.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Form::BarCode::int2of5;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::XObject::Form::BarCode';
@@ -19,7 +19,7 @@
my @bars = $self->encode($options{'-code'});
- $self->drawbar([@bars]);
+ $self->drawbar([@bars], $options{'caption'});
return $self;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/BarCode.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/BarCode.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/BarCode.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/BarCode.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Form::BarCode;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::XObject::Form::Hybrid';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/Hybrid.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/Hybrid.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form/Hybrid.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form/Hybrid.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Form::Hybrid;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base qw(PDF::API2::Content PDF::API2::Resource::XObject::Form);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Form.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Form.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Form;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::XObject';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image/GD.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image/GD.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image/GD.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image/GD.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Image::GD;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::XObject::Image';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image/GIF.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image/GIF.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image/GIF.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image/GIF.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Image::GIF;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::XObject::Image';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image/JPEG.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image/JPEG.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image/JPEG.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image/JPEG.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Image::JPEG;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::XObject::Image';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image/PNG.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image/PNG.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image/PNG.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image/PNG.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Image::PNG;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::XObject::Image';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image/PNM.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image/PNM.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image/PNM.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image/PNM.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Image::PNM;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
# For spec details, see man pages pam(5), pbm(5), pgm(5), pnm(5),
# ppm(5), which were pasted into the __END__ of this file in an
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image/TIFF.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image/TIFF.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image/TIFF.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image/TIFF.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Image::TIFF;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::XObject::Image';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject/Image.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject/Image.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject::Image;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource::XObject';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject.pm new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource/XObject.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource/XObject.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource::XObject;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Resource';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Resource.pm new/PDF-API2-2.025/lib/PDF/API2/Resource.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Resource.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Resource.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Resource;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use base 'PDF::API2::Basic::PDF::Dict';
@@ -49,6 +49,7 @@
sub new_api { my $self = shift(); return $self->new(@_); }
=item $name = $resource->name()
+
=item $resource->name($name)
Get or set the name of the resource.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/UniWrap.pm new/PDF-API2-2.025/lib/PDF/API2/UniWrap.pm
--- old/PDF-API2-2.023/lib/PDF/API2/UniWrap.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/UniWrap.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::UniWrap;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
# Implements UAX#14: Line Breaking Properties
# David Nesting <david(a)fastolfe.net>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Util.pm new/PDF-API2-2.025/lib/PDF/API2/Util.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Util.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Util.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Util;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
no warnings qw[ recursion uninitialized ];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2/Win32.pm new/PDF-API2-2.025/lib/PDF/API2/Win32.pm
--- old/PDF-API2-2.023/lib/PDF/API2/Win32.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2/Win32.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2::Win32;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
no warnings qw[ deprecated recursion uninitialized ];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PDF-API2-2.023/lib/PDF/API2.pm new/PDF-API2-2.025/lib/PDF/API2.pm
--- old/PDF-API2-2.023/lib/PDF/API2.pm 2014-09-12 23:26:35.000000000 +0200
+++ new/PDF-API2-2.025/lib/PDF/API2.pm 2015-09-23 23:49:16.000000000 +0200
@@ -1,6 +1,6 @@
package PDF::API2;
-our $VERSION = '2.023'; # VERSION
+our $VERSION = '2.025'; # VERSION
use Carp;
use Encode qw(:all);
@@ -135,8 +135,8 @@
sub open {
my ($class, $file, %options) = @_;
- die "File '$file' does not exist." unless -f $file;
- die "File '$file' is not readable." unless -r $file;
+ croak "File '$file' does not exist" unless -f $file;
+ croak "File '$file' is not readable" unless -r $file;
my $content;
my $scalar_fh = FileHandle->new();
@@ -1288,6 +1288,7 @@
$self->{apiimportcache}||={};
$self->{apiimportcache}->{$s_pdf}||={};
+ # Should never get past MediaBox, since it is a required object.
foreach my $k (qw( MediaBox ArtBox TrimBox BleedBox CropBox )) {
#next unless(defined $s_page->{$k});
#my $box = walk_obj($self->{apiimportcache}->{$s_pdf},$s_pdf->{pdf},$self->{pdf},$s_page->{$k});
@@ -1407,7 +1408,18 @@
# all that nasty resources from polluting
# our very own resource naming space.
my $xo = $self->importPageIntoForm($s_pdf,$s_page);
- $t_page->mediabox( map { $_->val } $xo->{BBox}->elementsof) if(defined $xo->{BBox});
+
+ # copy all page dimensions
+ foreach my $k (qw( MediaBox ArtBox TrimBox BleedBox CropBox )) {
+ my $prop = $s_page->find_prop($k);
+ next unless defined $prop;
+
+ my $box = walk_obj({}, $s_pdf->{pdf}, $self->{pdf}, $prop);
+ my $method = lc($k);
+
+ $t_page->$method(map { $_->val } $box->elementsof);
+ }
+
$t_page->gfx->formimage($xo,0,0,1);
# copy annotations and/or form elements as well
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
1
0
Hello community,
here is the log from the commit of package perl-Test-Compile for openSUSE:Factory checked in at 2015-09-30 05:52:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Compile (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Compile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Compile"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Compile/perl-Test-Compile.changes 2015-04-15 16:27:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Test-Compile.new/perl-Test-Compile.changes 2015-09-30 05:52:19.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Sep 26 09:15:01 UTC 2015 - coolo(a)suse.com
+
+- updated to 1.3.0
+ see /usr/share/doc/packages/perl-Test-Compile/Changes
+
+-------------------------------------------------------------------
Old:
----
Test-Compile-v1.2.1.tar.gz
New:
----
Test-Compile-v1.3.0.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Compile.spec ++++++
--- /var/tmp/diff_new_pack.sWnywk/_old 2015-09-30 05:52:20.000000000 +0200
+++ /var/tmp/diff_new_pack.sWnywk/_new 2015-09-30 05:52:20.000000000 +0200
@@ -17,19 +17,20 @@
Name: perl-Test-Compile
-Version: 1.2.1
+Version: 1.3.0
Release: 0
%define cpan_name Test-Compile
Summary: Check whether Perl files compile correctly
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Compile/
-Source: http://www.cpan.org/authors/id/E/EG/EGILES/%{cpan_name}-v%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/E/EG/EGILES/%{cpan_name}-v%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Module::Build) >= 0.38
+BuildRequires: perl(Module::Build) >= 0.380000
BuildRequires: perl(UNIVERSAL::require)
BuildRequires: perl(version)
Requires: perl(UNIVERSAL::require)
++++++ Test-Compile-v1.2.1.tar.gz -> Test-Compile-v1.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/Changes new/Test-Compile-v1.3.0/Changes
--- old/Test-Compile-v1.2.1/Changes 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/Changes 2015-09-24 06:11:38.000000000 +0200
@@ -1,6 +1,13 @@
Revision history for Perl extension Test-Compile
-v1.2.1 UNRELEASED (Evan Giles <egiles(a)cpan.org>)
+v1.3.0 2015-09-24 (Evan Giles <egiles(a)cpan.org>)
+ - Announce the deprecation the procedural functions (long overdue)
+ - Remove the 'use 5.6.2' statements, they cause warnings.
+ - Fix some spelling errors
+ - Move the xt tests into the main test directory
+ - Protect against strange PERL5LIB chars (CPAN-RT 104614)
+
+v1.2.1 2014-12-09 (Evan Giles <egiles(a)cpan.org>)
- Fix (skip where appropriate) failing CPAN test
- Avoid warnings for empty files in all_pl_files (Nigel Gregoire)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/MANIFEST new/Test-Compile-v1.3.0/MANIFEST
--- old/Test-Compile-v1.2.1/MANIFEST 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/MANIFEST 2015-09-24 06:11:38.000000000 +0200
@@ -20,6 +20,14 @@
t/200-pl-file-ok.t
t/200-pl-file-ok-vms.t
t/200-taint.t
+t/999-has-version.t
+t/999-perlcritic.t
+t/999-pod-coverage.t
+t/999-pod.t
+t/999-portability.t
+t/999-synopsis.t
+t/999-version.t
+t/perlcriticrc
t/scripts/CVS/Ignore.pm
t/scripts/CVS/taint2.pl
t/scripts/datafile
@@ -33,11 +41,3 @@
t/scripts/subdir/empty
t/scripts/subdir/success.pl
t/scripts/taint.pl
-xt/author/01_perl_critic.t
-xt/author/02_pod.t
-xt/author/04_pod_coverage.t
-xt/author/07_portability_files.t
-xt/author/08_synopsis.t
-xt/author/10_has_version.t
-xt/author/99-version.t
-xt/author/perlcriticrc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/META.json new/Test-Compile-v1.3.0/META.json
--- old/Test-Compile-v1.2.1/META.json 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/META.json 2015-09-24 06:11:38.000000000 +0200
@@ -4,7 +4,7 @@
"Evan Giles <egiles(a)cpan.org>"
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.110440",
+ "generated_by" : "Module::Build version 0.421",
"license" : [
"perl_5"
],
@@ -21,23 +21,23 @@
},
"runtime" : {
"recommends" : {
- "Devel::CheckOS" : 0
+ "Devel::CheckOS" : "0"
},
"requires" : {
- "UNIVERSAL::require" : 0,
+ "UNIVERSAL::require" : "0",
"perl" : "v5.6.2",
- "version" : 0
+ "version" : "0"
}
}
},
"provides" : {
"Test::Compile" : {
"file" : "lib/Test/Compile.pm",
- "version" : "v1.2.1"
+ "version" : "v1.3.0"
},
"Test::Compile::Internal" : {
"file" : "lib/Test/Compile/Internal.pm",
- "version" : "v1.2.1"
+ "version" : "v1.3.0"
}
},
"release_status" : "stable",
@@ -49,5 +49,5 @@
"url" : "http://github.com/egiles/test-compile"
}
},
- "version" : "v1.2.1"
+ "version" : "v1.3.0"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/META.yml new/Test-Compile-v1.3.0/META.yml
--- old/Test-Compile-v1.2.1/META.yml 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/META.yml 2015-09-24 06:11:38.000000000 +0200
@@ -4,28 +4,28 @@
- 'Evan Giles <egiles(a)cpan.org>'
build_requires: {}
configure_requires:
- Module::Build: 0.38
+ Module::Build: '0.38'
dynamic_config: 1
-generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110440'
+generated_by: 'Module::Build version 0.421, CPAN::Meta::Converter version 2.142690'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Test-Compile
provides:
Test::Compile:
file: lib/Test/Compile.pm
- version: v1.2.1
+ version: v1.3.0
Test::Compile::Internal:
file: lib/Test/Compile/Internal.pm
- version: v1.2.1
+ version: v1.3.0
recommends:
- Devel::CheckOS: 0
+ Devel::CheckOS: '0'
requires:
- UNIVERSAL::require: 0
+ UNIVERSAL::require: '0'
perl: v5.6.2
- version: 0
+ version: '0'
resources:
license: http://dev.perl.org/licenses/
repository: http://github.com/egiles/test-compile
-version: v1.2.1
+version: v1.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/Makefile.PL new/Test-Compile-v1.3.0/Makefile.PL
--- old/Test-Compile-v1.2.1/Makefile.PL 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/Makefile.PL 2015-09-24 06:11:38.000000000 +0200
@@ -1,16 +1,16 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.3800
+# Note: this file was auto-generated by Module::Build::Compat version 0.4210
require 5.006002;
use ExtUtils::MakeMaker;
WriteMakefile
(
'NAME' => 'Test::Compile',
- 'VERSION_FROM' => 'lib/Test/Compile.pm',
- 'PREREQ_PM' => {
- 'UNIVERSAL::require' => 0,
- 'version' => 0
- },
'INSTALLDIRS' => 'site',
+ 'VERSION_FROM' => 'lib/Test/Compile.pm',
+ 'PL_FILES' => {},
'EXE_FILES' => [],
- 'PL_FILES' => {}
+ 'PREREQ_PM' => {
+ 'version' => 0,
+ 'UNIVERSAL::require' => 0
+ }
)
;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/README new/Test-Compile-v1.3.0/README
--- old/Test-Compile-v1.2.1/README 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/README 2015-09-24 06:11:38.000000000 +0200
@@ -4,7 +4,7 @@
Test::Simple fashion. It can test all Perl files in a distribution, or
individual files.
-DEPENDANCIES
+DEPENDENCIES
Requires perl v5.6.2, plus
* UNIVERSAL::require
* version
@@ -18,7 +18,7 @@
./Build install
COPYRIGHT AND LICENSE
- Copyright 2007-2014.
+ Copyright 2007-2015.
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/lib/Test/Compile/Internal.pm new/Test-Compile-v1.3.0/lib/Test/Compile/Internal.pm
--- old/Test-Compile-v1.2.1/lib/Test/Compile/Internal.pm 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/lib/Test/Compile/Internal.pm 2015-09-24 06:11:38.000000000 +0200
@@ -1,10 +1,9 @@
package Test::Compile::Internal;
-use 5.6.2;
use warnings;
use strict;
-use version; our $VERSION = qv("v1.2.1");
+use version; our $VERSION = qv("v1.3.0");
use File::Spec;
use UNIVERSAL::require;
use Test::Builder;
@@ -38,7 +37,7 @@
=cut
sub new {
- my ($class,%self) = @_;
+ my ($class, %self) = @_;
my $self = \%self;
$self->{test} = Test::Builder->new();
@@ -51,38 +50,38 @@
Checks all the perl files it can find for compilation errors.
-If C<@dirs> is defined then it is taken as an array of directories to
-be searched for perl files, otherwise it searches some default locatioons
-- see L</all_pm_files()> and L</all_pl_files()>.
+If C<@dirs> is defined then it is taken as an array of directories to
+be searched for perl files, otherwise it searches some default locations
+- see L</all_pm_files()> and L</all_pl_files()>.
=cut
sub all_files_ok {
- my ($self,@dirs) = @_;
+ my ($self, @dirs) = @_;
my $test = $self->{test};
for my $file ( $self->all_pl_files(@dirs) ) {
my $ok = $self->pl_file_compiles($file);
- $test->ok($ok,"$file compiles");
+ $test->ok($ok, "$file compiles");
}
for my $file ( $self->all_pm_files(@dirs) ) {
my $ok = $self->pm_file_compiles($file);
- $test->ok($ok,"$file compiles");
+ $test->ok($ok, "$file compiles");
}
}
=item C<verbose($verbose)>
-An accessor to get/set the verbose flag. If C<verbose> is set, you can get some
+An accessor to get/set the verbose flag. If C<verbose> is set, you can get some
extra diagnostics when compilation fails.
Verbose is set on by default.
=cut
sub verbose {
- my ($self,$verbose) = @_;
+ my ($self, $verbose) = @_;
if ( defined($verbose) ) {
$self->{verbose} = $verbose;
@@ -104,7 +103,7 @@
=cut
sub all_pm_files {
- my ($self,@dirs) = @_;
+ my ($self, @dirs) = @_;
@dirs = @dirs ? @dirs : _pm_starting_points();
@@ -133,7 +132,7 @@
=cut
sub all_pl_files {
- my ($self,@dirs) = @_;
+ my ($self, @dirs) = @_;
@dirs = @dirs ? @dirs : _pl_starting_points();
@@ -163,14 +162,14 @@
=cut
sub pl_file_compiles {
- my ($self,$file) = @_;
- return $self->_run_closure(
+ my ($self, $file) = @_;
+ return $self->_run_subprocess(
sub{
if ( -f $file ) {
my @inc = ('blib/lib', @INC);
my $taint = $self->_is_in_taint_mode($file);
system($^X, (map { "-I$_" } @inc), "-c$taint", $file);
- return ($? ? 0 : 1);
+ return ($? == 0);
}
}
);
@@ -185,16 +184,16 @@
=cut
sub pm_file_compiles {
- my ($self,$file,%args) = @_;
+ my ($self, $file, %args) = @_;
- return $self->_run_closure(
+ return $self->_run_subprocess(
sub{
if ( -f $file ) {
my $module = $file;
$module =~ s!^(blib[/\\])?lib[/\\]!!;
$module =~ s![/\\]!::!g;
$module =~ s/\.pm$//;
-
+
return 1 if $module->require;
$self->{test}->diag("Compilation of $module failed: $@")
@@ -222,18 +221,18 @@
=cut
sub done_testing {
- my ($self,@args) = @_;
+ my ($self, @args) = @_;
$self->{test}->done_testing(@args);
}
-=item C<ok($test,$name)>
+=item C<ok($test, $name)>
Your basic test. Pass if C<$test> is true, fail if C<$test> is false. Just
like C<Test::Simple>'s C<ok()>.
=cut
sub ok {
- my ($self,@args) = @_;
+ my ($self, @args) = @_;
$self->{test}->ok(@args);
}
@@ -243,7 +242,7 @@
=cut
sub plan {
- my ($self,@args) = @_;
+ my ($self, @args) = @_;
$self->{test}->plan(@args);
}
@@ -255,7 +254,7 @@
=cut
sub exported_to {
- my ($self,@args) = @_;
+ my ($self, @args) = @_;
$self->{test}->exported_to(@args);
}
@@ -272,7 +271,7 @@
=cut
sub diag {
- my ($self,@args) = @_;
+ my ($self, @args) = @_;
$self->{test}->diag(@args);
}
@@ -283,7 +282,7 @@
=cut
sub skip {
- my ($self,@args) = @_;
+ my ($self, @args) = @_;
$self->{test}->skip(@args);
}
@@ -295,12 +294,12 @@
=cut
sub skip_all {
- my ($self,@args) = @_;
+ my ($self, @args) = @_;
$self->{test}->skip_all(@args);
}
-sub _run_closure {
- my ($self,$closure) = @_;
+sub _run_subprocess {
+ my ($self, $closure) = @_;
my $pid = fork();
if ( ! defined($pid) ) {
@@ -320,7 +319,7 @@
}
sub _find_files {
- my ($self,@queue) = @_;
+ my ($self, @queue) = @_;
for my $file (@queue) {
if (defined($file) && -d $file) {
@@ -354,7 +353,7 @@
}
sub _read_shebang {
- my ($self,$file) = @_;
+ my ($self, $file) = @_;
open(my $f, "<", $file) or die "could not open $file";
my $line = <$f>;
@@ -364,7 +363,7 @@
}
sub _is_in_taint_mode {
- my ($self,$file) = @_;
+ my ($self, $file) = @_;
my $shebang = $self->_read_shebang($file);
my $taint = "";
@@ -384,14 +383,14 @@
=head1 COPYRIGHT AND LICENSE
-Copyright 2007-2014 by the authors.
+Copyright 2007-2015 by the authors.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=head1 SEE ALSO
-L<Test::Strict> proveds functions to ensure your perl files comnpile, with
+L<Test::Strict> provides functions to ensure your perl files compile, with
the added bonus that it will check you have used strict in all your files.
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/lib/Test/Compile.pm new/Test-Compile-v1.3.0/lib/Test/Compile.pm
--- old/Test-Compile-v1.2.1/lib/Test/Compile.pm 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/lib/Test/Compile.pm 2015-09-24 06:11:38.000000000 +0200
@@ -1,10 +1,9 @@
package Test::Compile;
-use 5.6.2;
use warnings;
use strict;
-use version; our $VERSION = qv("v1.2.1");
+use version; our $VERSION = qv("v1.3.0");
use UNIVERSAL::require;
use Test::Compile::Internal;
@@ -22,7 +21,7 @@
$test->all_files_ok();
$test->done_testing();
- # The procedural way
+ # The procedural way (deprecated)
use Test::Compile;
all_pm_files_ok();
@@ -85,7 +84,7 @@
Checks all the perl files it can find for compilation errors.
If C<@dirs> is defined then it is taken as an array of directories to
-be searched for perl files, otherwise it searches some default locatioons
+be searched for perl files, otherwise it searches some default locations
- see L</all_pm_files()> and L</all_pl_files()>.
=item C<all_pm_files(@dirs)>
@@ -140,7 +139,7 @@
Declares that you are done testing, no more tests will be run after this point.
-=item C<ok($test,$name)>
+=item C<ok($test, $name)>
Your basic test. Pass if C<$test> is true, fail if C<$test> is false. Just
like C<Test::Simple>'s C<ok()>.
@@ -176,6 +175,15 @@
=head1 FUNCTIONS
+The use of the following functions is deprecated and strongly discouraged.
+
+They are automatically exported to your namespace, which is
+no longer considered best practise. At some stage in the future, this will
+stop and you'll have to import them explicitly.
+
+Even then, you really should use the object oriented methods as they provide
+a more consistent interface.
+
=over 4
=item C<all_pm_files_ok(@files)>
@@ -255,7 +263,7 @@
$ok;
}
-=item C<pm_file_ok($filename,$testname)>
+=item C<pm_file_ok($filename, $testname)>
C<pm_file_ok()> will okay the test if $filename compiles as a perl module.
@@ -265,7 +273,7 @@
=cut
sub pm_file_ok {
- my ($file,$name) = @_;
+ my ($file, $name) = @_;
$name ||= "Compile test for $file";
@@ -276,7 +284,7 @@
return $ok;
}
-=item C<pl_file_ok($filename,$testname)>
+=item C<pl_file_ok($filename, $testname)>
C<pl_file_ok()> will okay the test if $filename compiles as a perl script. You
need to give the path to the script relative to this distribution's base
@@ -289,7 +297,7 @@
=cut
sub pl_file_ok {
- my ($file,$name) = @_;
+ my ($file, $name) = @_;
$name ||= "Compile test for $file";
@@ -364,7 +372,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright 2007-2014 by the authors.
+Copyright 2007-2015 by the authors.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
@@ -374,7 +382,7 @@
L<Test::Compile::Internal> provides the object oriented interface to (and the
inner workings for) the Test::Compile functionality.
-L<Test::Strict> proveds functions to ensure your perl files comnpile, with
+L<Test::Strict> provides functions to ensure your perl files compile, with
added bonus that it will check you have used strict in all your files.
L<Test::LoadAllModules> just handles modules, not script files, but has more
fine-grained control.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/100-internal-verbose.t new/Test-Compile-v1.3.0/t/100-internal-verbose.t
--- old/Test-Compile-v1.2.1/t/100-internal-verbose.t 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/t/100-internal-verbose.t 2015-09-24 06:11:38.000000000 +0200
@@ -33,8 +33,8 @@
return;
}
- my $lib = join(":",@INC);
- my $cmd = "PERL5LIB=$lib $^X $0";
+ local $ENV{PERL5LIB} = join(":",@INC);
+ my $cmd = "$^X $0";
my $silent = `$cmd silent 2>&1`;
is($silent,"","no output when in silent mode");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-has-version.t new/Test-Compile-v1.3.0/t/999-has-version.t
--- old/Test-Compile-v1.2.1/t/999-has-version.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Compile-v1.3.0/t/999-has-version.t 2015-09-24 06:11:38.000000000 +0200
@@ -0,0 +1,13 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+plan skip_all => 'Set AUTHOR_TEST to run this test'
+ unless $ENV{AUTHOR_TEST};
+plan skip_all => 'Test::HasVersion required'
+ unless eval 'use Test::HasVersion; 1';
+
+all_pm_version_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-perlcritic.t new/Test-Compile-v1.3.0/t/999-perlcritic.t
--- old/Test-Compile-v1.2.1/t/999-perlcritic.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Compile-v1.3.0/t/999-perlcritic.t 2015-09-24 06:11:38.000000000 +0200
@@ -0,0 +1,22 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+use FindBin '$Bin';
+use File::Spec;
+
+plan skip_all => 'Set AUTHOR_TEST to run this test'
+ unless $ENV{AUTHOR_TEST};
+plan skip_all => 'Perl::Critic required'
+ unless eval 'use Perl::Critic; 1';
+plan skip_all => 'Test::Perl::Critic required'
+ unless eval 'use Test::Perl::Critic; 1';
+
+my %opt;
+my $rc_file = File::Spec->catfile($Bin, 'perlcriticrc');
+$opt{'-profile'} = $rc_file if -r $rc_file;
+Test::Perl::Critic->import(%opt);
+all_critic_ok("lib");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-pod-coverage.t new/Test-Compile-v1.3.0/t/999-pod-coverage.t
--- old/Test-Compile-v1.2.1/t/999-pod-coverage.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Compile-v1.3.0/t/999-pod-coverage.t 2015-09-24 06:11:38.000000000 +0200
@@ -0,0 +1,15 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+plan skip_all => 'Set AUTHOR_TEST to run this test'
+ unless $ENV{AUTHOR_TEST};
+plan skip_all => 'Test::Pod::Coverage required'
+ unless eval 'use Test::Pod::Coverage; 1';
+
+# Pod::Find doesn't use require() but traverses @INC manually. *sigh*
+BEGIN { unshift @INC, @Devel::SearchINC::inc if @Devel::SearchINC::inc }
+all_pod_coverage_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-pod.t new/Test-Compile-v1.3.0/t/999-pod.t
--- old/Test-Compile-v1.2.1/t/999-pod.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Compile-v1.3.0/t/999-pod.t 2015-09-24 06:11:38.000000000 +0200
@@ -0,0 +1,13 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+plan skip_all => 'Set AUTHOR_TEST to run this test'
+ unless $ENV{AUTHOR_TEST};
+plan skip_all => 'Test::Pod required'
+ unless eval 'use Test::Pod; 1';
+
+all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-portability.t new/Test-Compile-v1.3.0/t/999-portability.t
--- old/Test-Compile-v1.2.1/t/999-portability.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Compile-v1.3.0/t/999-portability.t 2015-09-24 06:11:38.000000000 +0200
@@ -0,0 +1,13 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+plan skip_all => 'Set AUTHOR_TEST to run this test'
+ unless $ENV{AUTHOR_TEST};
+plan skip_all => 'Test::Portability::Files required'
+ unless eval 'use Test::Portability::Files; 1';
+
+run_tests();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-synopsis.t new/Test-Compile-v1.3.0/t/999-synopsis.t
--- old/Test-Compile-v1.2.1/t/999-synopsis.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Compile-v1.3.0/t/999-synopsis.t 2015-09-24 06:11:38.000000000 +0200
@@ -0,0 +1,13 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+plan skip_all => 'Set AUTHOR_TEST to run this test'
+ unless $ENV{AUTHOR_TEST};
+plan skip_all => 'Test::Synopsis required'
+ unless eval 'use Test::Synopsis; 1';
+
+all_synopsis_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-version.t new/Test-Compile-v1.3.0/t/999-version.t
--- old/Test-Compile-v1.2.1/t/999-version.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Compile-v1.3.0/t/999-version.t 2015-09-24 06:11:38.000000000 +0200
@@ -0,0 +1,14 @@
+#! perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+plan skip_all => 'Set AUTHOR_TEST to run this test'
+ unless $ENV{AUTHOR_TEST};
+plan skip_all => "Test::ConsistentVersion required for checking versions"
+ unless eval "use Test::ConsistentVersion; 1";
+
+Test::ConsistentVersion::check_consistent_versions(no_readme => 1, no_pod =>1);
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/perlcriticrc new/Test-Compile-v1.3.0/t/perlcriticrc
--- old/Test-Compile-v1.2.1/t/perlcriticrc 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Compile-v1.3.0/t/perlcriticrc 2015-09-24 06:11:38.000000000 +0200
@@ -0,0 +1,12 @@
+# no strict 'refs'
+[TestingAndDebugging::ProhibitNoStrict]
+allow = refs
+
+[-BuiltinFunctions::ProhibitStringyEval]
+[-ControlStructures::ProhibitMutatingListFunctions]
+[-Subroutines::ProhibitExplicitReturnUndef]
+[-Subroutines::ProhibitSubroutinePrototypes]
+[-Variables::ProhibitConditionalDeclarations]
+
+# for mkdir $dir, 0777
+[-ValuesAndExpressions::ProhibitLeadingZeros]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/01_perl_critic.t new/Test-Compile-v1.3.0/xt/author/01_perl_critic.t
--- old/Test-Compile-v1.2.1/xt/author/01_perl_critic.t 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/xt/author/01_perl_critic.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
-#!perl -w
-use strict;
-use warnings;
-use FindBin '$Bin';
-use File::Spec;
-use Test::More;
-eval 'use Perl::Critic; 1'
- or plan skip_all => 'Perl::Critic required';
-eval 'use Test::Perl::Critic; 1'
- or plan skip_all => 'Test::Perl::Critic required';
-plan skip_all => 'skip author tests during AUTOMATED_TESTING'
- if $ENV{AUTOMATED_TESTING};
-my %opt;
-my $rc_file = File::Spec->catfile($Bin, 'perlcriticrc');
-$opt{'-profile'} = $rc_file if -r $rc_file;
-Test::Perl::Critic->import(%opt);
-all_critic_ok("lib");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/02_pod.t new/Test-Compile-v1.3.0/xt/author/02_pod.t
--- old/Test-Compile-v1.2.1/xt/author/02_pod.t 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/xt/author/02_pod.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-#!perl -w
-use strict;
-use warnings;
-use Test::More;
-eval 'use Test::Pod; 1'
- or plan skip_all => 'Test::Pod required';
-plan skip_all => 'skip author tests during AUTOMATED_TESTING'
- if $ENV{AUTOMATED_TESTING};
-all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/04_pod_coverage.t new/Test-Compile-v1.3.0/xt/author/04_pod_coverage.t
--- old/Test-Compile-v1.2.1/xt/author/04_pod_coverage.t 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/xt/author/04_pod_coverage.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-#!perl -w
-use strict;
-use warnings;
-use Test::More;
-eval 'use Test::Pod::Coverage; 1'
- or plan skip_all => 'Test::Pod::Coverage required';
-plan skip_all => 'skip author tests during AUTOMATED_TESTING'
- if $ENV{AUTOMATED_TESTING};
-plan skip_all => "pod coverage tests turned off in environment"
- if $ENV{PERL_SKIP_POD_COVERAGE_TESTS};
-
-# Pod::Find doesn't use require() but traverses @INC manually. *sigh*
-BEGIN { unshift @INC, @Devel::SearchINC::inc if @Devel::SearchINC::inc }
-all_pod_coverage_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/07_portability_files.t new/Test-Compile-v1.3.0/xt/author/07_portability_files.t
--- old/Test-Compile-v1.2.1/xt/author/07_portability_files.t 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/xt/author/07_portability_files.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-#!perl -T
-use strict;
-use warnings;
-use Test::More;
-eval 'use Test::Portability::Files; 1'
- or plan skip_all => 'Test::Portability::Files required';
-SKIP: {
-
- # Have to use a skip block because that module plans a test in import()
- skip 'skip author tests during AUTOMATED_TESTING', 1
- if $ENV{AUTOMATED_TESTING};
- run_tests();
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/08_synopsis.t new/Test-Compile-v1.3.0/xt/author/08_synopsis.t
--- old/Test-Compile-v1.2.1/xt/author/08_synopsis.t 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/xt/author/08_synopsis.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-#!perl
-use warnings;
-use strict;
-use Test::More;
-eval 'use Test::Synopsis; 1' or
- plan skip_all => 'Test::Synopsis required';
-plan skip_all => 'skip author tests during AUTOMATED_TESTING' if
- $ENV{AUTOMATED_TESTING};
-all_synopsis_ok('lib');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/10_has_version.t new/Test-Compile-v1.3.0/xt/author/10_has_version.t
--- old/Test-Compile-v1.2.1/xt/author/10_has_version.t 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/xt/author/10_has_version.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-#!perl -w
-use strict;
-use warnings;
-use Test::More;
-eval 'use Test::HasVersion; 1' or
- plan skip_all => 'Test::HasVersion required';
-plan skip_all => 'skip author tests during AUTOMATED_TESTING' if
- $ENV{AUTOMATED_TESTING};
-all_pm_version_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/99-version.t new/Test-Compile-v1.3.0/xt/author/99-version.t
--- old/Test-Compile-v1.2.1/xt/author/99-version.t 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/xt/author/99-version.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-use Test::More;
-
-eval "use Test::ConsistentVersion";
-plan skip_all => "Test::ConsistentVersion required for checking versions" if $@;
-Test::ConsistentVersion::check_consistent_versions(no_readme => 1, no_pod =>1);
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/perlcriticrc new/Test-Compile-v1.3.0/xt/author/perlcriticrc
--- old/Test-Compile-v1.2.1/xt/author/perlcriticrc 2014-12-08 01:01:52.000000000 +0100
+++ new/Test-Compile-v1.3.0/xt/author/perlcriticrc 1970-01-01 01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-# no strict 'refs'
-[TestingAndDebugging::ProhibitNoStrict]
-allow = refs
-
-[-BuiltinFunctions::ProhibitStringyEval]
-[-ControlStructures::ProhibitMutatingListFunctions]
-[-Subroutines::ProhibitExplicitReturnUndef]
-[-Subroutines::ProhibitSubroutinePrototypes]
-[-Variables::ProhibitConditionalDeclarations]
-
-# for mkdir $dir, 0777
-[-ValuesAndExpressions::ProhibitLeadingZeros]
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
1
0
Hello community,
here is the log from the commit of package perl-Math-BigInt for openSUSE:Factory checked in at 2015-09-30 05:52:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Math-BigInt (Old)
and /work/SRC/openSUSE:Factory/.perl-Math-BigInt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Math-BigInt"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Math-BigInt/perl-Math-BigInt.changes 2015-09-24 06:16:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Math-BigInt.new/perl-Math-BigInt.changes 2015-09-30 05:52:18.000000000 +0200
@@ -1,0 +2,21 @@
+Sat Sep 26 08:53:16 UTC 2015 - coolo(a)suse.com
+
+- updated to 1.999704
+ see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
+
+ 2015-09-25 v1.999704 pjacklam
+
+ * objectify() in lib/Math/BigInt.pm now uses 'isa' not 'eq' to check object
+ relationship. This is necessary for correct handling of subclasses.
+
+ * objectify() in lib/Math/BigInt.pm no longer expects as_int(), as_number()
+ and as_float() to return objects, but allows them to return numbers
+ formatted as strings. This is used by some other modules on CPAN.
+
+ * Better documentation of as_int() and as_number() in lib/Math/BigInt.pm.
+
+ * Add documentation for as_float() in lib/Math/BigFloat.pm
+
+ * Added test files t/objectify_mbf.t and t/objectify_mbi.t.
+
+-------------------------------------------------------------------
Old:
----
Math-BigInt-1.999703.tar.gz
New:
----
Math-BigInt-1.999704.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Math-BigInt.spec ++++++
--- /var/tmp/diff_new_pack.dVwuMt/_old 2015-09-30 05:52:19.000000000 +0200
+++ /var/tmp/diff_new_pack.dVwuMt/_new 2015-09-30 05:52:19.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Math-BigInt
-Version: 1.999703
+Version: 1.999704
Release: 0
%define cpan_name Math-BigInt
Summary: Arbitrary size integer/float math package
++++++ Math-BigInt-1.999703.tar.gz -> Math-BigInt-1.999704.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Math-BigInt-1.999703/CHANGES new/Math-BigInt-1.999704/CHANGES
--- old/Math-BigInt-1.999703/CHANGES 2015-09-21 19:36:52.000000000 +0200
+++ new/Math-BigInt-1.999704/CHANGES 2015-09-25 15:13:24.000000000 +0200
@@ -1418,6 +1418,21 @@
* Add test files t/blog-mbf.t and t/blog-mbi.t for better testing of the
blog() methods.
+2015-09-25 v1.999704 pjacklam
+
+ * objectify() in lib/Math/BigInt.pm now uses 'isa' not 'eq' to check object
+ relationship. This is necessary for correct handling of subclasses.
+
+ * objectify() in lib/Math/BigInt.pm no longer expects as_int(), as_number()
+ and as_float() to return objects, but allows them to return numbers
+ formatted as strings. This is used by some other modules on CPAN.
+
+ * Better documentation of as_int() and as_number() in lib/Math/BigInt.pm.
+
+ * Add documentation for as_float() in lib/Math/BigFloat.pm
+
+ * Added test files t/objectify_mbf.t and t/objectify_mbi.t.
+
Please send us test-reports, your experiences with this and your ideas - we love
to hear about our work!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Math-BigInt-1.999703/MANIFEST new/Math-BigInt-1.999704/MANIFEST
--- old/Math-BigInt-1.999703/MANIFEST 2015-09-21 19:52:56.000000000 +0200
+++ new/Math-BigInt-1.999704/MANIFEST 2015-09-25 15:20:23.000000000 +0200
@@ -65,6 +65,8 @@
t/mbimbf.t
t/nan_cmp.t
t/new_overloaded.t
+t/objectify_mbf.t
+t/objectify_mbi.t
t/req_mbf0.t
t/req_mbf1.t
t/req_mbfa.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Math-BigInt-1.999703/META.json new/Math-BigInt-1.999704/META.json
--- old/Math-BigInt-1.999703/META.json 2015-09-21 19:52:55.000000000 +0200
+++ new/Math-BigInt-1.999704/META.json 2015-09-25 15:20:22.000000000 +0200
@@ -38,6 +38,6 @@
}
},
"release_status" : "stable",
- "version" : "1.999703",
+ "version" : "1.999704",
"x_serialization_backend" : "JSON::PP version 2.27300"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Math-BigInt-1.999703/META.yml new/Math-BigInt-1.999704/META.yml
--- old/Math-BigInt-1.999703/META.yml 2015-09-21 19:52:50.000000000 +0200
+++ new/Math-BigInt-1.999704/META.yml 2015-09-25 15:20:19.000000000 +0200
@@ -20,5 +20,5 @@
- inc
requires:
perl: '5.006002'
-version: '1.999703'
+version: '1.999704'
x_serialization_backend: 'CPAN::Meta::YAML version 0.016'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Math-BigInt-1.999703/SIGNATURE new/Math-BigInt-1.999704/SIGNATURE
--- old/Math-BigInt-1.999703/SIGNATURE 2015-09-21 19:53:02.000000000 +0200
+++ new/Math-BigInt-1.999704/SIGNATURE 2015-09-25 15:20:26.000000000 +0200
@@ -16,16 +16,16 @@
SHA1 f6ef98e8f3f6a4f670d569f279ef5a3c05c16d0c BENCHMARK
SHA1 d681b992c9e027633a59fbd52530805ee4e1621c BUGS
-SHA1 6b566f5d8c537a75d173e1845d330a020b06ddab CHANGES
+SHA1 8ea50abf4bd86783767a277d9578f06e78fc7e56 CHANGES
SHA1 f27c8bd98e754f96c9825fa6ce9f1244c93bdbe6 CREDITS
SHA1 bc2db74538d3acd53f71b5512a144fe18c253ecd GOALS
SHA1 fe61299e80a1dca48fbaa33f0869e3238ec07c70 HISTORY
SHA1 c42565ad26cdf91502bacf19a4f7080e63c51fe2 INSTALL
SHA1 d6a6c30ee6d9ba6b9afab8bbf6a25e1b23c744e0 LICENSE
-SHA1 8f6a77cdcfede79a3fcf27549b2b8739eaefbfe8 MANIFEST
+SHA1 183f44987a5dfba10182b1b89f1f92647e388a5f MANIFEST
SHA1 86df44fbe1ea7a68897113f0e327d0f0c25b91e3 MANIFEST.SKIP
-SHA1 43cf33ae05d036694ebfe2987e31217140278c9e META.json
-SHA1 3cec127e47b24f6b3b0a21c8a6fc67aec2f3916a META.yml
+SHA1 27f71484021cedc3ac0c8d0776279f88610ba004 META.json
+SHA1 926b03441e37ae13d3dc24a081fda22d2990b7c5 META.yml
SHA1 ae1e2767f1988a537d4a64fc84a07587cbca2ef5 Makefile.PL
SHA1 4e2191d1724e699862efc5350f480c8e02755112 NEW
SHA1 481f5827752d2100914db1eaeb60bf0bbd13529e README
@@ -41,10 +41,10 @@
SHA1 2e33e87882d60db3913da6284dd5295e5315e18a inc/Module/Install/Metadata.pm
SHA1 c830b819e61bda5eca077c6291293bba61b3b9f2 inc/Module/Install/Win32.pm
SHA1 cb52b9d6f88d512d448a6f35ed0af0d1201a134b inc/Module/Install/WriteAll.pm
-SHA1 d69e58dac458d7bd76c7fb6182d50e7005fcca6d lib/Math/BigFloat.pm
-SHA1 7bc1a3b537261121d93d275431bd86c45c0c6e5e lib/Math/BigInt.pm
-SHA1 92b2144f0032d651cf1e7d3b37a82b01010febac lib/Math/BigInt/Calc.pm
-SHA1 193c0c6d9b83e783b8071b8bbeee3f5bc0dcfddd lib/Math/BigInt/CalcEmu.pm
+SHA1 2b4a6499b7f55d6bb33cb942bdf83853d094b404 lib/Math/BigFloat.pm
+SHA1 b11a534087024e20f724475d2648d259fc03eb1b lib/Math/BigInt.pm
+SHA1 964d54429022e659b55e1b236041bccaa0fc74ba lib/Math/BigInt/Calc.pm
+SHA1 70d46d848ba40caa86372df20efd3fac47d0e29c lib/Math/BigInt/CalcEmu.pm
SHA1 385cc7ed3bf3e6290640b9880445ca9a3dea629e t/00sig.t
SHA1 4463fdcebb8421cc2e63f87d678adb47856bf58c t/01load.t
SHA1 b2ed9206ca5b69ec3b8bbf850bf4b6dfde518e7e t/02pod.t
@@ -84,6 +84,8 @@
SHA1 b13701babf6c3952a0b8de3803de838d52a13ddc t/mbimbf.t
SHA1 a8e152beb9c0583cca8ba397ca2952cf456f107c t/nan_cmp.t
SHA1 852bfc6c25fa982e0c48e270277f091732d062e2 t/new_overloaded.t
+SHA1 7b8ad0d8e8bb1afb985d3af119bcd284a2ae105f t/objectify_mbf.t
+SHA1 2a4e13c9a6a4f1c155d223e29b162e95c2722198 t/objectify_mbi.t
SHA1 4c28c03a8e373c03a0246548394588855e4173b9 t/req_mbf0.t
SHA1 1317f0500ac902cff77d78ea92b2b72dbf188331 t/req_mbf1.t
SHA1 4ce690af449cd6382b1372d4bacacb2781e91574 t/req_mbfa.t
@@ -112,11 +114,11 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-iQEcBAEBAgAGBQJWAEP5AAoJEGcmPl2fr166vegH/0Qm1Z/66sNEhc2jGhRjhlVv
-aC2Y76G29bA7TkYhvVNxKZQ0imPBsLINr84jvAPynuwzdKa13EJX46sA1MUW3fmp
-ciT4BNoAqv48WUmukh67cm2p/lwNsmA4h4Tz8u7jgDH2r4Ilsh1pUZg6eKTUHLtJ
-3Hg3EYAqHuJKtrZQLzECmPpArNDYbHhcQbVI/mhqyIvKTne+qWDbxcvu9YKsAFHp
-XwwgOH+PVmqsFiosM6W9FeR8bLnHmTntFFvKKk+Wns4Qo2y0Gxxcq5KwxNgfgoz2
-dzWZtdzPqpXEWeqCEDYOMYC/lWu/fCcVamZfyBhTHaTubvari63DsB2hViwSZRc=
-=G3gV
+iQEcBAEBAgAGBQJWBUoXAAoJEGcmPl2fr166VgEIANnEsYBpwPSRz2gQhWKYyzAs
+2c23b3RmyMA3VmnapfjRCpIZkFEmqHo0Pl/QwDBlNN00RN00cZHdwJ9s8dhNSZyJ
+rE+Xdi0kc/I6D4EVXSf25AqH7VymZRoJzkX+IPqj7xFw7HmdIKraMwXY7CLsN+Fm
+WhcnX6Pbr6D5+C6tNX6yLmjZyTnl7CaqO5Beq49OH23nHTzY2247rowumoH1PpTu
+XIOArzhazregnPcb4sV6boqnZtFwosOGZmr8cWT82HGGyFhYhh1rokpYr/08RecI
+RBdipu8M2qsbsKTHl0mAhc0AYXp0p8gZW1zGnMX55JH21h9uXZlJw3iLnhYvGTY=
+=w70R
-----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Math-BigInt-1.999703/lib/Math/BigFloat.pm new/Math-BigInt-1.999704/lib/Math/BigFloat.pm
--- old/Math-BigInt-1.999703/lib/Math/BigFloat.pm 2015-09-21 09:29:13.000000000 +0200
+++ new/Math-BigInt-1.999704/lib/Math/BigFloat.pm 2015-09-22 15:22:03.000000000 +0200
@@ -12,7 +12,7 @@
# _a : accuracy
# _p : precision
-$VERSION = '1.999703';
+$VERSION = '1.999704';
require 5.006002;
require Exporter;
@@ -945,17 +945,17 @@
if ($done) {
if ($fallback) {
- # clear a/p after round, since user did not request it
+ # clear a/p after round, since user did not request it
delete $x->{_a};
delete $x->{_p};
- }
+ }
return $x;
- }
+ }
# when user set globals, they would interfere with our calculation, so
# disable them and later re-enable them
no strict 'refs';
- my $abr = "$self\::accuracy"; my $ab = $$abr; $$abr = undef;
+ my $abr = "$self\::accuracy"; my $ab = $$abr; $$abr = undef;
my $pbr = "$self\::precision"; my $pb = $$pbr; $$pbr = undef;
# we also need to disable any set A or P on $x (_find_round_parameters took
# them already into account), since these would interfere, too
@@ -971,7 +971,7 @@
$x = Math::BigFloat->new($x);
$self = ref($x);
}
-
+
$done = 0;
# If the base is defined and an integer, try to calculate integer result
@@ -4435,6 +4435,24 @@
This method was added in v1.87 of Math::BigInt (June 2007).
+=item as_float()
+
+This method is called when Math::BigFloat encounters an object it doesn't know
+how to handle. For instance, assume $x is a Math::BigFloat, or subclass
+thereof, and $y is defined, but not a Math::BigFloat, or subclass thereof. If
+you do
+
+ $x -> badd($y);
+
+$y needs to be converted into an object that $x can deal with. This is done by
+first checking if $y is something that $x might be upgraded to. If that is the
+case, no further attempts are made. The next is to see if $y supports the
+method C<as_float()>. The method C<as_float()> is expected to return either an
+object that has the same class as $x, a subclass thereof, or a string that
+C<ref($x)-E<gt>new()> can parse to create an object.
+
+In Math::BigFloat, C<as_float()> has the same effect as C<copy()>.
+
=back
=head1 Autocreating constants
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Math-BigInt-1.999703/lib/Math/BigInt/Calc.pm new/Math-BigInt-1.999704/lib/Math/BigInt/Calc.pm
--- old/Math-BigInt-1.999703/lib/Math/BigInt/Calc.pm 2015-09-19 14:23:35.000000000 +0200
+++ new/Math-BigInt-1.999704/lib/Math/BigInt/Calc.pm 2015-09-22 15:22:46.000000000 +0200
@@ -4,7 +4,7 @@
use strict;
# use warnings; # do not use warnings for older Perls
-our $VERSION = '1.999703';
+our $VERSION = '1.999704';
# Package to store unsigned big integers in decimal and do math with them
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Math-BigInt-1.999703/lib/Math/BigInt/CalcEmu.pm new/Math-BigInt-1.999704/lib/Math/BigInt/CalcEmu.pm
--- old/Math-BigInt-1.999703/lib/Math/BigInt/CalcEmu.pm 2015-09-19 14:24:20.000000000 +0200
+++ new/Math-BigInt-1.999704/lib/Math/BigInt/CalcEmu.pm 2015-09-22 15:22:46.000000000 +0200
@@ -5,7 +5,7 @@
# use warnings; # do not use warnings for older Perls
use vars qw/$VERSION/;
-$VERSION = '1.999703';
+$VERSION = '1.999704';
package Math::BigInt;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Math-BigInt-1.999703/lib/Math/BigInt.pm new/Math-BigInt-1.999704/lib/Math/BigInt.pm
--- old/Math-BigInt-1.999703/lib/Math/BigInt.pm 2015-09-19 15:33:21.000000000 +0200
+++ new/Math-BigInt-1.999704/lib/Math/BigInt.pm 2015-09-22 15:22:03.000000000 +0200
@@ -18,7 +18,7 @@
my $class = "Math::BigInt";
use 5.006002;
-$VERSION = '1.999703';
+$VERSION = '1.999704';
@ISA = qw(Exporter);
@EXPORT_OK = qw(objectify bgcd blcm);
@@ -2826,9 +2826,7 @@
# If it is an object of the right class, all is fine.
- if ($ref -> isa($a[0])) {
- next;
- }
+ next if $ref -> isa($a[0]);
# Upgrading is OK, so skip further tests if the argument is upgraded.
@@ -2836,27 +2834,44 @@
next;
}
- # If we want a Math::BigInt, see if the object can become one.
- # Support the old misnomer as_number().
+ # See if we can call one of the as_xxx() methods. We don't know whether
+ # the as_xxx() method returns an object or a scalar, so re-check
+ # afterwards.
+
+ my $recheck = 0;
- if ($a[0] eq 'Math::BigInt') {
+ if ($a[0] -> isa('Math::BigInt')) {
if ($a[$i] -> can('as_int')) {
$a[$i] = $a[$i] -> as_int();
- next;
- }
- if ($a[$i] -> can('as_number')) {
+ $recheck = 1;
+ } elsif ($a[$i] -> can('as_number')) {
$a[$i] = $a[$i] -> as_number();
- next;
+ $recheck = 1;
}
}
- # If we want a Math::BigFloat, see if the object can become one.
-
- if ($a[0] eq 'Math::BigFloat') {
+ elsif ($a[0] -> isa('Math::BigFloat')) {
if ($a[$i] -> can('as_float')) {
$a[$i] = $a[$i] -> as_float();
+ $recheck = $1;
+ }
+ }
+
+ # If we called one of the as_xxx() methods, recheck.
+
+ if ($recheck) {
+ $ref = ref($a[$i]);
+
+ # Perl scalars are fed to the appropriate constructor.
+
+ unless ($ref) {
+ $a[$i] = $a[0] -> new($a[$i]);
next;
}
+
+ # If it is an object of the right class, all is fine.
+
+ next if $ref -> isa($a[0]);
}
# Last resort.
@@ -4351,15 +4366,29 @@
$x->copy(); # make a true copy of $x (unlike $y = $x;)
-=item as_int()/as_number()
+=item as_int()
+
+=item as_number()
- $x->as_int();
+These methods are called when Math::BigInt encounters an object it doesn't know
+how to handle. For instance, assume $x is a Math::BigInt, or subclass thereof,
+and $y is defined, but not a Math::BigInt, or subclass thereof. If you do
-Returns $x as a BigInt (truncated towards zero). In BigInt this is the same as
-C<copy()>.
+ $x -> badd($y);
-C<as_number()> is an alias to this method. C<as_number> was introduced in
-v1.22, while C<as_int()> was only introduced in v1.68.
+$y needs to be converted into an object that $x can deal with. This is done by
+first checking if $y is something that $x might be upgraded to. If that is the
+case, no further attempts are made. The next is to see if $y supports the
+method C<as_int()>. If it does, C<as_int()> is called, but if it doesn't, the
+next thing is to see if $y supports the method C<as_number()>. If it does,
+C<as_number()> is called. The method C<as_int()> (and C<as_number()>) is
+expected to return either an object that has the same class as $x, a subclass
+thereof, or a string that C<ref($x)-E<gt>new()> can parse to create an object.
+
+C<as_number()> is an alias to C<as_int()>. C<as_number> was introduced in
+v1.22, while C<as_int()> was introduced in v1.68.
+
+In Math::BigInt, C<as_int()> has the same effect as C<copy()>.
=item bstr()
@@ -4390,7 +4419,7 @@
This returns a normal Perl scalar from $x. It is used automatically
whenever a scalar is needed, for instance in array index operations.
-This loses precision, to avoid this use L<as_int()|/"as_int()/as_number()"> instead.
+This loses precision, to avoid this use L</as_int()> instead.
=item modify()
@@ -5415,43 +5444,34 @@
=item Mixing different object types
-In Perl you will get a floating point value if you do one of the following:
-
- $float = 5.0 + 2;
- $float = 2 + 5.0;
- $float = 5 / 2;
-
-With overloaded math, only the first two variants will result in a BigFloat:
+With overloaded operators, it is the first (dominating) operand that determines
+which method is called. Here are some examples showing what actually gets
+called in various cases.
use Math::BigInt;
use Math::BigFloat;
- $mbf = Math::BigFloat->new(5);
- $mbi2 = Math::BigInteger->new(5);
- $mbi = Math::BigInteger->new(2);
-
+ $mbf = Math::BigFloat->new(5);
+ $mbi2 = Math::BigInt->new(5);
+ $mbi = Math::BigInt->new(2);
# what actually gets called:
- $float = $mbf + $mbi; # $mbf->badd()
- $float = $mbf / $mbi; # $mbf->bdiv()
- $integer = $mbi + $mbf; # $mbi->badd()
- $integer = $mbi2 / $mbi; # $mbi2->bdiv()
- $integer = $mbi2 / $mbf; # $mbi2->bdiv()
-
-This is because math with overloaded operators follows the first (dominating)
-operand, and the operation of that is called and returns thus the result. So,
-Math::BigInt::bdiv() will always return a Math::BigInt, regardless whether
-the result should be a Math::BigFloat or the second operant is one.
-
-To get a Math::BigFloat you either need to call the operation manually,
-make sure the operands are already of the proper type or casted to that type
-via Math::BigFloat->new():
+ $float = $mbf + $mbi; # $mbf->badd($mbi)
+ $float = $mbf / $mbi; # $mbf->bdiv($mbi)
+ $integer = $mbi + $mbf; # $mbi->badd($mbf)
+ $integer = $mbi2 / $mbi; # $mbi2->bdiv($mbi)
+ $integer = $mbi2 / $mbf; # $mbi2->bdiv($mbf)
+
+For instance, Math::BigInt->bdiv() will always return a Math::BigInt, regardless of
+whether the second operant is a Math::BigFloat. To get a Math::BigFloat you
+either need to call the operation manually, make sure each operand already is a
+Math::BigFloat, or cast to that type via Math::BigFloat->new():
$float = Math::BigFloat->new($mbi2) / $mbi; # = 2.5
-Beware of simple "casting" the entire expression, this would only convert
-the already computed result:
+Beware of casting the entire expression, as this would cast the
+result, at which point it is too late:
- $float = Math::BigFloat->new($mbi2 / $mbi); # = 2.0 thus wrong!
+ $float = Math::BigFloat->new($mbi2 / $mbi); # = 2
Beware also of the order of more complicated expressions like:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Math-BigInt-1.999703/t/objectify_mbf.t new/Math-BigInt-1.999704/t/objectify_mbf.t
--- old/Math-BigInt-1.999703/t/objectify_mbf.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Math-BigInt-1.999704/t/objectify_mbf.t 2015-09-25 15:14:16.000000000 +0200
@@ -0,0 +1,90 @@
+#!perl
+#
+# Verify that objectify() is able to convert a "foreign" object into what we
+# want, when what we want is Math::BigFloat or subclass thereof.
+
+use strict;
+use warnings;
+
+package main;
+
+use Test::More tests => 6;
+
+use Math::BigFloat;
+
+###############################################################################
+
+for my $class ('Math::BigFloat', 'Math::BigFloat::Subclass') {
+
+ # This object defines what we want.
+
+ my $float = $class -> new(10);
+
+ # Create various objects that should work with the object above after
+ # objectify() has done its thing.
+
+ my $float_percent1 = My::Percent::Float1 -> new(100);
+ is($float * $float_percent1, 10);
+
+ my $float_percent2 = My::Percent::Float2 -> new(100);
+ is($float * $float_percent2, 10);
+
+ my $float_percent3 = My::Percent::Float3 -> new(100);
+ is($float * $float_percent3, 10);
+}
+
+###############################################################################
+# Class supports as_float(), which returns a Math::BigFloat.
+
+package My::Percent::Float1;
+
+sub new {
+ my $class = shift;
+ my $num = shift;
+ return bless \$num, $class;
+}
+
+sub as_float {
+ my $self = shift;
+ return Math::BigFloat -> new($$self / 100);
+}
+
+###############################################################################
+# Class supports as_float(), which returns a scalar.
+
+package My::Percent::Float2;
+
+sub new {
+ my $class = shift;
+ my $num = shift;
+ return bless \$num, $class;
+}
+
+sub as_float {
+ my $self = shift;
+ return $$self / 100;
+}
+
+###############################################################################
+# Class does not support as_float().
+
+package My::Percent::Float3;
+
+use overload '""' => sub { $_[0] -> as_string(); };
+
+sub new {
+ my $class = shift;
+ my $num = shift;
+ return bless \$num, $class;
+}
+
+sub as_string {
+ my $self = shift;
+ return $$self / 100;
+}
+
+###############################################################################
+
+package Math::BigFloat::Subclass;
+
+use base 'Math::BigFloat';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Math-BigInt-1.999703/t/objectify_mbi.t new/Math-BigInt-1.999704/t/objectify_mbi.t
--- old/Math-BigInt-1.999703/t/objectify_mbi.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Math-BigInt-1.999704/t/objectify_mbi.t 2015-09-25 15:14:16.000000000 +0200
@@ -0,0 +1,130 @@
+#!perl
+#
+# Verify that objectify() is able to convert a "foreign" object into what we
+# want, when what we want is Math::BigInt or subclass thereof.
+
+use strict;
+use warnings;
+
+package main;
+
+use Test::More tests => 10;
+
+use Math::BigInt;
+
+###############################################################################
+
+for my $class ('Math::BigInt', 'Math::BigInt::Subclass') {
+
+ # This object defines what we want.
+
+ my $int = $class -> new(10);
+
+ # Create various objects that should work with the object above after
+ # objectify() has done its thing.
+
+ my $int_percent1 = My::Percent::Int1 -> new(100);
+ is($int * $int_percent1, 10);
+
+ my $int_percent2 = My::Percent::Int2 -> new(100);
+ is($int * $int_percent2, 10);
+
+ my $int_percent3 = My::Percent::Int3 -> new(100);
+ is($int * $int_percent3, 10);
+
+ my $int_percent4 = My::Percent::Int4 -> new(100);
+ is($int * $int_percent4, 10);
+
+ my $int_percent5 = My::Percent::Int5 -> new(100);
+ is($int * $int_percent5, 10);
+}
+
+###############################################################################
+# Class supports as_int(), which returns a Math::BigInt.
+
+package My::Percent::Int1;
+
+sub new {
+ my $class = shift;
+ my $num = shift;
+ return bless \$num, $class;
+}
+
+sub as_int {
+ my $self = shift;
+ return Math::BigInt -> new($$self / 100);
+}
+
+###############################################################################
+# Class supports as_int(), which returns a scalar.
+
+package My::Percent::Int2;
+
+sub new {
+ my $class = shift;
+ my $num = shift;
+ return bless \$num, $class;
+}
+
+sub as_int {
+ my $self = shift;
+ return $$self / 100;
+}
+
+###############################################################################
+# Class does not support as_int(), but supports as_number(), which returns a
+# Math::BigInt.
+
+package My::Percent::Int3;
+
+sub new {
+ my $class = shift;
+ my $num = shift;
+ return bless \$num, $class;
+}
+
+sub as_number {
+ my $self = shift;
+ return Math::BigInt -> new($$self / 100);
+}
+
+###############################################################################
+# Class does not support as_int(), but supports as_number(), which returns a
+# scalar.
+
+package My::Percent::Int4;
+
+sub new {
+ my $class = shift;
+ my $num = shift;
+ return bless \$num, $class;
+}
+
+sub as_number {
+ my $self = shift;
+ return $$self / 100;
+}
+
+###############################################################################
+# Class supports neither as_int() or as_number().
+
+package My::Percent::Int5;
+
+use overload '""' => sub { $_[0] -> as_string(); };
+
+sub new {
+ my $class = shift;
+ my $num = shift;
+ return bless \$num, $class;
+}
+
+sub as_string {
+ my $self = shift;
+ return $$self / 100;
+}
+
+###############################################################################
+
+package Math::BigInt::Subclass;
+
+use base 'Math::BigInt';
1
0
Hello community,
here is the log from the commit of package ghc-fgl for openSUSE:Factory checked in at 2015-09-30 05:52:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-fgl (Old)
and /work/SRC/openSUSE:Factory/.ghc-fgl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-fgl"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-fgl/ghc-fgl.changes 2015-09-17 09:19:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fgl.new/ghc-fgl.changes 2015-09-30 05:52:17.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Sep 26 10:02:01 UTC 2015 - peter.trommler(a)ohm-hochschule.de
+
+- remove dependency on mtl
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-fgl.spec ++++++
--- /var/tmp/diff_new_pack.sQL4rb/_old 2015-09-30 05:52:17.000000000 +0200
+++ /var/tmp/diff_new_pack.sQL4rb/_new 2015-09-30 05:52:17.000000000 +0200
@@ -37,7 +37,7 @@
# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel
BuildRequires: ghc-containers-devel
-BuildRequires: ghc-mtl-devel
+BuildRequires: ghc-transformers-devel
# End cabal-rpm deps
%description
1
0
Hello community,
here is the log from the commit of package python3-tornado for openSUSE:Factory checked in at 2015-09-30 05:52:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-tornado (Old)
and /work/SRC/openSUSE:Factory/.python3-tornado.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-tornado"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-tornado/python3-tornado.changes 2015-08-01 11:35:07.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-tornado.new/python3-tornado.changes 2015-09-30 05:52:16.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Sep 26 10:18:09 UTC 2015 - toddrme2178(a)gmail.com
+
+- BuildRequires python3-certifi since it is required by tests.
+ It is already in Requires.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-tornado.spec ++++++
--- /var/tmp/diff_new_pack.XSw9M7/_old 2015-09-30 05:52:16.000000000 +0200
+++ /var/tmp/diff_new_pack.XSw9M7/_new 2015-09-30 05:52:16.000000000 +0200
@@ -26,6 +26,7 @@
Source: https://pypi.python.org/packages/source/t/tornado/tornado-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3-devel
+BuildRequires: python3-certifi
BuildRequires: python3-pycurl
BuildRequires: python3-simplejson
# Not yet available for python 3
1
0
Hello community,
here is the log from the commit of package python-tornado for openSUSE:Factory checked in at 2015-09-30 05:52:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tornado (Old)
and /work/SRC/openSUSE:Factory/.python-tornado.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tornado"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tornado/python-tornado.changes 2015-04-23 08:05:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-tornado.new/python-tornado.changes 2015-09-30 05:52:14.000000000 +0200
@@ -1,0 +2,40 @@
+Sat Sep 26 10:21:28 UTC 2015 - toddrme2178(a)gmail.com
+
+- python-certifi is a hard dependency, not an optional one.
+
+-------------------------------------------------------------------
+Wed Sep 23 10:39:53 UTC 2015 - tampakrap(a)opensuse.org
+
+- Remove python-Twisted BuildRequires. It causes a python-cryptography build
+ dependency, which is currently broken on SLE11SP4 due to old OpenSSL version
+
+-------------------------------------------------------------------
+Thu Sep 10 19:39:18 UTC 2015 - aboe76(a)gmail.com
+
+- Update to 4.2.1:
+ Security fix:
+ * This release fixes a path traversal vulnerability in StaticFileHandler,
+ in which files whose names started with the static_path directory
+ but were not actually in that directory could be accessed.
+- Update to 4.2:
+ Backwards-compatibility:
+ * SSLIOStream.connect and IOStream.start_tls now
+ validate certificates by default.
+ * Certificate validation will now use the system CA root certificates
+ instead of certifi when possible (i.e. Python 2.7.9+ or 3.4+).
+ This includes IOStream and simple_httpclient, but not curl_httpclient
+ * The default SSL configuration has become stricter,
+ using ssl.create_default_context where available on the client side.
+ (On the server side, applications are encouraged to migrate from
+ the ssl_options dict-based API to pass an ssl.SSLContext instead).
+ * The deprecated classes in the tornado.auth module, GoogleMixin,
+ FacebookMixin, and FriendFeedMixin have been removed.
+ * see more details:
+ http://www.tornadoweb.org/en/stable/releases/v4.2.0.html
+
+-------------------------------------------------------------------
+Wed Aug 12 14:29:56 UTC 2015 - seife+obs(a)b1-systems.com
+
+- fix build with non-SUSE distributions
+
+-------------------------------------------------------------------
Old:
----
tornado-4.1.tar.gz
New:
----
tornado-4.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tornado.spec ++++++
--- /var/tmp/diff_new_pack.jv0mRZ/_old 2015-09-30 05:52:15.000000000 +0200
+++ /var/tmp/diff_new_pack.jv0mRZ/_new 2015-09-30 05:52:15.000000000 +0200
@@ -17,7 +17,7 @@
Name: python-tornado
-Version: 4.1
+Version: 4.2.1
Release: 0
Url: http://www.tornadoweb.org
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
@@ -25,21 +25,23 @@
Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/t/tornado/tornado-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: python-Twisted
BuildRequires: python-backports.ssl_match_hostname
BuildRequires: python-devel
+BuildRequires: python-certifi
BuildRequires: python-futures
BuildRequires: python-pycurl
BuildRequires: python-setuptools
BuildRequires: python-simplejson
Requires: python-backports.ssl_match_hostname
+Requires: python-certifi
Requires: python-simplejson
+%if 0%{?suse_version}
Recommends: python-futures
Recommends: python-pycares
Recommends: python-pycurl
Recommends: python-Twisted
-Recommends: python-certifi
Recommends: python-service_identity
+%endif
BuildRequires: fdupes
%if 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True);")}
++++++ tornado-4.1.tar.gz -> tornado-4.2.1.tar.gz ++++++
++++ 14842 lines of diff (skipped)
1
0