openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 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 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