Mac-Glue
view release on metacpan or search on metacpan
Fix some older bugs with legacy apps which have no app signature.
* v1.23, Saturday, February 19, 2005
Make default MODE kAECanSwitchLayer instead of kAECanInteract | kAECanSwitchLayer,
as this appears to be the default that AppleScript uses.
Give proper warnings for when files to be glue'd do not exist. (Kim Helliwell, Ken Williams)
Make a test fail if scripting additions or dialect were not created. (Chris Devers)
* v1.22, Monday, December 6, 2004
local()ize $MacPerl::Target in Mac::Glue::Common. (Alan Olsen)
Fix bundle targetting under Jaguar. (Ken Williams)
* v1.21, Tuesday, June 8, 2004
Make launching work better for bundles. (wren argetlahm)
Minor little fixes.
No longer create glue for DiskImageMounter (wasn't really useful,
and often failed).
* v1.20, Tuesday, May 19, 2004
Added more robust handling of bundle ID targetting, including making it
the default (requires Mac::AppleEvents::Simple 1.13); make SWITCH and
launch() work with bundle ID targets.
Allow creation of glues for non-scriptable apps (which can still
support a limited vocabulary, such as open()).
Create glues for Image Events.app and DiskImageMounter.app by default,
in addition to System Events.app.
Allow use of glue events with names like Can, Obj, Prop, Launch, Version.
Finally ported glueedit to Mac OS X, which allows modification of glues.
* v1.19, Tuesday, March 23, 2004
Made arrayrefs work better in some cases, e.g.:
$glue->obj(file => \@files)->open;
* v1.18, Sunday, March 21, 2004
Cleaned up.
* v1.17, Wednesday, February 18, 2004
Added option to target by PID, explicit option to target by bundle ID;
cleaned up docs. (has)
Only allow data type to be set to typeUnicodeText if Encode is available.
Don't include BOM in UTF-16 data (use big-endian instead). (Bill Birkett)
Fix documentation on ERRORS handler, and handling of error description.
Add error code (e.g., "errAEDescNotFound"). Add an optional default
ERRORS handler (setting it to a value of 1).
Added typeLongDateTime (convert to/from Mac OS); added Time::Epoch.
(Lars Eggert)
Make AE records guess better at types.
Export %MacErrors in addition to $MacError.
No longer use Mac::Path::Util; we only used the module to convert from Unix
to Mac paths, and we sucked those few lines we needed from it into
Mac::Files.
Fix incorrect printing of some debugging information when debugging was not on.
Fix some spurious warnings.
Make folder class work like file in %AE_PUT.
Added getdata() method to fetch the data in a returned AEObjDesc (see docs).
* v1.16, Wednesday, November 19, 2003
There's a bug in perl 5.8.0-5.8.2 whereby -- depending on how your perl
is compiled -- the value of $^E (see the Mac::Glue docs for details)
is modified when accessed. This patch helps minimize the effect, so
at least the value is reliable right after a Mac::Glue event call.
This change makes the value of $^E more reliable even without the bug
in perl.
The problem still exists in using Mac::Errors and probably other code.
It will be fixed in perl 5.8.3 and later. Here's a patch to your perl
if you want to fix it locally:
http://nntp.x.perl.org/group/perl.perl5.porters/85393
* v1.15, Tuesday, November 18, 2003
Make "set" event look at direct object's type instead of defaulting
to guessing between plain numeric/text (should be less need for
param_type() now).
Make guesses for numeric/text also check for floats.
Where there are multiple types for something, get the first one we
know how to deal with.
Add more numeric types.
Fix typeUnicodeText to automatically encode text to UTF-16 as
expexted (if Encode module is available).
* v1.14, Friday, October 31, 2003
Added support for remote Apple events under Mac OS X. Example:
( run in 2.030 seconds using v1.01-cache-2.11-cpan-8f98c5d2c55 )