0.105 2024-06-05 T. R. Wyant
Fix type casting issue in Pasteboard.xs. Thanks to Rui Chen for
finding this, filing the bug report, and following that up with a
pull request.
0.104 2023-12-19 T. R. Wyant
Return correct item ID. Thanks to DabeDotCom (Dabrien 'Dabe' Murphy)
for the pull request.
Fix fatal error when compiled under Xcode 15 or above The error was
introduced when I cut out the pbl back-end, but was previously not
fatal -- at least not usually. Thanks to Mike Cappella for finding
this for me.
No flavor tags in Monterey and forward.
0.103 2022-03-13 T. R. Wyant
Use guarded #pragma to suppress clang warnings. The warnings ("...
tokens introducing statement expression appear in different macro
expansion contexts ...") come from deep in Perl, and my research
says they are new with clang 12.0.
0.102 2022-02-03 T. R. Wyant
Fix (I hope) build problem. It appears that, beginning with v00.100
the Makefile required Constant.PM, which was not included in the
kit. How this ever worked I have no idea. I have deleted the rule
that required it (since it can never have been executed), but also
added it to the kit (moved to tools/) in case it is needed for some
reason. Thanks to Gary Greene for reporting this.
I note a bunch of C compiler warnings which appear to be deep in the
bowels of the Perl include files. At this point I don't know what to do
about them, so I am doing nothing. But I am nervous about it.
0.101 2021-10-19 T. R. Wyant
Correct generation of 'provides' metadata. Thanks to Favio Poletti
for blogging
https://github.polettix.it/ETOOBUSY/2021/06/15/the-real-pause-workaround/,
and ultimately to Joel Berger for the pointer to
https://metacpan.org/pod/CPAN::Meta::Spec#no_index
0.100 2021-06-18 T. R. Wyant
Make all(?) string arguments encoding-aware. This was triggered by
Felipe Gasper's blog entry "Perl's SvPV Menace" at
https://dev.to/fgasper/perl-s-svpv-menace-5515, but ended up being a
complete refactor. You can get back the old factoring (with
worse encoding support) by running Makefile.PL or Build.PL with the
-p argument.
Add taint support. Any data that come from the outside are now
tainted. Pasteboard names (to new()) may not be tainted.
Fix broken POD links, and add xt/author/pod_links.t to ensure that
they stay fixed.
Clean up prerequisites.
0.015 2021-05-30 T. R. Wyant
Use utf8 plain text in 10.11 El Capitan and later, and provide -t
(traditional) and -u (utf-8) options to Makefile.PL and Build.PL.
Thanks to Gary Greene for bringing the need for utf-8 on older systems
to my attention, and helping me to work out the fix.
Thanks to Neil Bowers for adding a macOS machine to CPAN Testers,
with every production Perl back to 5.8.9.
0.014 2021-03-23 T. R. Wyant
Get more diagnostic information out of tests, so I can have a prayer
of diagnosing what is going on in smokers that (apparently) do not
use UTF-8.
0.013 2021-03-02 T. R. Wyant
Add rt.cpan.org back to bug reporting methods.
Correct handling of non-ASCII characters. At least, I sincerely
hope so. Thanks to Ray Takamoto for bringing this to my attention.
User-visible changes (aside from the obvious) include:
* The default data flavor is now public.utf8-plain-text under macOS
10.15 Catalina and higher.
* By default, the encoding attribute is true under macOS 10.15 Catalina
and higher.
* You can now pass desired attribute values to new(), instead of
instantiating a default object and calling set().
* Method flavor_encoding() reports what Unicode encoding is used for a
given pasteboard data flavor -- or the default flavor if no argument
is specified.
* The stopgap mods for macOS 10.15 Catalina, introduced in version
0.010_01, are now disabled by default, since investigating this
problem showed (I think!) what was actually going on.
* Made sure it would actually work under Perl 5.6.2. The encoding
functionality, though, does not work prior to Perl 5.8.4.
0.012 2021-01-13 T. R. Wyant
Use GitHub as bug tracker. R.I.P. rt.cpan.org.
Normally this release would include Travis CI testing, but they do
not support Perl under macOS.
0.011 2019-10-21 T. R. Wyant
Stopgap mods for macOS 10.15 Catalina
The underlying problem appears to be that copy() does not put stuff on
the public pasteboards. It puts it somewhere, though, becase paste() can
find it, even if run in a separate process. But paste() also finds stuff
put on the pasteboard by pbcopy (1).
The above makes no sense to me, but I band-aided it by having copy()
spawn pbcopy if POSIX::uname indicates that we are running under Darwin
19 or higher.
0.010 2019-08-07 T. R. Wyant
Tweak t/pasteboard.t do() file names. This test does things like
"do 't/misc.tx';", and some CPAN testers flunk this with the error
"... '.' is no longer in @INC ...". So I accepted the error
message's recommendation and made it './t/misc.tx'. Thanks to Karen
Etheridge for the CPAN Testers report AND the RT ticket.
0.009 2017-03-23 T. R. Wyant
Move bin/pbtool to script/pbtool
Use test compile to find MacTypes.h. I was previously explicitly
testing for it in /usr/include/, but apparently it can live
elsewhere and still be used.
Eliminate unused variables in pbl.c.
Ditch 'use base'.
Impose minimum Perl of 5.6.2.
Add Makefile targets authortest, testcover.
Document script editor name change in eg/README.
0.008 2016-01-15 T. R. Wyant
Clean up unused variables
0.007_01 2016-01-07 T. R. Wyant
Install pbtool by default.
Add GitHub repository to metadata.
0.007 2014-03-08 T. R. Wyant
No changes since 0.006_02.
0.006_02 2014-03-02 T. R. Wyant
Notify users of intent to remove the configuration prompt (about
installing pbtool) and simply install it by default. The -y and -n
options will remain, with their present function.
0.006_01 2014-03-01 T. R. Wyant
Serialize access of tests to clipboard. This involves an increase in
the required version of Test::More, to 0.96.
0.006 2013-11-18 T. R. Wyant
No changes since 0.005_01.
0.005_01 2013-11-16 T. R. Wyant
Fix compile errors under Xcode 5.0.2.
0.005 2013-05-11 T. R. Wyant
No changes since 0.004_01.
0.004_01 2013-04-28 T. R. Wyant
Clean up compile warnings in XS code. The most significant change here
is a correction in the size of the pasteboard flavor flags, from
'unsigned long' to 'unsigned int' (or equivalent).
Add metnods default_flavor() (to override the hard-wired default) and
encode() (to encode data to and decode data from the UTF flavors).
Add subtroutines pbflavor(), pbflavor_find(), pbencode(), and
pbencode_find() to do the same thing for the convenience
subroutines.
Support pbflavor() and pbencode() in bin/pbtool.
Support specifying the output encoding in bin/pbtool.
Have the pbtool script dump the flavor flags in hex.
0.004 2012-01-07 T. R. Wyant
Make Changes file Test::CPAN::Changes compliant. Add author test
xt/author/changes.t to be sure it stays that way.
Attempt to address the fact that Mac::Errors is optional, but the
Cpants Kwalitee Game thinks it is required.
0.003 2011-12-14 T. R. Wyant
Production version number. No other changes since 0.002_91.
0.002_91 2011-12-04 T. R. Wyant
Document the fact that Mac::Pasteboard does not (yet) support the Mac
OS 10.6 Snow Leopard functionality of placing more than one item on
a pasteboard. Also document a workaround if the user is trying to
write a droplet.
Skip rather than fail when t/basic.t gets an error that indicates that
we are forbidden to access the pasteboard. Enhance the skip message
to include 'ssh session' as a possible reason for this.
0.002_90 2011-11-28 T. R. Wyant
Converted to Perl-Foundation-recommended copyright and license.
Dependencies now include _all_ modules, including core.
Test::More 0.88 required for testing.
Do author tests with Module::Build 'authortest' target. Move the
author tests to xt/author/.
0.002 2008-03-31 T. R. Wyant
Have Build.PL die if $^O ne 'darwin'.
Update Mac::Pasteboard version. No other changes to Mac::Pasteboard.
0.001 2008-03-01 T. R. Wyant
Initial production release.