rb-appscript 0.5.3 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +28 -0
- data/README +51 -31
- data/doc/aem-manual/01_introduction.html +0 -2
- data/doc/aem-manual/02_apioverview.html +13 -9
- data/doc/aem-manual/03_packingandunpackingdata.html +41 -9
- data/doc/aem-manual/04_references.html +42 -40
- data/doc/aem-manual/{05_targettingapplications.html → 05_targetingapplications.html} +4 -6
- data/doc/aem-manual/06_buildingandsendingevents.html +40 -12
- data/doc/aem-manual/07_findapp.html +0 -2
- data/doc/aem-manual/08_examples.html +0 -2
- data/doc/aem-manual/aemreferenceinheritance.gif +0 -0
- data/doc/aem-manual/index.html +1 -3
- data/doc/appscript-manual/01_introduction.html +0 -2
- data/doc/appscript-manual/02_aboutappscripting.html +4 -6
- data/doc/appscript-manual/03_quicktutorial.html +1 -3
- data/doc/appscript-manual/04_gettinghelp.html +20 -7
- data/doc/appscript-manual/05_keywordconversion.html +5 -3
- data/doc/appscript-manual/06_classesandenums.html +32 -8
- data/doc/appscript-manual/07_applicationobjects.html +30 -41
- data/doc/appscript-manual/08_realvsgenericreferences.html +0 -2
- data/doc/appscript-manual/09_referenceforms.html +0 -2
- data/doc/appscript-manual/10_referenceexamples.html +1 -3
- data/doc/appscript-manual/11_applicationcommands.html +29 -2
- data/doc/appscript-manual/12_commandexamples.html +0 -2
- data/doc/appscript-manual/13_performanceissues.html +0 -2
- data/doc/appscript-manual/14_notes.html +0 -19
- data/doc/appscript-manual/index.html +0 -2
- data/doc/index.html +1 -4
- data/doc/mactypes-manual/01_introduction.html +0 -2
- data/doc/mactypes-manual/02_aliasclass.html +0 -10
- data/doc/mactypes-manual/03_fileurlclass.html +1 -11
- data/doc/mactypes-manual/04_unitsclass.html +0 -2
- data/doc/mactypes-manual/index.html +0 -2
- data/doc/osax-manual/01_introduction.html +0 -2
- data/doc/osax-manual/02_interface.html +0 -2
- data/doc/osax-manual/03_examples.html +0 -2
- data/doc/osax-manual/04_notes.html +6 -25
- data/doc/osax-manual/index.html +0 -2
- data/rb-appscript.gemspec +2 -3
- data/sample/AB_export_vcard.rb +0 -0
- data/sample/AB_list_people_with_emails.rb +0 -0
- data/sample/Create_daily_iCal_todos.rb +0 -0
- data/sample/Export_Address_Book_phone_numbers.rb +0 -0
- data/sample/Hello_world.rb +0 -0
- data/sample/List_iTunes_playlist_names.rb +0 -0
- data/sample/Open_file_in_TextEdit.rb +0 -0
- data/sample/Organize_Mail_messages.rb +0 -0
- data/sample/TextEdit_demo.rb +0 -0
- data/sample/iTunes_top40_to_html.rb +0 -0
- data/src/SendThreadSafe.c +0 -0
- data/src/SendThreadSafe.h +0 -0
- data/src/lib/_aem/aemreference.rb +5 -7
- data/src/lib/_aem/codecs.rb +47 -24
- data/src/lib/_aem/connect.rb +29 -8
- data/src/lib/_aem/encodingsupport.rb +77 -0
- data/src/lib/_aem/findapp.rb +0 -2
- data/src/lib/_aem/mactypes.rb +0 -2
- data/src/lib/_aem/send.rb +6 -8
- data/src/lib/_aem/typewrappers.rb +0 -2
- data/src/lib/_appscript/defaultterminology.rb +0 -2
- data/src/lib/_appscript/referencerenderer.rb +1 -3
- data/src/lib/_appscript/reservedkeywords.rb +0 -2
- data/src/lib/_appscript/safeobject.rb +58 -9
- data/src/lib/_appscript/terminology.rb +63 -46
- data/src/lib/aem.rb +3 -4
- data/src/lib/appscript.rb +12 -13
- data/src/lib/osax.rb +436 -9
- data/src/rbae.c +126 -103
- data/test/test_aemreference.rb +0 -0
- data/test/test_appscriptcommands.rb +15 -1
- data/test/test_appscriptreference.rb +0 -0
- data/test/test_codecs.rb +10 -4
- data/test/test_findapp.rb +0 -0
- data/test/test_mactypes.rb +0 -0
- data/test/test_osax.rb +0 -0
- data/test/testall.sh +0 -0
- metadata +24 -24
- data/LICENSE +0 -70
- data/TODO +0 -19
data/LICENSE
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
All code is released under the MIT License, except for the following:
|
2
|
-
|
3
|
-
- safeobject.rb which is a modified version of basicobject <http://facets.rubyforge.org> released under the Ruby License (see below)
|
4
|
-
|
5
|
-
- SendThreadSafe.h/SendThreadSafe.m, which are modified versions of Apple code (http://developer.apple.com/samplecode/AESendThreadSafe/); see SendThreadSafe.h for the original Apple license
|
6
|
-
|
7
|
-
======================================================================
|
8
|
-
MIT LICENSE
|
9
|
-
|
10
|
-
Copyright (C) 2006-2009 HAS
|
11
|
-
|
12
|
-
======================================================================
|
13
|
-
THE RUBY LICENSE
|
14
|
-
(http://www.ruby-lang.org/en/LICENSE.txt)
|
15
|
-
|
16
|
-
You may redistribute this software and/or modify it under either the terms of
|
17
|
-
the GPL (see below), or the conditions below:
|
18
|
-
|
19
|
-
1. You may make and give away verbatim copies of the source form of the
|
20
|
-
software without restriction, provided that you duplicate all of the
|
21
|
-
original copyright notices and associated disclaimers.
|
22
|
-
|
23
|
-
2. You may modify your copy of the software in any way, provided that
|
24
|
-
you do at least ONE of the following:
|
25
|
-
|
26
|
-
a) place your modifications in the Public Domain or otherwise
|
27
|
-
make them Freely Available, such as by posting said
|
28
|
-
modifications to Usenet or an equivalent medium, or by allowing
|
29
|
-
the author to include your modifications in the software.
|
30
|
-
|
31
|
-
b) use the modified software only within your corporation or
|
32
|
-
organization.
|
33
|
-
|
34
|
-
c) rename any non-standard executables so the names do not conflict
|
35
|
-
with standard executables, which must also be provided.
|
36
|
-
|
37
|
-
d) make other distribution arrangements with the author.
|
38
|
-
|
39
|
-
3. You may distribute the software in object code or executable
|
40
|
-
form, provided that you do at least ONE of the following:
|
41
|
-
|
42
|
-
a) distribute the executables and library files of the software,
|
43
|
-
together with instructions (in the manual page or equivalent)
|
44
|
-
on where to get the original distribution.
|
45
|
-
|
46
|
-
b) accompany the distribution with the machine-readable source of
|
47
|
-
the software.
|
48
|
-
|
49
|
-
c) give non-standard executables non-standard names, with
|
50
|
-
instructions on where to get the original software distribution.
|
51
|
-
|
52
|
-
d) make other distribution arrangements with the author.
|
53
|
-
|
54
|
-
4. You may modify and include the part of the software into any other
|
55
|
-
software (possibly commercial). But some files in the distribution
|
56
|
-
are not written by the author, so that they are not under these terms.
|
57
|
-
|
58
|
-
For the list of those files and their copying conditions, see the
|
59
|
-
file LEGAL.
|
60
|
-
|
61
|
-
5. The scripts and library files supplied as input to or produced as
|
62
|
-
output from the software do not automatically fall under the
|
63
|
-
copyright of the software, but belong to whomever generated them,
|
64
|
-
and may be sold commercially, and may be aggregated with this
|
65
|
-
software.
|
66
|
-
|
67
|
-
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
68
|
-
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
69
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
70
|
-
PURPOSE.
|
data/TODO
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
TO DO
|
2
|
-
|
3
|
-
- Add a libxml2-based sdef parser for use by OSAX::ScriptingAddition in 64-bit Leopard as OSAGetAppTerminology is not available there. (note: OSAGetAppTerminology, OSACopyScriptingDefinition should be weakly bound in rbae.c)
|
4
|
-
|
5
|
-
- can numbers in range (2**63)..(2**64 - 1) safely be packed as typeUInt64 on 10.5+? Or stick with packing those as lossy 64-bit floating point for compatibility?
|
6
|
-
|
7
|
-
- unpack support for typeISO8601DateTime (10.1+), typeCFAbsoluteTime (10.5+)?
|
8
|
-
|
9
|
-
- _aem/connect.rb module refers directly to Send::Event instead of going via the AEM::Application::Event hook, which might cause problems when used in an OSA component or other situation where client needs to customise all event creation and/or dispatch.
|
10
|
-
|
11
|
-
- #== and #hash methods in MacTypes::Alias, MacTypes::FileURL lack robustness; see notes in mactypes manual for details. Could these be improved? (Note: some mactypes unit tests may fail in some situations due to 'dumb' nature of these methods.)
|
12
|
-
|
13
|
-
- support string encodings in Ruby 1.9
|
14
|
-
|
15
|
-
- document extended error info methods
|
16
|
-
|
17
|
-
- add compatibility flag to AppData for unpacking typeLongDateTime descs as Date instead of Time instances (the latter has limited range)
|
18
|
-
|
19
|
-
- fix strict warnings in Ruby 1.9.1
|