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.
Files changed (79) hide show
  1. data/CHANGES +28 -0
  2. data/README +51 -31
  3. data/doc/aem-manual/01_introduction.html +0 -2
  4. data/doc/aem-manual/02_apioverview.html +13 -9
  5. data/doc/aem-manual/03_packingandunpackingdata.html +41 -9
  6. data/doc/aem-manual/04_references.html +42 -40
  7. data/doc/aem-manual/{05_targettingapplications.html → 05_targetingapplications.html} +4 -6
  8. data/doc/aem-manual/06_buildingandsendingevents.html +40 -12
  9. data/doc/aem-manual/07_findapp.html +0 -2
  10. data/doc/aem-manual/08_examples.html +0 -2
  11. data/doc/aem-manual/aemreferenceinheritance.gif +0 -0
  12. data/doc/aem-manual/index.html +1 -3
  13. data/doc/appscript-manual/01_introduction.html +0 -2
  14. data/doc/appscript-manual/02_aboutappscripting.html +4 -6
  15. data/doc/appscript-manual/03_quicktutorial.html +1 -3
  16. data/doc/appscript-manual/04_gettinghelp.html +20 -7
  17. data/doc/appscript-manual/05_keywordconversion.html +5 -3
  18. data/doc/appscript-manual/06_classesandenums.html +32 -8
  19. data/doc/appscript-manual/07_applicationobjects.html +30 -41
  20. data/doc/appscript-manual/08_realvsgenericreferences.html +0 -2
  21. data/doc/appscript-manual/09_referenceforms.html +0 -2
  22. data/doc/appscript-manual/10_referenceexamples.html +1 -3
  23. data/doc/appscript-manual/11_applicationcommands.html +29 -2
  24. data/doc/appscript-manual/12_commandexamples.html +0 -2
  25. data/doc/appscript-manual/13_performanceissues.html +0 -2
  26. data/doc/appscript-manual/14_notes.html +0 -19
  27. data/doc/appscript-manual/index.html +0 -2
  28. data/doc/index.html +1 -4
  29. data/doc/mactypes-manual/01_introduction.html +0 -2
  30. data/doc/mactypes-manual/02_aliasclass.html +0 -10
  31. data/doc/mactypes-manual/03_fileurlclass.html +1 -11
  32. data/doc/mactypes-manual/04_unitsclass.html +0 -2
  33. data/doc/mactypes-manual/index.html +0 -2
  34. data/doc/osax-manual/01_introduction.html +0 -2
  35. data/doc/osax-manual/02_interface.html +0 -2
  36. data/doc/osax-manual/03_examples.html +0 -2
  37. data/doc/osax-manual/04_notes.html +6 -25
  38. data/doc/osax-manual/index.html +0 -2
  39. data/rb-appscript.gemspec +2 -3
  40. data/sample/AB_export_vcard.rb +0 -0
  41. data/sample/AB_list_people_with_emails.rb +0 -0
  42. data/sample/Create_daily_iCal_todos.rb +0 -0
  43. data/sample/Export_Address_Book_phone_numbers.rb +0 -0
  44. data/sample/Hello_world.rb +0 -0
  45. data/sample/List_iTunes_playlist_names.rb +0 -0
  46. data/sample/Open_file_in_TextEdit.rb +0 -0
  47. data/sample/Organize_Mail_messages.rb +0 -0
  48. data/sample/TextEdit_demo.rb +0 -0
  49. data/sample/iTunes_top40_to_html.rb +0 -0
  50. data/src/SendThreadSafe.c +0 -0
  51. data/src/SendThreadSafe.h +0 -0
  52. data/src/lib/_aem/aemreference.rb +5 -7
  53. data/src/lib/_aem/codecs.rb +47 -24
  54. data/src/lib/_aem/connect.rb +29 -8
  55. data/src/lib/_aem/encodingsupport.rb +77 -0
  56. data/src/lib/_aem/findapp.rb +0 -2
  57. data/src/lib/_aem/mactypes.rb +0 -2
  58. data/src/lib/_aem/send.rb +6 -8
  59. data/src/lib/_aem/typewrappers.rb +0 -2
  60. data/src/lib/_appscript/defaultterminology.rb +0 -2
  61. data/src/lib/_appscript/referencerenderer.rb +1 -3
  62. data/src/lib/_appscript/reservedkeywords.rb +0 -2
  63. data/src/lib/_appscript/safeobject.rb +58 -9
  64. data/src/lib/_appscript/terminology.rb +63 -46
  65. data/src/lib/aem.rb +3 -4
  66. data/src/lib/appscript.rb +12 -13
  67. data/src/lib/osax.rb +436 -9
  68. data/src/rbae.c +126 -103
  69. data/test/test_aemreference.rb +0 -0
  70. data/test/test_appscriptcommands.rb +15 -1
  71. data/test/test_appscriptreference.rb +0 -0
  72. data/test/test_codecs.rb +10 -4
  73. data/test/test_findapp.rb +0 -0
  74. data/test/test_mactypes.rb +0 -0
  75. data/test/test_osax.rb +0 -0
  76. data/test/testall.sh +0 -0
  77. metadata +24 -24
  78. data/LICENSE +0 -70
  79. 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