From: Jay Freeman (saurik) Date: Tue, 3 Nov 2009 00:11:03 +0000 (+0000) Subject: Renamed WebCycript subfolder to actually have web. X-Git-Tag: v0.9.4000~62 X-Git-Url: https://git.saurik.com/cydget.git/commitdiff_plain/e24c6a12cc83f88b47d24412aa90bdbfdd7a3736 Renamed WebCycript subfolder to actually have web. --- diff --git a/cycript/CydgetCentral.plist b/cycript/CydgetCentral.plist deleted file mode 100644 index c215f0c..0000000 --- a/cycript/CydgetCentral.plist +++ /dev/null @@ -1,4 +0,0 @@ -Plugin = "WebCycriptLockScreen"; -Configuration = { - Site = "http://www.cydget.org/central/"; -}; diff --git a/cycript/Info.plist b/cycript/Info.plist deleted file mode 100644 index c4be864..0000000 --- a/cycript/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - WebCycriptLockScreen - CFBundleIdentifier - com.saurik.WebCycriptLockScreen - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - BNDL - CFBundleSignature - ???? - CFBundleVersion - 1.0 - DTPlatformName - iphoneos - MinimumOSVersion - 2.1 - NSPrincipalClass - WebCycriptLockScreenController - - diff --git a/cycript/LockScreen.mm b/cycript/LockScreen.mm deleted file mode 100644 index e74e7d2..0000000 --- a/cycript/LockScreen.mm +++ /dev/null @@ -1,79 +0,0 @@ -/* CydgetScript - open-source IntelliDial replacement - * Copyright (C) 2009 Jay Freeman (saurik) -*/ - -/* - * Redistribution and use in source and binary - * forms, with or without modification, are permitted - * provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the - * above copyright notice, this list of conditions - * and the following disclaimer. - * 2. Redistributions in binary form must reproduce the - * above copyright notice, this list of conditions - * and the following disclaimer in the documentation - * and/or other materials provided with the - * distribution. - * 3. The name of the author may not be used to endorse - * or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#include - -#import -#import -#import -#import - -#define _transient -#define _forever for (;;) - -_disused static unsigned trace_; - -#define _trace() do { \ - NSLog(@"_trace(%u)@%s:%u[%s]\n", \ - trace_++, __FILE__, __LINE__, __FUNCTION__\ - ); \ -} while (false) - -@interface WebCydgetLockScreenView : UIView { -} - -@end - -@implementation WebCydgetLockScreenView -@end - -@interface WebCycriptLockScreenController : SBAwayViewPluginController { -} - -@end - -@implementation WebCycriptLockScreenController - -+ (id) rootViewController { - return [[[self alloc] init] autorelease]; -} - -- (void) loadView { - [self setView:[[[WebCydgetLockScreenView alloc] init] autorelease]]; -} - -@end diff --git a/cycript/control b/cycript/control deleted file mode 100644 index 5a255d7..0000000 --- a/cycript/control +++ /dev/null @@ -1,12 +0,0 @@ -Package: cydget-webcycript -Priority: optional -Section: Development -Maintainer: Jay Freeman (saurik) -Architecture: iphoneos-arm -Version: 0.9.3067-1 -Description: write LockCydgets using Cycript and HTML -Name: Cydget WebCycript -Depends: cydget, cycript -Author: Jay Freeman (saurik) -Depiction: http://cydia.saurik.com/info/cydget-webcycript/ -Tag: purpose::library, role::developer diff --git a/cycript/make.sh b/cycript/make.sh deleted file mode 100755 index 6d212b3..0000000 --- a/cycript/make.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -PKG_ARCH=iphoneos-arm /apl/tel/exec.sh - make package "$@" diff --git a/cycript/makefile b/cycript/makefile deleted file mode 100644 index 09d4f33..0000000 --- a/cycript/makefile +++ /dev/null @@ -1,8 +0,0 @@ -name := WebCycript -flags := -lcycript -L/dat/src/cycript -base := ../../tweaks -include ../LockScreen.mk - -extra: - mkdir -p package/System/Library/LockCydgets/CydgetCentral.cydget - cp -a CydgetCentral.plist package/System/Library/LockCydgets/CydgetCentral.cydget/Info.plist diff --git a/webcycript/CydgetCentral.plist b/webcycript/CydgetCentral.plist new file mode 100644 index 0000000..c215f0c --- /dev/null +++ b/webcycript/CydgetCentral.plist @@ -0,0 +1,4 @@ +Plugin = "WebCycriptLockScreen"; +Configuration = { + Site = "http://www.cydget.org/central/"; +}; diff --git a/webcycript/Info.plist b/webcycript/Info.plist new file mode 100644 index 0000000..c4be864 --- /dev/null +++ b/webcycript/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + WebCycriptLockScreen + CFBundleIdentifier + com.saurik.WebCycriptLockScreen + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + DTPlatformName + iphoneos + MinimumOSVersion + 2.1 + NSPrincipalClass + WebCycriptLockScreenController + + diff --git a/webcycript/LockScreen.mm b/webcycript/LockScreen.mm new file mode 100644 index 0000000..e74e7d2 --- /dev/null +++ b/webcycript/LockScreen.mm @@ -0,0 +1,79 @@ +/* CydgetScript - open-source IntelliDial replacement + * Copyright (C) 2009 Jay Freeman (saurik) +*/ + +/* + * Redistribution and use in source and binary + * forms, with or without modification, are permitted + * provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the + * above copyright notice, this list of conditions + * and the following disclaimer. + * 2. Redistributions in binary form must reproduce the + * above copyright notice, this list of conditions + * and the following disclaimer in the documentation + * and/or other materials provided with the + * distribution. + * 3. The name of the author may not be used to endorse + * or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include + +#import +#import +#import +#import + +#define _transient +#define _forever for (;;) + +_disused static unsigned trace_; + +#define _trace() do { \ + NSLog(@"_trace(%u)@%s:%u[%s]\n", \ + trace_++, __FILE__, __LINE__, __FUNCTION__\ + ); \ +} while (false) + +@interface WebCydgetLockScreenView : UIView { +} + +@end + +@implementation WebCydgetLockScreenView +@end + +@interface WebCycriptLockScreenController : SBAwayViewPluginController { +} + +@end + +@implementation WebCycriptLockScreenController + ++ (id) rootViewController { + return [[[self alloc] init] autorelease]; +} + +- (void) loadView { + [self setView:[[[WebCydgetLockScreenView alloc] init] autorelease]]; +} + +@end diff --git a/webcycript/control b/webcycript/control new file mode 100644 index 0000000..5a255d7 --- /dev/null +++ b/webcycript/control @@ -0,0 +1,12 @@ +Package: cydget-webcycript +Priority: optional +Section: Development +Maintainer: Jay Freeman (saurik) +Architecture: iphoneos-arm +Version: 0.9.3067-1 +Description: write LockCydgets using Cycript and HTML +Name: Cydget WebCycript +Depends: cydget, cycript +Author: Jay Freeman (saurik) +Depiction: http://cydia.saurik.com/info/cydget-webcycript/ +Tag: purpose::library, role::developer diff --git a/webcycript/make.sh b/webcycript/make.sh new file mode 100755 index 0000000..6d212b3 --- /dev/null +++ b/webcycript/make.sh @@ -0,0 +1,2 @@ +#!/bin/bash +PKG_ARCH=iphoneos-arm /apl/tel/exec.sh - make package "$@" diff --git a/webcycript/makefile b/webcycript/makefile new file mode 100644 index 0000000..09d4f33 --- /dev/null +++ b/webcycript/makefile @@ -0,0 +1,8 @@ +name := WebCycript +flags := -lcycript -L/dat/src/cycript +base := ../../tweaks +include ../LockScreen.mk + +extra: + mkdir -p package/System/Library/LockCydgets/CydgetCentral.cydget + cp -a CydgetCentral.plist package/System/Library/LockCydgets/CydgetCentral.cydget/Info.plist