pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/ruby-rb-appscript

Module Name:    pkgsrc
Committed By:   taca
Date:           Fri Apr 27 10:30:41 UTC 2012

Modified Files:
        pkgsrc/sysutils/ruby-rb-appscript: Makefile PLIST distinfo

Log Message:
Update sysutils/ruby-rb-appscript to 0.6.1.

2010-03-19 -- 0.6.1

* removed 32-bit only AE.run_application_event_loop,
* updated AE.launch_application to use LSOpenApplication
* minor documentation fixes

2010-12-17 -- 0.6.0

* added UTF-8 Encoding support in Ruby 1.9+; added
  AEMCodecs::Codecs#use_ascii_8bit for optionally disabling it
* AEM::Codecs#pack now accepts Date, DateTime instances; added
  AEM::Codecs#use_date_time method for unpacking typeLongDateTime descriptors
  as DateTime instead of Time instances
* removed AE.get_app_terminology() as it relied on deprecated Carbon APIs
* added AE.copy_scripting_definition()
* the OSAX module now now uses OSACopyScriptingDefinition() to obtain
  scripting addition terminology, so works in both 32- and 64-bit Ruby. Note
  that in addition to limitations of OSACopyScriptingDefinition
  (e.g. aete-to-sdef conversion is not 100% reliable), the SdefParser is
  limited in capability (no support for xi:include, class-extension, synonym
  elements), but should suffice for parsing relatively simple osax
* modified Terminology.dump() to retrieve aete resources via 'ascrgdte'
  events; added OSAX.dump() method
* added workaround for transaction id bug in some versions of OS X 10.6
* renamed AEMReference::Base class to AEMReference::Query
* renamed Send::CommandError class to Send::EventError; note that AEM
  re-exports it as AEM::EventError and [for backwards compatibilty]

2009-07-18 -- 0.5.3

* fixed pALL code in defaultterminology
* fixed OSAX module initialisation code (previously didn't initialise if was called directly)
* fixed out-of-date URLs in appscript manual

2009-07-05 -- 0.5.2

* removed deprecated AEM::Application.is_running? method
* added #dont_cache_unpacked_specifiers, #pack_strings_as_type compatibility
  options to AEM::Codecs
* added default definitions for 'item' type, 'items' elements, 'properties'
  property as Apple have removed the 'item' class definition from
  skeleton.sdef (the default terminology for Cocoa apps)
* property and elements methods now raise ArgumentError if passed arguments;
  previously, malformed elements selectors,
  e.g. app('TextEdit').documents(1).text, would be silently ignored, resulting
  in unexpected behaviour
* Codecs#unpack now tries to coerce descriptors of typeVersion to unicode text
  (works on 10.4+) c.f. AppleScript (note: itunes.version.get returns the
  wrong version number otherwise; this appears to be an iTunes bug, but is
  masked by current AppleScript behaviour)
* #process_exists_for_url?, #remote_app in connect.rb now raise error if URL
   string doesn't contain a colon (process will crash otherwise due to an OS
* improved error reporting in Reference#[] when a malformed generic reference
  containing a command expands to a non-reference value. e.g.
  would previously expand the the value of the object's 'name' property,
  typically a string, resulting in a cryptic NoMethodError; this now raises a
  descriptive ArgumentError.
* fixed bug where Terminology module would error on zero-length keywords in
  problem dictionaries (e.g. MS Word 12.1.7)
* AEM::Codecs now correctly unpacks AEDescs of typeBoolean whose data >1 byte
* fixed inconsistent escaping of application-defined property/element names
  that overlap built-in type/enum/property names but uses different
  codes. e.g. Adobe Illustrator defines 'rotation' as 'SxRx' - this overlaps
  built-in definition ('rotation' = 'trot'), so is escaped as
  'rotation_'. Previously only the Keyword was escaped (i.e. :rotation_ but
  ref.rotation) now both are escaped (i.e. :rotation_, ref.rotation_). Users
  should update existing code as needed.
* restructured defaultterminology.rb to make it easier to maintain
* changed default terminology mapping for :data from KAE::CRawData ('rdat') to
  KAE::TypeData ('tdta')
* the OSAX module now obtains list of installed scripting additions on first
  use instead of import (the .osax scanning code uses System Events via AEM,
  and sending Apple events in event loop-based application before the event
  loop is started can disrupt the process's handling of incoming Apple events)

To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/ruby-rb-appscript/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/ruby-rb-appscript/PLIST
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/sysutils/ruby-rb-appscript/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index