From 68afcad06f9bb4b8c9bba21b5d4b074f3a1d5ded Mon Sep 17 00:00:00 2001 From: Sanjay Madan Date: Fri, 21 Aug 2009 17:22:48 -0700 Subject: [PATCH] Initial commit --- app.xml | 20 + assets/AIRAliases.js | 208 ++++ assets/ada.html | 11 + assets/app.html | 117 ++ assets/app.js | 1052 ++++++++++++++++++ assets/applicationupdater_ui.swf | Bin 0 -> 361906 bytes assets/jquery-1.3.2.min.js | 19 + assets/themes/ada/images/btnbubble.png | Bin 0 -> 2916 bytes assets/themes/ada/images/btnmenu.png | Bin 0 -> 2863 bytes assets/themes/ada/images/btnmin.png | Bin 0 -> 2833 bytes assets/themes/ada/images/btnplus.png | Bin 0 -> 2930 bytes assets/themes/ada/images/btnstargrey.png | Bin 0 -> 2933 bytes assets/themes/ada/images/btnstaryellow.png | Bin 0 -> 2920 bytes assets/themes/ada/images/btnx.png | Bin 0 -> 2898 bytes assets/themes/ada/images/gripper.png | Bin 0 -> 2832 bytes assets/themes/ada/images/loader.gif | Bin 0 -> 801 bytes assets/themes/ada/styles.css | 363 ++++++ assets/themes/bubs/images/btnbubble.png | Bin 0 -> 2916 bytes assets/themes/bubs/images/btnmenu.png | Bin 0 -> 3124 bytes assets/themes/bubs/images/btnmin.png | Bin 0 -> 3113 bytes assets/themes/bubs/images/btnplus.png | Bin 0 -> 2930 bytes assets/themes/bubs/images/btnstargrey.png | Bin 0 -> 2933 bytes assets/themes/bubs/images/btnstaryellow.png | Bin 0 -> 2920 bytes assets/themes/bubs/images/btnx.png | Bin 0 -> 3178 bytes assets/themes/bubs/images/gradient.png | Bin 0 -> 5298 bytes assets/themes/bubs/images/gripper.png | Bin 0 -> 2832 bytes assets/themes/bubs/images/loader.gif | Bin 0 -> 665 bytes assets/themes/bubs/styles.css | 338 ++++++ assets/themes/kona/images/btnbubble.png | Bin 0 -> 2927 bytes assets/themes/kona/images/btnmenu.png | Bin 0 -> 2976 bytes assets/themes/kona/images/btnmin.png | Bin 0 -> 2968 bytes assets/themes/kona/images/btnplus.png | Bin 0 -> 2928 bytes assets/themes/kona/images/btnstargrey.png | Bin 0 -> 2933 bytes assets/themes/kona/images/btnstaryellow.png | Bin 0 -> 2920 bytes assets/themes/kona/images/btnx.png | Bin 0 -> 3003 bytes assets/themes/kona/images/gripper.png | Bin 0 -> 2832 bytes assets/themes/kona/images/loader.gif | Bin 0 -> 772 bytes assets/themes/kona/styles.css | 337 ++++++ assets/themes/pinky/images/btnbubble.png | Bin 0 -> 2960 bytes assets/themes/pinky/images/btnmenu.png | Bin 0 -> 2844 bytes assets/themes/pinky/images/btnmin.png | Bin 0 -> 2825 bytes assets/themes/pinky/images/btnplus.png | Bin 0 -> 2949 bytes assets/themes/pinky/images/btnstargrey.png | Bin 0 -> 2868 bytes assets/themes/pinky/images/btnstaryellow.png | Bin 0 -> 2868 bytes assets/themes/pinky/images/btnx.png | Bin 0 -> 2861 bytes assets/themes/pinky/images/gripper.png | Bin 0 -> 2831 bytes assets/themes/pinky/images/loader.gif | Bin 0 -> 801 bytes assets/themes/pinky/styles.css | 339 ++++++ assets/utils.js | 166 +++ icons/icon128.png | Bin 0 -> 5446 bytes icons/icon16.png | Bin 0 -> 3052 bytes icons/icon32.png | Bin 0 -> 3455 bytes icons/icon48.png | Bin 0 -> 3746 bytes 53 files changed, 2970 insertions(+) create mode 100644 app.xml create mode 100644 assets/AIRAliases.js create mode 100644 assets/ada.html create mode 100644 assets/app.html create mode 100644 assets/app.js create mode 100644 assets/applicationupdater_ui.swf create mode 100644 assets/jquery-1.3.2.min.js create mode 100644 assets/themes/ada/images/btnbubble.png create mode 100644 assets/themes/ada/images/btnmenu.png create mode 100644 assets/themes/ada/images/btnmin.png create mode 100644 assets/themes/ada/images/btnplus.png create mode 100644 assets/themes/ada/images/btnstargrey.png create mode 100644 assets/themes/ada/images/btnstaryellow.png create mode 100644 assets/themes/ada/images/btnx.png create mode 100644 assets/themes/ada/images/gripper.png create mode 100644 assets/themes/ada/images/loader.gif create mode 100644 assets/themes/ada/styles.css create mode 100644 assets/themes/bubs/images/btnbubble.png create mode 100644 assets/themes/bubs/images/btnmenu.png create mode 100644 assets/themes/bubs/images/btnmin.png create mode 100644 assets/themes/bubs/images/btnplus.png create mode 100644 assets/themes/bubs/images/btnstargrey.png create mode 100644 assets/themes/bubs/images/btnstaryellow.png create mode 100644 assets/themes/bubs/images/btnx.png create mode 100644 assets/themes/bubs/images/gradient.png create mode 100644 assets/themes/bubs/images/gripper.png create mode 100644 assets/themes/bubs/images/loader.gif create mode 100644 assets/themes/bubs/styles.css create mode 100644 assets/themes/kona/images/btnbubble.png create mode 100644 assets/themes/kona/images/btnmenu.png create mode 100644 assets/themes/kona/images/btnmin.png create mode 100644 assets/themes/kona/images/btnplus.png create mode 100644 assets/themes/kona/images/btnstargrey.png create mode 100644 assets/themes/kona/images/btnstaryellow.png create mode 100644 assets/themes/kona/images/btnx.png create mode 100644 assets/themes/kona/images/gripper.png create mode 100644 assets/themes/kona/images/loader.gif create mode 100644 assets/themes/kona/styles.css create mode 100644 assets/themes/pinky/images/btnbubble.png create mode 100644 assets/themes/pinky/images/btnmenu.png create mode 100644 assets/themes/pinky/images/btnmin.png create mode 100644 assets/themes/pinky/images/btnplus.png create mode 100644 assets/themes/pinky/images/btnstargrey.png create mode 100644 assets/themes/pinky/images/btnstaryellow.png create mode 100644 assets/themes/pinky/images/btnx.png create mode 100644 assets/themes/pinky/images/gripper.png create mode 100644 assets/themes/pinky/images/loader.gif create mode 100644 assets/themes/pinky/styles.css create mode 100644 assets/utils.js create mode 100644 icons/icon128.png create mode 100644 icons/icon16.png create mode 100644 icons/icon32.png create mode 100644 icons/icon48.png diff --git a/app.xml b/app.xml new file mode 100644 index 0000000..e4e5bb5 --- /dev/null +++ b/app.xml @@ -0,0 +1,20 @@ + + + org.madan.air.ada + 1.24 + ada + + assets/ada.html + false + none + true + + + + /icons/icon16.png + /icons/icon32.png + /icons/icon48.png + /icons/icon128.png + + + \ No newline at end of file diff --git a/assets/AIRAliases.js b/assets/AIRAliases.js new file mode 100644 index 0000000..c88ebaf --- /dev/null +++ b/assets/AIRAliases.js @@ -0,0 +1,208 @@ +/* AIRAliases.js - Revision: 1.5 */ + +/* +ADOBE SYSTEMS INCORPORATED +Copyright 2007-2008 Adobe Systems Incorporated. All Rights Reserved. + +NOTICE: Adobe permits you to modify and distribute this file only in accordance with +the terms of Adobe AIR SDK license agreement. You may have received this file from a +source other than Adobe. Nonetheless, you may modify or +distribute this file only in accordance with such agreement. +*/ + + +var air; +if (window.runtime) +{ + if (!air) air = {}; + // functions + air.trace = window.runtime.trace; + air.navigateToURL = window.runtime.flash.net.navigateToURL; + air.sendToURL = window.runtime.flash.net.sendToURL; + + + // file + air.File = window.runtime.flash.filesystem.File; + air.FileStream = window.runtime.flash.filesystem.FileStream; + air.FileMode = window.runtime.flash.filesystem.FileMode; + + // events + air.ActivityEvent = window.runtime.flash.events.ActivityEvent; + air.AsyncErrorEvent = window.runtime.flash.events.AsyncErrorEvent; + air.BrowserInvokeEvent = window.runtime.flash.events.BrowserInvokeEvent; + air.DataEvent = window.runtime.flash.events.DataEvent; + air.DRMAuthenticateEvent = window.runtime.flash.events.DRMAuthenticateEvent; + air.DRMStatusEvent = window.runtime.flash.events.DRMStatusEvent; + air.ErrorEvent = window.runtime.flash.events.ErrorEvent; + air.Event = window.runtime.flash.events.Event; + air.EventDispatcher = window.runtime.flash.events.EventDispatcher; + air.FileListEvent = window.runtime.flash.events.FileListEvent; + air.HTTPStatusEvent = window.runtime.flash.events.HTTPStatusEvent; + air.IOErrorEvent = window.runtime.flash.events.IOErrorEvent; + air.InvokeEvent = window.runtime.flash.events.InvokeEvent; + air.NetStatusEvent = window.runtime.flash.events.NetStatusEvent; + air.OutputProgressEvent = window.runtime.flash.events.OutputProgressEvent; + air.ProgressEvent = window.runtime.flash.events.ProgressEvent; + air.SecurityErrorEvent = window.runtime.flash.events.SecurityErrorEvent; + air.StatusEvent = window.runtime.flash.events.StatusEvent; + air.TimerEvent = window.runtime.flash.events.TimerEvent; + air.SampleDataEvent = window.runtime.flash.events.SampleDataEvent; + + // native window + air.NativeWindow = window.runtime.flash.display.NativeWindow; + air.NativeWindowDisplayState = window.runtime.flash.display.NativeWindowDisplayState; + air.NativeWindowInitOptions = window.runtime.flash.display.NativeWindowInitOptions; + air.NativeWindowSystemChrome = window.runtime.flash.display.NativeWindowSystemChrome; + air.NativeWindowResize = window.runtime.flash.display.NativeWindowResize; + air.NativeWindowType = window.runtime.flash.display.NativeWindowType; + + air.NativeWindowBoundsEvent = window.runtime.flash.events.NativeWindowBoundsEvent; + air.NativeWindowDisplayStateEvent = window.runtime.flash.events.NativeWindowDisplayStateEvent; + + // geom + air.Point = window.runtime.flash.geom.Point; + air.Rectangle = window.runtime.flash.geom.Rectangle; + air.Matrix = window.runtime.flash.geom.Matrix; + + // 3D + air.Matrix3D = window.runtime.flash.geom.Matrix3D; + air.Vector3D = window.runtime.flash.geom.Vector3D; + air.Orientation3D = window.runtime.flash.geom.Orientation3D; + air.Utils3D = window.runtime.flash.geom.Utils3D; + + // Shader + air.Shader = window.runtime.flash.display.Shader; + air.ShaderFilter = window.runtime.flash.filters.ShaderFilter; + air.ShaderPrecision = window.runtime.flash.display.ShaderPrecision; + + // net + air.FileFilter = window.runtime.flash.net.FileFilter; + + air.LocalConnection = window.runtime.flash.net.LocalConnection; + air.NetConnection = window.runtime.flash.net.NetConnection; + + air.URLLoader = window.runtime.flash.net.URLLoader; + air.URLLoaderDataFormat = window.runtime.flash.net.URLLoaderDataFormat; + air.URLRequest = window.runtime.flash.net.URLRequest; + air.URLRequestDefaults = window.runtime.flash.net.URLRequestDefaults; + air.URLRequestHeader = window.runtime.flash.net.URLRequestHeader; + air.URLRequestMethod = window.runtime.flash.net.URLRequestMethod; + air.URLStream = window.runtime.flash.net.URLStream; + air.URLVariables = window.runtime.flash.net.URLVariables; + air.Socket = window.runtime.flash.net.Socket; + air.XMLSocket = window.runtime.flash.net.XMLSocket; + + air.Responder = window.runtime.flash.net.Responder; + air.ObjectEncoding = window.runtime.flash.net.ObjectEncoding; + + air.NetStream = window.runtime.flash.net.NetStream; + air.NetStreamInfo = window.runtime.flash.net.NetStreamInfo; + air.NetStreamPlayOptions = window.runtime.flash.net.NetStreamPlayOptions; + air.NetStreamPlayTransitions = window.runtime.flash.net.NetStreamPlayTransitions; + air.SharedObject = window.runtime.flash.net.SharedObject; + air.SharedObjectFlushStatus = window.runtime.flash.net.SharedObjectFlushStatus; + + // system + air.Capabilities = window.runtime.flash.system.Capabilities; + air.System = window.runtime.flash.system.System; + air.Security = window.runtime.flash.system.Security; + air.Updater = window.runtime.flash.desktop.Updater; + + // desktop + air.Clipboard = window.runtime.flash.desktop.Clipboard; + air.ClipboardFormats = window.runtime.flash.desktop.ClipboardFormats; + air.ClipboardTransferMode = window.runtime.flash.desktop.ClipboardTransferMode; + + air.NativeDragManager = window.runtime.flash.desktop.NativeDragManager; + air.NativeDragOptions = window.runtime.flash.desktop.NativeDragOptions; + air.NativeDragActions = window.runtime.flash.desktop.NativeDragActions; + + air.Icon = window.runtime.flash.desktop.Icon; + air.DockIcon = window.runtime.flash.desktop.DockIcon; + air.InteractiveIcon = window.runtime.flash.desktop.InteractiveIcon; + air.NotificationType = window.runtime.flash.desktop.NotificationType; + air.SystemTrayIcon = window.runtime.flash.desktop.SystemTrayIcon; + + air.NativeApplication = window.runtime.flash.desktop.NativeApplication; + + // display + air.NativeMenu = window.runtime.flash.display.NativeMenu; + air.NativeMenuItem = window.runtime.flash.display.NativeMenuItem; + air.Screen = window.runtime.flash.display.Screen; + + air.Loader = window.runtime.flash.display.Loader; + air.Bitmap = window.runtime.flash.display.Bitmap; + air.BitmapData = window.runtime.flash.display.BitmapData; + + // ui + air.Keyboard = window.runtime.flash.ui.Keyboard; + air.KeyLocation = window.runtime.flash.ui.KeyLocation; + air.Mouse = window.runtime.flash.ui.Mouse; + + + //security + air.ReferencesValidationSetting = window.runtime.flash.security.ReferencesValidationSetting; + air.RevocationCheckSettings = window.runtime.flash.security.RevocationCheckSettings; + air.SignatureStatus = window.runtime.flash.security.SignatureStatus; + air.SignerTrustSettings = window.runtime.flash.security.SignerTrustSettings; + air.XMLSignatureValidator = window.runtime.flash.security.XMLSignatureValidator; + + + // utils + air.ByteArray = window.runtime.flash.utils.ByteArray; + air.CompressionAlgorithm = window.runtime.flash.utils.CompressionAlgorithm; + air.Endian = window.runtime.flash.utils.Endian; + air.Timer = window.runtime.flash.utils.Timer; + + air.HTMLLoader = window.runtime.flash.html.HTMLLoader; + air.HTMLPDFCapability = window.runtime.flash.html.HTMLPDFCapability; + + // media + air.ID3Info = window.runtime.flash.media.ID3Info; + air.Sound = window.runtime.flash.media.Sound; + air.SoundChannel = window.runtime.flash.media.SoundChannel; + air.SoundLoaderContext = window.runtime.flash.media.SoundLoaderContext; + air.SoundMixer = window.runtime.flash.media.SoundMixer; + air.SoundTransform = window.runtime.flash.media.SoundTransform; + air.Microphone = window.runtime.flash.media.Microphone; + air.Video = window.runtime.flash.media.Video; + air.Camera = window.runtime.flash.media.Camera; + air.SoundCodec = window.runtime.flash.media.SoundCodec; + + // data + air.EncryptedLocalStore = window.runtime.flash.data.EncryptedLocalStore; + air.SQLCollationType = window.runtime.flash.data.SQLCollationType; + air.SQLColumnNameStyle = window.runtime.flash.data.SQLColumnNameStyle; + air.SQLColumnSchema = window.runtime.flash.data.SQLColumnSchema; + air.SQLConnection = window.runtime.flash.data.SQLConnection; + air.SQLError = window.runtime.flash.errors.SQLError; + air.SQLErrorEvent = window.runtime.flash.events.SQLErrorEvent; + air.SQLErrorOperation = window.runtime.flash.errors.SQLErrorOperation; + air.SQLEvent = window.runtime.flash.events.SQLEvent; + air.SQLIndexSchema = window.runtime.flash.data.SQLIndexSchema; + air.SQLMode = window.runtime.flash.data.SQLMode; + air.SQLResult = window.runtime.flash.data.SQLResult; + air.SQLSchema = window.runtime.flash.data.SQLSchema; + air.SQLSchemaResult = window.runtime.flash.data.SQLSchemaResult; + air.SQLStatement = window.runtime.flash.data.SQLStatement; + air.SQLTableSchema = window.runtime.flash.data.SQLTableSchema; + air.SQLTransactionLockType = window.runtime.flash.data.SQLTransactionLockType; + air.SQLTriggerSchema = window.runtime.flash.data.SQLTriggerSchema; + air.SQLUpdateEvent = window.runtime.flash.events.SQLUpdateEvent; + air.SQLViewSchema = window.runtime.flash.data.SQLViewSchema; + + // service monitoring framework + air.__defineGetter__("ServiceMonitor", function() { return window.runtime.air.net.ServiceMonitor; }) + air.__defineGetter__("SocketMonitor", function() { return window.runtime.air.net.SocketMonitor; }) + air.__defineGetter__("URLMonitor", function() { return window.runtime.air.net.URLMonitor; }) + + // update framework + air.__defineGetter__("ApplicationUpdater", function() { return window.runtime.air.update.ApplicationUpdater; }); + air.__defineGetter__("ApplicationUpdaterUI", function() { return window.runtime.air.update.ApplicationUpdaterUI; }); + air.__defineGetter__("UpdateEvent", function() { return window.runtime.air.update.events.UpdateEvent; }); + air.__defineGetter__("StatusUpdateEvent", function() { return window.runtime.air.update.events.StatusUpdateEvent; }); + air.__defineGetter__("StatusUpdateErrorEvent", function() { return window.runtime.air.update.events.StatusUpdateErrorEvent; }); + air.__defineGetter__("DownloadErrorEvent", function() { return window.runtime.air.update.events.DownloadErrorEvent; }); + air.__defineGetter__("StatusFileUpdateEvent", function() { return window.runtime.air.update.events.StatusFileUpdateEvent; }); + air.__defineGetter__("StatusFileUpdateErrorEvent", function() { return window.runtime.air.update.events.StatusFileUpdateErrorEvent; }); +} \ No newline at end of file diff --git a/assets/ada.html b/assets/ada.html new file mode 100644 index 0000000..12c8513 --- /dev/null +++ b/assets/ada.html @@ -0,0 +1,11 @@ + + +Ada + + + + + diff --git a/assets/app.html b/assets/app.html new file mode 100644 index 0000000..7b63277 --- /dev/null +++ b/assets/app.html @@ -0,0 +1,117 @@ + + + +