]> git.saurik.com Git - cydget.git/commitdiff
Renamed WebCycript subfolder to actually have web.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 3 Nov 2009 00:11:03 +0000 (00:11 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 3 Nov 2009 00:11:03 +0000 (00:11 +0000)
12 files changed:
cycript/CydgetCentral.plist [deleted file]
cycript/Info.plist [deleted file]
cycript/LockScreen.mm [deleted file]
cycript/control [deleted file]
cycript/make.sh [deleted file]
cycript/makefile [deleted file]
webcycript/CydgetCentral.plist [new file with mode: 0644]
webcycript/Info.plist [new file with mode: 0644]
webcycript/LockScreen.mm [new file with mode: 0644]
webcycript/control [new file with mode: 0644]
webcycript/make.sh [new file with mode: 0755]
webcycript/makefile [new file with mode: 0644]

diff --git a/cycript/CydgetCentral.plist b/cycript/CydgetCentral.plist
deleted file mode 100644 (file)
index c215f0c..0000000
+++ /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 (file)
index c4be864..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-        <key>CFBundleDevelopmentRegion</key>
-        <string>English</string>
-        <key>CFBundleExecutable</key>
-        <string>WebCycriptLockScreen</string>
-        <key>CFBundleIdentifier</key>
-        <string>com.saurik.WebCycriptLockScreen</string>
-        <key>CFBundleInfoDictionaryVersion</key>
-        <string>6.0</string>
-        <key>CFBundlePackageType</key>
-        <string>BNDL</string>
-        <key>CFBundleSignature</key>
-        <string>????</string>
-        <key>CFBundleVersion</key>
-        <string>1.0</string>
-        <key>DTPlatformName</key>
-        <string>iphoneos</string>
-        <key>MinimumOSVersion</key>
-        <string>2.1</string>
-        <key>NSPrincipalClass</key>
-        <string>WebCycriptLockScreenController</string>
-</dict>
-</plist>
diff --git a/cycript/LockScreen.mm b/cycript/LockScreen.mm
deleted file mode 100644 (file)
index e74e7d2..0000000
+++ /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 <substrate.h>
-
-#import <GraphicsServices/GraphicsServices.h>
-#import <UIKit/UIKit.h>
-#import <AddressBook/AddressBook.h>
-#import <SpringBoardUI/SBAwayViewPluginController.h>
-
-#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 (file)
index 5a255d7..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-Package: cydget-webcycript
-Priority: optional
-Section: Development
-Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
-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) <saurik@saurik.com>
-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 (executable)
index 6d212b3..0000000
+++ /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 (file)
index 09d4f33..0000000
+++ /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 (file)
index 0000000..c215f0c
--- /dev/null
@@ -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 (file)
index 0000000..c4be864
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+        <key>CFBundleDevelopmentRegion</key>
+        <string>English</string>
+        <key>CFBundleExecutable</key>
+        <string>WebCycriptLockScreen</string>
+        <key>CFBundleIdentifier</key>
+        <string>com.saurik.WebCycriptLockScreen</string>
+        <key>CFBundleInfoDictionaryVersion</key>
+        <string>6.0</string>
+        <key>CFBundlePackageType</key>
+        <string>BNDL</string>
+        <key>CFBundleSignature</key>
+        <string>????</string>
+        <key>CFBundleVersion</key>
+        <string>1.0</string>
+        <key>DTPlatformName</key>
+        <string>iphoneos</string>
+        <key>MinimumOSVersion</key>
+        <string>2.1</string>
+        <key>NSPrincipalClass</key>
+        <string>WebCycriptLockScreenController</string>
+</dict>
+</plist>
diff --git a/webcycript/LockScreen.mm b/webcycript/LockScreen.mm
new file mode 100644 (file)
index 0000000..e74e7d2
--- /dev/null
@@ -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 <substrate.h>
+
+#import <GraphicsServices/GraphicsServices.h>
+#import <UIKit/UIKit.h>
+#import <AddressBook/AddressBook.h>
+#import <SpringBoardUI/SBAwayViewPluginController.h>
+
+#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 (file)
index 0000000..5a255d7
--- /dev/null
@@ -0,0 +1,12 @@
+Package: cydget-webcycript
+Priority: optional
+Section: Development
+Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
+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) <saurik@saurik.com>
+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 (executable)
index 0000000..6d212b3
--- /dev/null
@@ -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 (file)
index 0000000..09d4f33
--- /dev/null
@@ -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