moonwalkair 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +43 -0
- data/VERSION.yml +5 -0
- data/bin/moonwalk +5 -0
- data/lib/initializer.rb +40 -0
- data/lib/moonwalkair/generator/application.rb +36 -0
- data/lib/moonwalkair/generator/options.rb +47 -0
- data/lib/moonwalkair/generator.rb +125 -0
- data/lib/moonwalkair/templates/LICENSE +20 -0
- data/lib/moonwalkair/templates/README +7 -0
- data/lib/moonwalkair/templates/app/assets/css/jqtouch.css +373 -0
- data/lib/moonwalkair/templates/app/assets/css/theme.css +677 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/backButton.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/blueButton.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/cancel.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/chevron.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/grayButton.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/listArrowSel.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/listGroup.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/loading.gif +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/on_off.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/pinstripes.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/selection.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/thumb.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/toggle.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/toggleOn.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/toolButton.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/toolbar.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/whiteButton.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/icons/128.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/icons/16.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/icons/32.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/icons/48.png +0 -0
- data/lib/moonwalkair/templates/app/lib/air/AIRAliases.js +233 -0
- data/lib/moonwalkair/templates/app/lib/air/AIRIntrospector.js +1949 -0
- data/lib/moonwalkair/templates/app/lib/air/AIRLocalizer.js +1325 -0
- data/lib/moonwalkair/templates/app/lib/air/AIRMenuBuilder.js +1322 -0
- data/lib/moonwalkair/templates/app/lib/air/AIRSourceViewer.js +2933 -0
- data/lib/moonwalkair/templates/app/lib/air/airglobal.abc +0 -0
- data/lib/moonwalkair/templates/app/lib/air/applicationupdater.swf +0 -0
- data/lib/moonwalkair/templates/app/lib/air/applicationupdater_ui.swf +0 -0
- data/lib/moonwalkair/templates/app/lib/air/servicemonitor.swf +0 -0
- data/lib/moonwalkair/templates/app/lib/jquery.js +4376 -0
- data/lib/moonwalkair/templates/app/lib/plugins/jqtouch/jqtouch.js +634 -0
- data/lib/moonwalkair/templates/app/lib/plugins/jqtouch/jqtouch.transitions.js +60 -0
- data/lib/moonwalkair/templates/app/views/index.html +19 -0
- data/lib/moonwalkair/templates/config/boot.rb +15 -0
- data/lib/moonwalkair/templates/config/build.yml +9 -0
- data/lib/moonwalkair/templates/config/config.yml +2 -0
- data/lib/moonwalkair/templates/config/update_config.xml +5 -0
- data/lib/moonwalkair/templates/descriptor.xml +122 -0
- data/lib/moonwalkair/templates/script/build +51 -0
- data/lib/moonwalkair/templates/script/certificate +26 -0
- data/lib/moonwalkair/templates/script/run +38 -0
- data/lib/moonwalkair.rb +15 -0
- data/moonwalkair.gemspec +108 -0
- data/spec/moonwalkair_spec.rb +7 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +9 -0
- metadata +127 -0
@@ -0,0 +1,233 @@
|
|
1
|
+
/* AIRAliases.js - Revision: 2.0beta */
|
2
|
+
|
3
|
+
/*
|
4
|
+
ADOBE SYSTEMS INCORPORATED
|
5
|
+
Copyright 2007-2008 Adobe Systems Incorporated. All Rights Reserved.
|
6
|
+
|
7
|
+
NOTICE: Adobe permits you to modify and distribute this file only in accordance with
|
8
|
+
the terms of Adobe AIR SDK license agreement. You may have received this file from a
|
9
|
+
source other than Adobe. Nonetheless, you may modify or
|
10
|
+
distribute this file only in accordance with such agreement.
|
11
|
+
*/
|
12
|
+
|
13
|
+
|
14
|
+
var air;
|
15
|
+
if (window.runtime)
|
16
|
+
{
|
17
|
+
if (!air) air = {};
|
18
|
+
// functions
|
19
|
+
air.trace = window.runtime.trace;
|
20
|
+
air.navigateToURL = window.runtime.flash.net.navigateToURL;
|
21
|
+
air.sendToURL = window.runtime.flash.net.sendToURL;
|
22
|
+
|
23
|
+
|
24
|
+
// file
|
25
|
+
air.File = window.runtime.flash.filesystem.File;
|
26
|
+
air.FileStream = window.runtime.flash.filesystem.FileStream;
|
27
|
+
air.FileMode = window.runtime.flash.filesystem.FileMode;
|
28
|
+
|
29
|
+
air.StorageVolumeInfo = window.runtime.flash.filesystem.StorageVolumeInfo;
|
30
|
+
|
31
|
+
// events
|
32
|
+
air.ActivityEvent = window.runtime.flash.events.ActivityEvent;
|
33
|
+
air.AsyncErrorEvent = window.runtime.flash.events.AsyncErrorEvent;
|
34
|
+
air.BrowserInvokeEvent = window.runtime.flash.events.BrowserInvokeEvent;
|
35
|
+
air.DataEvent = window.runtime.flash.events.DataEvent;
|
36
|
+
air.DRMAuthenticateEvent = window.runtime.flash.events.DRMAuthenticateEvent;
|
37
|
+
air.DRMStatusEvent = window.runtime.flash.events.DRMStatusEvent;
|
38
|
+
air.ErrorEvent = window.runtime.flash.events.ErrorEvent;
|
39
|
+
air.Event = window.runtime.flash.events.Event;
|
40
|
+
air.EventDispatcher = window.runtime.flash.events.EventDispatcher;
|
41
|
+
air.FileListEvent = window.runtime.flash.events.FileListEvent;
|
42
|
+
air.HTTPStatusEvent = window.runtime.flash.events.HTTPStatusEvent;
|
43
|
+
air.IOErrorEvent = window.runtime.flash.events.IOErrorEvent;
|
44
|
+
air.InvokeEvent = window.runtime.flash.events.InvokeEvent;
|
45
|
+
air.InvokeEventReason = window.runtime.flash.desktop.InvokeEventReason;
|
46
|
+
air.NetStatusEvent = window.runtime.flash.events.NetStatusEvent;
|
47
|
+
air.OutputProgressEvent = window.runtime.flash.events.OutputProgressEvent;
|
48
|
+
air.ProgressEvent = window.runtime.flash.events.ProgressEvent;
|
49
|
+
air.SecurityErrorEvent = window.runtime.flash.events.SecurityErrorEvent;
|
50
|
+
air.StatusEvent = window.runtime.flash.events.StatusEvent;
|
51
|
+
air.TimerEvent = window.runtime.flash.events.TimerEvent;
|
52
|
+
air.SampleDataEvent = window.runtime.flash.events.SampleDataEvent;
|
53
|
+
air.DatagramSocketDataEvent = window.runtime.flash.events.DatagramSocketDataEvent;
|
54
|
+
air.DNSResolverEvent = window.runtime.flash.events.DNSResolverEvent;
|
55
|
+
air.ServerSocketConnectEvent = window.runtime.flash.events.ServerSocketConnectEvent;
|
56
|
+
air.StorageVolumeChangeEvent = window.runtime.flash.events.StorageVolumeChangeEvent;
|
57
|
+
air.NativeProcessStartEvent = window.runtime.flash.events.NativeProcessStartEvent;
|
58
|
+
air.NativeProcessExitEvent = window.runtime.flash.events.NativeProcessExitEvent;
|
59
|
+
|
60
|
+
// native window
|
61
|
+
air.NativeWindow = window.runtime.flash.display.NativeWindow;
|
62
|
+
air.NativeWindowDisplayState = window.runtime.flash.display.NativeWindowDisplayState;
|
63
|
+
air.NativeWindowInitOptions = window.runtime.flash.display.NativeWindowInitOptions;
|
64
|
+
air.NativeWindowSystemChrome = window.runtime.flash.display.NativeWindowSystemChrome;
|
65
|
+
air.NativeWindowResize = window.runtime.flash.display.NativeWindowResize;
|
66
|
+
air.NativeWindowType = window.runtime.flash.display.NativeWindowType;
|
67
|
+
|
68
|
+
air.NativeWindowBoundsEvent = window.runtime.flash.events.NativeWindowBoundsEvent;
|
69
|
+
air.NativeWindowDisplayStateEvent = window.runtime.flash.events.NativeWindowDisplayStateEvent;
|
70
|
+
|
71
|
+
// geom
|
72
|
+
air.Point = window.runtime.flash.geom.Point;
|
73
|
+
air.Rectangle = window.runtime.flash.geom.Rectangle;
|
74
|
+
air.Matrix = window.runtime.flash.geom.Matrix;
|
75
|
+
|
76
|
+
// 3D
|
77
|
+
air.Matrix3D = window.runtime.flash.geom.Matrix3D;
|
78
|
+
air.Vector3D = window.runtime.flash.geom.Vector3D;
|
79
|
+
air.Orientation3D = window.runtime.flash.geom.Orientation3D;
|
80
|
+
air.Utils3D = window.runtime.flash.geom.Utils3D;
|
81
|
+
|
82
|
+
// Shader
|
83
|
+
air.Shader = window.runtime.flash.display.Shader;
|
84
|
+
air.ShaderFilter = window.runtime.flash.filters.ShaderFilter;
|
85
|
+
air.ShaderPrecision = window.runtime.flash.display.ShaderPrecision;
|
86
|
+
|
87
|
+
// net
|
88
|
+
air.FileFilter = window.runtime.flash.net.FileFilter;
|
89
|
+
|
90
|
+
air.LocalConnection = window.runtime.flash.net.LocalConnection;
|
91
|
+
air.NetConnection = window.runtime.flash.net.NetConnection;
|
92
|
+
|
93
|
+
air.URLLoader = window.runtime.flash.net.URLLoader;
|
94
|
+
air.URLLoaderDataFormat = window.runtime.flash.net.URLLoaderDataFormat;
|
95
|
+
air.URLRequest = window.runtime.flash.net.URLRequest;
|
96
|
+
air.URLRequestDefaults = window.runtime.flash.net.URLRequestDefaults;
|
97
|
+
air.URLRequestHeader = window.runtime.flash.net.URLRequestHeader;
|
98
|
+
air.URLRequestMethod = window.runtime.flash.net.URLRequestMethod;
|
99
|
+
air.URLStream = window.runtime.flash.net.URLStream;
|
100
|
+
air.URLVariables = window.runtime.flash.net.URLVariables;
|
101
|
+
air.Socket = window.runtime.flash.net.Socket;
|
102
|
+
air.XMLSocket = window.runtime.flash.net.XMLSocket;
|
103
|
+
|
104
|
+
air.Responder = window.runtime.flash.net.Responder;
|
105
|
+
air.ObjectEncoding = window.runtime.flash.net.ObjectEncoding;
|
106
|
+
|
107
|
+
air.NetStream = window.runtime.flash.net.NetStream;
|
108
|
+
air.NetStreamInfo = window.runtime.flash.net.NetStreamInfo;
|
109
|
+
air.NetStreamPlayOptions = window.runtime.flash.net.NetStreamPlayOptions;
|
110
|
+
air.NetStreamPlayTransitions = window.runtime.flash.net.NetStreamPlayTransitions;
|
111
|
+
air.SharedObject = window.runtime.flash.net.SharedObject;
|
112
|
+
air.SharedObjectFlushStatus = window.runtime.flash.net.SharedObjectFlushStatus;
|
113
|
+
|
114
|
+
air.DatagramSocket = window.runtime.flash.net.DatagramSocket;
|
115
|
+
air.NetworkInfo = window.runtime.flash.net.NetworkInfo;
|
116
|
+
air.ServerSocket = window.runtime.flash.net.ServerSocket;
|
117
|
+
air.IPVersion = window.runtime.flash.net.IPVersion;
|
118
|
+
|
119
|
+
air.DNSResolver = window.runtime.flash.net.dns.DNSResolver;
|
120
|
+
air.ARecord = window.runtime.flash.net.dns.ARecord;
|
121
|
+
air.AAAARecord = window.runtime.flash.net.dns.AAAARecord;
|
122
|
+
air.MXRecord = window.runtime.flash.net.dns.MXRecord;
|
123
|
+
air.PTRRecord = window.runtime.flash.net.dns.PTRRecord;
|
124
|
+
air.SRVRecord = window.runtime.flash.net.dns.SRVRecord;
|
125
|
+
|
126
|
+
// system
|
127
|
+
air.Capabilities = window.runtime.flash.system.Capabilities;
|
128
|
+
air.System = window.runtime.flash.system.System;
|
129
|
+
air.Security = window.runtime.flash.system.Security;
|
130
|
+
air.Updater = window.runtime.flash.desktop.Updater;
|
131
|
+
|
132
|
+
// desktop
|
133
|
+
air.Clipboard = window.runtime.flash.desktop.Clipboard;
|
134
|
+
air.ClipboardFormats = window.runtime.flash.desktop.ClipboardFormats;
|
135
|
+
air.ClipboardTransferMode = window.runtime.flash.desktop.ClipboardTransferMode;
|
136
|
+
|
137
|
+
air.NativeDragManager = window.runtime.flash.desktop.NativeDragManager;
|
138
|
+
air.NativeDragOptions = window.runtime.flash.desktop.NativeDragOptions;
|
139
|
+
air.NativeDragActions = window.runtime.flash.desktop.NativeDragActions;
|
140
|
+
|
141
|
+
air.Icon = window.runtime.flash.desktop.Icon;
|
142
|
+
air.DockIcon = window.runtime.flash.desktop.DockIcon;
|
143
|
+
air.InteractiveIcon = window.runtime.flash.desktop.InteractiveIcon;
|
144
|
+
air.NotificationType = window.runtime.flash.desktop.NotificationType;
|
145
|
+
air.SystemTrayIcon = window.runtime.flash.desktop.SystemTrayIcon;
|
146
|
+
|
147
|
+
air.NativeApplication = window.runtime.flash.desktop.NativeApplication;
|
148
|
+
|
149
|
+
air.NativeProcess = window.runtime.flash.desktop.NativeProcess;
|
150
|
+
air.NativeProcessStartupInfo = window.runtime.flash.desktop.NativeProcessStartupInfo;
|
151
|
+
air.URLFilePromise = window.runtime.flash.desktop.URLFilePromise;
|
152
|
+
|
153
|
+
// display
|
154
|
+
air.NativeMenu = window.runtime.flash.display.NativeMenu;
|
155
|
+
air.NativeMenuItem = window.runtime.flash.display.NativeMenuItem;
|
156
|
+
air.Screen = window.runtime.flash.display.Screen;
|
157
|
+
|
158
|
+
air.Loader = window.runtime.flash.display.Loader;
|
159
|
+
air.Bitmap = window.runtime.flash.display.Bitmap;
|
160
|
+
air.BitmapData = window.runtime.flash.display.BitmapData;
|
161
|
+
|
162
|
+
// ui
|
163
|
+
air.Keyboard = window.runtime.flash.ui.Keyboard;
|
164
|
+
air.KeyLocation = window.runtime.flash.ui.KeyLocation;
|
165
|
+
air.Mouse = window.runtime.flash.ui.Mouse;
|
166
|
+
|
167
|
+
|
168
|
+
//security
|
169
|
+
air.ReferencesValidationSetting = window.runtime.flash.security.ReferencesValidationSetting;
|
170
|
+
air.RevocationCheckSettings = window.runtime.flash.security.RevocationCheckSettings;
|
171
|
+
air.SignatureStatus = window.runtime.flash.security.SignatureStatus;
|
172
|
+
air.SignerTrustSettings = window.runtime.flash.security.SignerTrustSettings;
|
173
|
+
air.XMLSignatureValidator = window.runtime.flash.security.XMLSignatureValidator;
|
174
|
+
|
175
|
+
|
176
|
+
// utils
|
177
|
+
air.ByteArray = window.runtime.flash.utils.ByteArray;
|
178
|
+
air.CompressionAlgorithm = window.runtime.flash.utils.CompressionAlgorithm;
|
179
|
+
air.Endian = window.runtime.flash.utils.Endian;
|
180
|
+
air.Timer = window.runtime.flash.utils.Timer;
|
181
|
+
|
182
|
+
air.HTMLLoader = window.runtime.flash.html.HTMLLoader;
|
183
|
+
air.HTMLPDFCapability = window.runtime.flash.html.HTMLPDFCapability;
|
184
|
+
|
185
|
+
// media
|
186
|
+
air.ID3Info = window.runtime.flash.media.ID3Info;
|
187
|
+
air.Sound = window.runtime.flash.media.Sound;
|
188
|
+
air.SoundChannel = window.runtime.flash.media.SoundChannel;
|
189
|
+
air.SoundLoaderContext = window.runtime.flash.media.SoundLoaderContext;
|
190
|
+
air.SoundMixer = window.runtime.flash.media.SoundMixer;
|
191
|
+
air.SoundTransform = window.runtime.flash.media.SoundTransform;
|
192
|
+
air.Microphone = window.runtime.flash.media.Microphone;
|
193
|
+
air.Video = window.runtime.flash.media.Video;
|
194
|
+
air.Camera = window.runtime.flash.media.Camera;
|
195
|
+
air.SoundCodec = window.runtime.flash.media.SoundCodec;
|
196
|
+
|
197
|
+
// data
|
198
|
+
air.EncryptedLocalStore = window.runtime.flash.data.EncryptedLocalStore;
|
199
|
+
air.SQLCollationType = window.runtime.flash.data.SQLCollationType;
|
200
|
+
air.SQLColumnNameStyle = window.runtime.flash.data.SQLColumnNameStyle;
|
201
|
+
air.SQLColumnSchema = window.runtime.flash.data.SQLColumnSchema;
|
202
|
+
air.SQLConnection = window.runtime.flash.data.SQLConnection;
|
203
|
+
air.SQLError = window.runtime.flash.errors.SQLError;
|
204
|
+
air.SQLErrorEvent = window.runtime.flash.events.SQLErrorEvent;
|
205
|
+
air.SQLErrorOperation = window.runtime.flash.errors.SQLErrorOperation;
|
206
|
+
air.SQLEvent = window.runtime.flash.events.SQLEvent;
|
207
|
+
air.SQLIndexSchema = window.runtime.flash.data.SQLIndexSchema;
|
208
|
+
air.SQLMode = window.runtime.flash.data.SQLMode;
|
209
|
+
air.SQLResult = window.runtime.flash.data.SQLResult;
|
210
|
+
air.SQLSchema = window.runtime.flash.data.SQLSchema;
|
211
|
+
air.SQLSchemaResult = window.runtime.flash.data.SQLSchemaResult;
|
212
|
+
air.SQLStatement = window.runtime.flash.data.SQLStatement;
|
213
|
+
air.SQLTableSchema = window.runtime.flash.data.SQLTableSchema;
|
214
|
+
air.SQLTransactionLockType = window.runtime.flash.data.SQLTransactionLockType;
|
215
|
+
air.SQLTriggerSchema = window.runtime.flash.data.SQLTriggerSchema;
|
216
|
+
air.SQLUpdateEvent = window.runtime.flash.events.SQLUpdateEvent;
|
217
|
+
air.SQLViewSchema = window.runtime.flash.data.SQLViewSchema;
|
218
|
+
|
219
|
+
// service monitoring framework
|
220
|
+
air.__defineGetter__("ServiceMonitor", function() { return window.runtime.air.net.ServiceMonitor; })
|
221
|
+
air.__defineGetter__("SocketMonitor", function() { return window.runtime.air.net.SocketMonitor; })
|
222
|
+
air.__defineGetter__("URLMonitor", function() { return window.runtime.air.net.URLMonitor; })
|
223
|
+
|
224
|
+
// update framework
|
225
|
+
air.__defineGetter__("ApplicationUpdater", function() { return window.runtime.air.update.ApplicationUpdater; });
|
226
|
+
air.__defineGetter__("ApplicationUpdaterUI", function() { return window.runtime.air.update.ApplicationUpdaterUI; });
|
227
|
+
air.__defineGetter__("UpdateEvent", function() { return window.runtime.air.update.events.UpdateEvent; });
|
228
|
+
air.__defineGetter__("StatusUpdateEvent", function() { return window.runtime.air.update.events.StatusUpdateEvent; });
|
229
|
+
air.__defineGetter__("StatusUpdateErrorEvent", function() { return window.runtime.air.update.events.StatusUpdateErrorEvent; });
|
230
|
+
air.__defineGetter__("DownloadErrorEvent", function() { return window.runtime.air.update.events.DownloadErrorEvent; });
|
231
|
+
air.__defineGetter__("StatusFileUpdateEvent", function() { return window.runtime.air.update.events.StatusFileUpdateEvent; });
|
232
|
+
air.__defineGetter__("StatusFileUpdateErrorEvent", function() { return window.runtime.air.update.events.StatusFileUpdateErrorEvent; });
|
233
|
+
}
|