Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

872 lines (629 sloc) 25.179 kB
2007-08-01 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
Consider the 'specifier' OSA type as 'reference'.
* src/rbosa.c:
Do not raise an exception if an application level descriptor is set but
without an error code.
=== RubyOSA 0.4.0 ===
2007-05-11 Justin Palmer <encytemedia@gmail.com>
* sample/Photoshop/new_doc.rb,
sample/Photoshop/new_doc_with_text.rb:
New sample code.
2007-05-11 Laurent Sansonetti <lsansonetti@apple.com>
* rubyosa.gemspec,
NEWS:
Prepared for 0.4.0.
* tests/tc_ical.rb:
Better test.
* tests/tc_omnigraffle.rb:
Make sure to open a document before doing the create shape test.
* tests/as.rb:
Rewrote to not depend on RubyCocoa anymore but use osascript(1) instead.
* AUTHORS:
Added Justin.
* src/rbosa.c:
Set a 'subj' attribute to the apple event if there is no direct parameter.
* tests/tc_rdoc.rb:
Added rdoc-osa tests.
* bin/rdoc-osa:
Better generator, can now handle scripting additions.
* AUTHORS:
Added Mike and Carlos.
2007-05-11 Carlos Villela <carlos.villela@gmail.com>
* sample/iTunes/name_that_tune.rb:
New sample code.
2007-04-03 Wes Rogers <wesrog@gmail.com>
* sample/iTunes/tag_genre_lastfm.rb:
New revision, that will only query Last.fm once per artist instead of multiple
times (to not abuse the webservice they provide).
2007-04-03 Laurent Sansonetti <lsansonetti@apple.com>
* bin/rdoc-osa:
Do not call Config.datadir if not defined (only RubyGems defines it).
2007-03-28 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa_properties.rb:
Added :size as a shortcut to :point_size.
* src/lib/rbosa.rb:
- When converting an Hash object to OSA, property convert Array values ;
- Convert type-less Float objects to OSA.
* tests/tc_omnigraffle.rb:
Added a test case.
2007-03-27 Laurent Sansonetti <lsansonetti@apple.com>
* tc_itunes.rb:
Updated test case to use #every.
2007-03-26 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb,
tests/tc_ical.rb,
tests/tc_textedit.rb:
- Re-implemented the way to get all attributes of an object specifier list
object, now using #every(:attribute_name) instead of #attribute_name ;
- Updated test cases.
2007-03-25 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
- Do not fail if a description attribute has an empty value ;
- Do not fail if a class inherits from a class that hasn't been defined yet.
* tests/tc_ical.rb:
Added test case.
2007-03-21 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
- Allow multiple enum values to be passed into the same argument, packing
then in an array ;
- Merge a custom method to every application class, `activate', that sends
the 'misc/actv' event.
* tests/tc_textedit.rb:
Added test cases.
2007-03-18 Laurent Sansonetti <lsansonetti@apple.com>
* tests/tc_itunes.rb,
tests/tc_textedit.rb,
src/lib/rbosa.rb:
- Fixed 'msng' type conversions ;
- Added the possibility to retrieve a list of attributes of a descriptor
list ;
- Added Ruby <-> OSA conversions for color type ;
- Added test cases.
2007-03-08 Laurent Sansonetti <lsansonetti@apple.com>
* bin/rdoc-osa:
Fixed the rdoc-osa tool for applications that do not have a 'name' command.
2007-03-02 Laurent Sansonetti <lsansonetti@apple.com>
* rubyosa.gemspec:
Forgot to include 'data/rubyosa/...', released a 0.3.0.1 version of the gem.
=== RubyOSA 0.3.0 ===
2007-03-02 Laurent Sansonetti <lsansonetti@apple.com>
* rubyosa.gemspec,
NEWS,
README:
Final sync for 0.3.0.
* src/lib/rbosa.rb:
Convert the 'doub' OSA type as double.
2007-03-01 Laurent Sansonetti <lsansonetti@apple.com>
* NEWS,
rubyosa.gemspec:
Prepared for 0.3.0.
* extconf.rb,
post-install.rb,
README:
Do not try to hack the install task of the generated mkmf Makefile anymore,
as it doesn't seem to work with some previous mkmf revisions. Instead just add
a new Makefile task, 'install-extras', and suggest the user to call it in the
README.
2007-02-28 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb,
src/rbosa.c:
Added a new global setting to control either a return value should be
expected or not from the following Apple events. Variable is OSA.wait_reply,
default value is nil which means "automatic behavior".
* src/lib/rbosa.rb:
- Send a ascr/gdut event after having merged a scriptable addition sdef ;
- Do not set the same constant twice.
2007-02-27 Laurent Sansonetti <lsansonetti@apple.com>
* AUTHORS:
Added Wes and Terry.
* sample/Mail/get_selected_mail.rb:
Added new Mail/TextEdit sample, contributed by Terry Donoghue.
2007-02-20 Laurent Sansonetti <lsansonetti@apple.com>
* sample/iTunes/tag_genre_lastfm.rb:
Added new iTunes sample, contributed by Wes Rogers <wesrog@gmail.com> and
slightly modified to tag the selected tracks and not only the current track.
2007-02-17 Laurent Sansonetti <lsansonetti@apple.com>
* tests/tc_get_app.rb,
src/rbosa_err.c,
src/lib/rbosa.rb,
src/rbosa.c,
src/rbosa_sdef.c:
- Better error messages ;
- Accept OSA.app('AppName', :option => ...) syntax ;
- Updated test cases.
* src/lib/rbosa.rb,
tests/tc_textedit.rb:
Make sure we properly validate the command arguments number, added some test
cases.
* src/lib/rbosa.rb,
src/rbosa.c,
src/rbosa_sdef.c:
- Now automatically retrieving the remote application sdef ;
- Honors the 'id' attribute of the sdef format ;
- Be smarter when converting types from Ruby to OSA, making sure primitive
types are always converted ;
- Fixed a memory leak.
2007-02-05 Laurent Sansonetti <lsansonetti@apple.com>
* src/rbosa.c,
src/rbosa_sdef.c,
src/rbosa.h:
Added an SPI to get the list of processes running on a remote machine.
* src/lib/rbosa.rb,
src/rbosa_sdef.c:
- API change for OSA.app and #merge: the :by_* prefixes of keywords have been
removed (for example, OSA.app(:path => '...') instead of
OSA.app(:by_path => '...')) ;
- Added the possibility to control remote applications, by passing the
:machine keyword (:username and :password can also be used but they are not
mandatory). Work is still in progress.
* bin/rdoc-osa,
sample/misc/sdef.rb,
tests/tc_get_app.rb,
TODO:
Follow last change.
* tests/tc_omnigraffle.rb,
tests/data/test.graffle:
Added a test case to verify the last fix.
* src/lib/rbosa.rb,
src/rbosa.c:
Smarter #get method, if the resolved object doesn't inherit from the
desired class, and if it has a property method with a class key/value,
return a new descriptor of the desired class.
2007-02-03 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb,
bin/rdoc-osa:
Adapted the generated RDoc to mention the possibility to pass optional
parameters as a Hash key/value object.
2007-02-02 Laurent Sansonetti <lsansonetti@apple.com>
* tests/tc_textedit.rb,
src/lib/rbosa_properties.rb,
src/lib/rbosa.rb,
sample/TextEdit/hello_world.rb:
Auto-convert codes to symbols when converting Ruby Hash objects into OSA
records. Register the application properties. Added a test case. Updated
sample code.
* rubyosa.gemspec:
Synchronized (using 0.2.1 for the version though).
* src/lib/rbosa.rb:
Same conversion behavior for 'type' than 'type class'.
2007-02-01 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb,
src/rbosa.c:
Better inspect methods for OSA::Element and OSA::ObjectSpecifierList.
2007-01-31 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb,
src/rbosa_sdef.c:
Better error messages for OSA.app and #merge.
* extconf.rb,
bin/rdoc-osa,
data/rubyosa/rdoc_html.rb,
post-install.rb:
- Better RDoc generation (removed the Files frame, references to the generated
dummy Ruby file and source code, changed the default HTML title) ;
- Make sure the rdoc-osa tool and the new template are properly installed in
the right locations by 'make install'.
* src/rbosa.c:
Make sure we send events with the user-can-interact flag set on.
2007-01-30 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
When trying to merge an sdef in the current application, if the LaunchServices
couldn't locate it by its name, let's be clever and look inside the
ScriptingAdditions locations.
* src/lib/rbosa.rb,
src/rbosa.c,
src/rbosa_sdef.c,
src/rbosa.h,
bin/rdoc-osa,
sample/misc/sdef.rb,
tests/tc_itunes.rb,
tests/tc_ichat.rb,
tests/tc_textedit.rb,
tests/tc_get_app.rb,
TODO:
- Added support for merging additional sdef to an existing application object
by using the #merge method ;
- API change: OSA.app() now accept an inline Hash syntax with :by_name,
:by_path, :by_bundle_id and :by_signature keys/values. The old
OSA.app_with_* methods have been deprecated ;
- Updated samples and test cases to the new API.
2007-01-29 Laurent Sansonetti <lsansonetti@apple.com>
* tests/tc_ichat.rb,
src/lib/rbosa.rb,
bin/rdoc-osa:
- Fixed properties returning 'list_of_*' types (and added some tests cases) ;
- Small RDoc fixes.
* tests/tc_textedit.rb,
src/lib/rbosa.rb,
TODO:
Added the possibility to specify optional arguments using an inline-Hash
syntax (the old way is also still possible).
* tests/tc_textedit.rb,
tests/as.rb,
tests/tc_get_app.rb,
src/lib/rbosa.rb,
TODO:
Get rid of costly evalulations. Added more test cases.
2007-01-26 Laurent Sansonetti <lsansonetti@apple.com>
* tests/tc_textedit.rb,
src/lib/rbosa.rb,
src/rbosa.c,
TODO:
Added support for some 'location reference' types (before/after a given
descriptor). Added some test cases.
* COPYRIGHT,
*/**/*.{rb,c,h}:
Updated copyright marks.
2007-01-25 Laurent Sansonetti <lsansonetti@apple.com>
* src/rbosa_err.c,
src/rbosa.c,
src/rbosa.h:
Better application-level error handling. Now converting the error numbers to
human-readable sentences.
* tests/tc_textedit.rb,
src/lib/rbosa_properties.rb,
src/lib/rbosa.rb:
Added translation support for property codes. Now translating themi when
converting when converting records from OSA to Ruby (as a Hash object). Added
a text case.
* src/lib/rbosa.rb:
- Added OSA -> Ruby 'TIFF' conversion ;
- Fixed the Ruby -> OSA 'list_of_*' conversion.
* tests/tc_itunes.rb,
tests/tc_ichat.rb,
tests/as.rb:
Added some new tests to check RubyOSA with iTunes and iChat.
Uses NSAppleScript through RubyCocoa to verify what has been done.
* AUTHORS:
Added Michail.
2007-01-25 Michail Pishchagin <mblsha@gmail.com>
* src/lib/rbosa.rb:
Make sure '$' and '=' are escaped.
2007-01-21 Mike Naberezny <mike@maintainable.com>
* sample/:
Sorted samples into subdirectories by application.
2007-01-17 Laurent Sansonetti <lsansonetti@apple.com>
* src/rbosa.c:
Fixed 64-bit build.
2007-01-11 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
Make sure the converted 'alis' paths are unescaped. Thanks James MacAulay.
2007-01-07 Laurent Sansonetti <lsansonetti@apple.com>
* sample/AddressBook_inspect.rb:
Modified to handle application-level errors that Address Book could
raise when trying to format malformed addresses.
* src/rbosa.c:
Fixed handling of application-level errors.
* tests/testall.rb,
src/lib/rbosa.rb,
src/rbosa.c,
src/rbosa_sdef.c,
src/rbosa.h,
src/rbosa_conv.c,
COPYRIGHT,
extconf.rb,
bin/rdoc-osa:
Updated copyright date to 2007.
* AUTHORS:
Added Stefan.
2007-01-07 Stefan Saasen <s@juretta.com>
* sample/AddressBook_inspect.rb:
New sample code, that prints all contacts in the Address Book.
=== RubyOSA 0.2.0 ===
2007-02-01 Laurent Sansonetti <lsansonetti@apple.com>
* rubyosa.gemspec:
Updated for 0.2.0.
2006-12-29 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb,
src/rbosa.c:
- Made the UTF8 strings optional and disabled by default ;
- Fixed the TIFF conversion to OSA ;
- Handle application errors and convert them as Ruby exceptions.
* sample/iTunes_control.rb,
sample/iTunes_inspect.rb:
Activate UTF8 strings.
2006-12-27 Laurent Sansonetti <lsansonetti@apple.com>
* NEWS:
Revised for the next release.
* src/lib/rbosa:
Added 'class' to the list of reserved Ruby keywords to prefix when generating
method parameters.
2006-12-27 Vincent Isambart <vincent.isambart@gmail.com>
* src/lib/rbosa.rb:
- Fixed a bug when generating setter methods ;
- Uses UTF8 strings by default.
2006-12-27 Laurent Sansonetti <lsansonetti@apple.com>
* sample/TextEdit_hello_world.rb:
Removed experimental code.
2006-12-07 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
- Suffix method names that are already registered with an integer value
instead of prefixing with 'osa_' as there might be more than 2 duplicates ;
- Register the ID property if not already defined.
2006-11-20 Jean-Pierre M. <jeanpierre@gmail.com>
* sample/iTunes_artwork.rb:
Use the artwork format as the temporary file extension.
2006-11-20 Laurent Sansonetti <lsansonetti@apple.com>
* README:
Revised.
* src/rbosa.c:
Make sure to swap the data of 'type' coerced descriptors.
* src/lib/rbosa.rb:
- Better translation of 'type' from OSA to Ruby ;
- Support for some picture types ;
- Fixed conversion handlers to not use 'self'.
* sample/iTunes_artwork.rb,
sample/iChat_image.rb:
Added new samples.
2006-11-19 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
- Convert four char codes to the Mac Roman encoding before using them,
as otherwise they could be considered as 5 bytes strings (ex. BBEdit) ;
- Remove invalid characters when generating constants.
* sample/Finder_show_desktop.rb,
sample/BBEdit_unix_script.rb:
Added new samples.
2006-11-04 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
Translate 'alis' OSA types to Ruby file paths.
2006-10-30 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb,
sample/*.rb:
Changed the "require 'rubygems'..." expressions to make them compatible
with Ruby 1.8.2.
* src/lib/rbosa.rb,
src/rbosa.c:
Added support to convert Hash objects to OSA 'record' types.
2006-09-28 James MacAulay <jmacaulay@gmail.com>
* src/lib/rbosa.rb:
- Reverted to 0.0.11 handling of 'comp' objects (unpacked as Quad integers
again now) ;
- Added handling for 'sing' objects (they're floats) ;
- Added handling for when __type__ is 'type' and __data__ is 'msng'.
It seems that this is meant to suggest "missing" values, since this is
exactly where they pop up in iTunes track properties (in an uninitialized
long_description, for example)...so I just made them turn into nils.
2006-10-28 Jean-Pierre M. <jeanpierre@gmail.com>
* sample/*.rb:
Try to require 'rubygems' in samples, as RubyOSA may have been
installed as a gem.
2006-10-28 Laurent Sansonetti <lsansonetti@apple.com>
* TODO:
Updated.
* src/lib/rbosa.rb:
Fixed generated code for methods taking an enumeration-like parameter.
This fixes #6350.
2006-10-27 Laurent Sansonetti <lsansonetti@apple.com>
* sample/iChat_uptime.rb:
Better uptime string. Suggested by Tieg Zaharia.
=== RubyOSA 0.1.0 ===
2006-10-25 Sebastian Delmont <sd@notso.net>
* src/lib/rbosa.rb:
Made the OSA <-> Ruby conversion hooks open.
Patch was slightly modified by Laurent Sansonetti.
2006-10-25 Aaron Patterson <aaron.patterson@gmail.com>
* src/lib/rbosa.rb:
Fall-back using REXML if libxml-ruby is not present.
Patch was slightly modified by Laurent Sansonetti.
2006-10-25 Laurent Sansonetti <lsansonetti@apple.com>
* AUTHORS:
Added Aaron.
* rubyosa.gemspec,
bin/rdoc-osa,
rdoc-osa.rb:
- Added RubyGems specification file ;
- Moved the rdoc-osa tool to ./bin ;
- Added support for 'type class' OSA parameters.
* sample/TextEdit_hello_world.rb:
Added new sample.
* README:
Revised.
* src/rbosa.c:
Do not inspect descriptors.
* src/lib/rbosa.rb,
rdoc-osa.rb:
- Retrieves documentation from the sdef ;
- Added a new tool (rdoc-osa) that generates RDoc documentation for the
given application ;
- Improved constant/method names generation.
* sample/iTunes_control.rb:
Follow new constant naming.
* TODO:
Revised.
2006-10-16 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb,
sample/*.rb:
Added OSA.app as a convenience shortcut to OSA.app_with_name.
Updated samples.
* src/lib/rbosa.rb,
src/rbosa.c,
src/rbosa.h:
- Added OSA accessors to control the Apple Event timeouts
and the lazy send mechanism (by default activated) ;
- Added a convenience method (OSA.set_params) to set params
within the framework of a given closure.
2006-10-13 Laurent Sansonetti <lsansonetti@apple.com>
* README, TODO:
Revisions for the first public release.
2006-10-11 Sebastian Delmont <sd@notso.net>
* src/lib/rbosa.rb:
Fixed a bug in the code when handling optional
parameters. If a parameter is optional, defines
all other parameters as optional.
2006-09-29 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb, src/rbosa.c:
Added support for list of types parameters.
2006-09-28 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
Print the debug messages only if $DEBUG is on.
* AUTHORS:
Added Sebastian and James.
2006-09-28 James MacAulay <jmacaulay@gmail.com>
* src/lib/rbosa.rb:
Properly convert the 'comp' type to real 64-bit value.
2006-09-27 Sebastian Delmont <sd@notso.net>
* src/lib/rbosa.rb:
Added support for the QuickDraw rectangle type.
2006-09-25 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
Do not implicitly resolve 'reference'-typed objects.
2006-09-17 Laurent Sansonetti <lsansonetti@apple.com>
* TODO:
Closed the libxml task.
2006-09-14 Laurent Sansonetti <lsansonetti@apple.com>
* README:
Mention that libxml-ruby is now required.
* src/lib/rbosa.rb:
- Requires libxml-ruby and uses it to parse the sdef file ;
- Fixed a bug where certain setter property methods were not
generated.
* src/rbosa.c:
s/OSA::Application/OSA::EventDispatcher.
2006-08-25 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
Big change: try to minimize the send of apple events. We won't
implicitly resolve object specifiers unless 1) a command is
messaged 2) a primitive type (which is not defined in the sdef)
is get 3) a property setter is messaged and 4) you explicitly
call the #get method on the object.
* src/rbosa.c:
Added OSA::Element#inspect that prints the contents of the
embedded descriptor.
2006-08-24 Laurent Sansonetti <lsansonetti@apple.com>
* src/rbosa.c:
- Added OSA::Element#==() that compares the descriptors data ;
- Make sure we rb_fatal() when we can't allocate memory ;
- When guessing classes, do some sanity checks before, and
cleaned the byte swapping part ;
- Cleaned the four char code to string conversions.
* src/lib/rbosa.rb:
Don't override existing methods, prefixing the generated
method names with 'osa_' when necessary. When mapping the
commands, filter the classes to only take the oldest ones in
the hierarchy.
2006-08-23 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
When converting to alias or file types, provide a 'furl'
descriptor instead of an 'alis' one, as we don't have a way
to create an alias for a file that does not exist yet.
2006-08-22 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb, src/rbosa.c:
- Added support for 'reco' types, that are now translated into
Ruby Hash objects ;
- Convert 'type' types to real generated classes (if possible).
2006-08-22 Vincent Isambart <vincent.isambart@gmail.com>
* src/lib/rbosa.rb, src/rbosa.c:
Set the @app instance variable to self for application instances,
and cleanup the generated methods code logic to always use it.
2006-08-22 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
Handle 'file' element types as aliases.
* src/rbosa_sdef.c:
- Don't try to get the app name when OSA.app_with_name() was called,
as we already have it ;
- When trying to get the app name, if CFBundleName does not exist in
the Info.plist file, try for CFBundleExecutable.
2006-08-22 Vincent Isambart <vincent.isambart@gmail.com>
* src/lib/rbosa.rb:
- Map '-', '/' and '.' to underscores, and '&' to 'and' when rubyfy'ing
strings (Finder and QuickTime do have these characters) ;
- Ignore commands whose names contain 'NOT AVAILABLE' (Finder on Tiger
has some) ;
- When creating classes, make sure we iterate on all elements (as some
classes can be defined within multiple suites) ;
- Use Module#const_set instead of costly evals to define constants.
* sample/QT_playall.rb:
Added new sample.
2006-08-22 Laurent Sansonetti <lsansonetti@apple.com>
* AUTHORS:
Added.
2006-08-10 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
Fix latest fix.
* src/rbosa.c:
Removed unnecessary comment.
2006-08-08 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
Cache the application objects so that we never create them more than once.
* src/rbosa_sdef.c:
Fixed the OSA.app_with_signature() method.
* tests/tc_get_app.rb, tests/testall.rb:
Added some test cases.
* src/rbosa_conv.c:
Raise an exception if an URL could not be created with the given file
path (reported by Michael Pruett).
2006-07-26 Laurent Sansonetti <lsansonetti@apple.com>
* src/rbosa.c, src/rbosa_sdef.c, src/lib/rbosa.rb:
- The application class does not inherit from OSA::Application anymore,
as in some sdef it inherits from another class. OSA::Application has
been transformed as a module and is mixed in the class instead ;
- Fixed the sdef retrieval method to generate a Ruby string with the
exact length of the given data, to avoid garbage at the end of the XML
definition that can sometimes make REXML a bit nervous.
2006-07-23 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
- Map direct-specifier-optional commands to the application class ;
- Do not override methods if they are already defined.
* sample/iTunes_fade_volume.rb:
Fixed the iTunes_fade_volume.rb sample to call app#play ;
2006-07-19 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb, src/rbosa.c, src/rbosa.h, src/rbosa_conv.c:
- Fixed methods with direct-parameter mapped to the application class ;
- Do not warn for classes that inherit from themselves (not a bug) ;
- Added support for aliases (Ruby String -> Carbon AliasHandle) ;
- Fixed integers-packed-into-string arguments handling ;
- Handle 'text' element types as strings.
* sample/iTunes_fade_volume.rb:
New sample.
2006-07-13 Laurent Sansonetti <lsansonetti@apple.com>
* src/rbosa.c, src/lib/rbosa.rb:
- Do not overwrite new class constants if they already exist ;
- When a class in the sdef inherits from a class that is not
defined, raises a warning and falls back on OSA::Element.
- When guessing the class type of an object specifier, make sure
we don't check more than 4 characters.
* sample/iChat_uptime.rb:
New sample.
2006-07-12 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb:
- Prefix generated constant names with a 'C' in case the name starts
with an digit, to avoid an exception ;
- Added write-support for properties ;
- Fixed AE -> Ruby boolean type conversion ;
- When passing parameters, check if OSA::Element objects are given
and use them instead of creating new ones.
* sample/iTunes_control.rb:
Use the mute property.
* TODO:
- Updated to mention events timeout ;
- Closed the 'write-support' point.
2006-07-11 Laurent Sansonetti <lsansonetti@apple.com>
* extconf.rb, src/rbosa.h:
Generate modified Ruby headers at build time to avoid symbol
collisions (ID, T_DATA).
2006-07-10 Laurent Sansonetti <lsansonetti@apple.com>
* sample/iTunes_control.rb:
Reverted last change since it does not seem to work... print a message
in the meantime we don't support write operations.
* src/lib/rbosa.rb:
Do not print warning messages unless $VERBOSE is set.
* src/lib/rbosa.rb, src/rbosa.c, src/rbosa.h, src/rbosa_conv.c:
Added x86 support (fixed FourCharCode swapping issues).
2006-07-05 Laurent Sansonetti <lsansonetti@apple.com>
* src/lib/rbosa.rb, src/rbosa.c, src/rbosa_sdef.c, src/rbosa.h,
sample/sdef.rb, sample/iTunes_control.rb, sample/iTunes_inspect.rb:
API change: OSA.app() is splited in 4 sub-methods: OSA.app_with_name(),
OSA.app_with_path(), OSA.app_with_bundle_id() and OSA.app_with_signature.
* src/lib/rbosa.rb:
Convert null elements to nil (fix by Vincent Isambart).
* sample/iTunes_control.rb:
When starting and if there is currently no track, select the first one
and play it.
* TODO:
Reformat.
2006-06-27 Laurent Sansonetti <lsansonetti@apple.com>
* COPYRIGHT, ChangeLog, README, TODO, extconf.rb,
sample/iTunes_control.rb, sample/iTunes_inspect.rb, sample/sdef.rb,
src/rbosa.c, src/rbosa.h, src/rbosa_conv.c, src/rbosa_sdef.c,
lib/rbosa.rb:
Initial RubyForge revision.
Jump to Line
Something went wrong with that request. Please try again.