]> git.saurik.com Git - cycript.git/commitdiff
Fixed control generation, Cycript.all namespace, and MobileSubstrate version dependency.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 8 Nov 2009 10:29:35 +0000 (10:29 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 8 Nov 2009 10:29:35 +0000 (10:29 +0000)
Bridge.def
Console.cpp
Darwin-arm.mk
makefile

index 8030f8ffbca5f649a8c4abab93300dba5932e34a..6f7ff498da78cc5250d2a9379c9224197b620193 100644 (file)
@@ -1396,6 +1396,71 @@ C MKPinAnnotationColorPurple 2
 F MKCoordinateRegionMakeWithDistance {MKCoordinateRegion}{CLLocationCoordinate2D}{CLLocationDistance}{CLLocationDistance}
 # MKCoordinateSpanMake
 
+f MobileWiFi
+
+#F WiFiManagerClientAddNetwork
+#F WiFiManagerClientCopyDevices
+#F WiFiManagerClientCopyNetworks
+#F WiFiManagerClientCopyProperty
+#F WiFiManagerClientCreate
+#F WiFiManagerClientDisable
+#F WiFiManagerClientDisableNetwork
+#F WiFiManagerClientDispatchNotificationResponse
+#F WiFiManagerClientEnable
+#F WiFiManagerClientEnableNetwork
+#F WiFiManagerClientGetAssociationMode
+#F WiFiManagerClientGetDevice
+#F WiFiManagerClientGetType
+#F WiFiManagerClientGetTypeID
+#F WiFiManagerClientIsNetworkEnabled
+#F WiFiManagerClientRegisterNotificationCallback
+#F WiFiManagerClientRemoveNetwork
+#F WiFiManagerClientScheduleWithRunLoop
+#F WiFiManagerClientSetAssociationMode
+#F WiFiManagerClientSetPower
+#F WiFiManagerClientSetProperty
+#F WiFiManagerClientSetType
+#F WiFiManagerClientUnscheduleFromRunLoop
+#F WiFiManagerClientUpdateNetwork
+
+F WiFiNetworkComparePriority B@@
+#F WiFiNetworkCopyFilteredRecord
+F WiFiNetworkCopyPassword @@
+#F WiFiNetworkCopyPreparedEAPProfile
+#F WiFiNetworkCopyRecord
+#F WiFiNetworkCreate
+#F WiFiNetworkCreateCopy
+F WiFiNetworkGetAssociationDate @@
+#F WiFiNetworkGetAuthFlags
+#F WiFiNetworkGetDirectedState
+#F WiFiNetworkGetFloatProperty
+#F WiFiNetworkGetIntProperty
+#F WiFiNetworkGetProperty
+#F WiFiNetworkGetRateBounds
+F WiFiNetworkGetSSID @@
+F WiFiNetworkGetSSIDData @@
+F WiFiNetworkGetTypeID {CFTypeID}
+F WiFiNetworkIsEAP B@
+F WiFiNetworkIsEnabled B@
+F WiFiNetworkIsHidden B@
+F WiFiNetworkIsHiddenSSID B@
+F WiFiNetworkIsWEP B@
+F WiFiNetworkIsWPA B@
+#F WiFiNetworkMerge
+#F WiFiNetworkMergeForAssociation
+#F WiFiNetworkMergeProperties
+F WiFiNetworkRemovePassword v@
+F WiFiNetworkRequiresIdentity B@
+F WiFiNetworkRequiresOneTimePassword B@
+F WiFiNetworkRequiresPassword B@
+F WiFiNetworkRequiresUsername B@
+F WiFiNetworkSetAssociationDate v@@
+#F WiFiNetworkSetDirectedState
+#F WiFiNetworkSetFloatProperty
+#F WiFiNetworkSetIntProperty
+F WiFiNetworkSetPassword v@@
+#F WiFiNetworkSetProperty
+
 C RTLD_LAZY 0x1
 C RTLD_NOW 0x2
 C RTLD_LOCAL 0x4
index 1ba72eaea2d9a4dee2c887cfd779269a0da8158f..fad7dda7d9633d7f22a7d72f80c86d36fb325f05 100644 (file)
@@ -601,7 +601,7 @@ int Main(int argc, char const * const argv[], char const * const envp[]) {
             if (client != -1) {
                 std::string code(start, end-start);
                 code = "with(Cycript.all){" + code + "}";
-                Run(client, start, end - start, stdout);
+                Run(client, code, stdout);
             } else {
                 std::ostringstream str;
                 CYOutput out(str);
index bf62c96b421aee85eaab26be610eab6bb8b75a28..b02b2445cf16a04823d3c1f4f0969e68903cc224 100644 (file)
@@ -19,5 +19,6 @@ cyrver: Server.o
        $(ldid) $@
 
 extra:
+       sed -i -e '/^Depends: / s/\<mobilesubstrate\>/mobilesubstrate (>= 0.9.3072)/g' package/DEBIAN/control
        #mkdir -p package/System/Library/LaunchDaemons
        #cp -pR com.saurik.Cyrver.plist package/System/Library/LaunchDaemons
index 4240e51a136e377df3d6c4c5cd5b8c125bb85b3a..486c4481c26892e0cfa1cf8127342fe831df5891 100644 (file)
--- a/makefile
+++ b/makefile
@@ -104,7 +104,7 @@ libcycript.db: Bridge.def
            grep '^[CFV]' Bridge.def | sed -e 's/^C/0/;s/^F/1/;s/^V/2/' | sed -e 's/"/\\"/g;s/^\([^ ]*\) \([^ ]*\) \(.*\)$$/insert into "bridge" ("mode", "name", "value") values (\1, '"'"'\2'"'"', '"'"'\3'"'"');/'; \
            grep '^:' Bridge.def | sed -e 's/^: \([^ ]*\) \(.*\)/insert into "bridge" ("mode", "name", "value") values (-1, '"'"'\1'"'"', '"'"'\2'"'"');/'; \
            grep '^[EST]' Bridge.def | sed -e 's/^S/3/;s/^T/4/;s/^E/5/' | sed -e 's/^5\(.*\)$$/4\1 i/' | sed -e 's/^\([^ ]*\) \([^ ]*\) \(.*\)$$/insert into "bridge" ("mode", "name", "value") values (\1, '"'"'\2'"'"', '"'"'\3'"'"');/'; \
-       } | sqlite3 libcycript.db
+       } | tee libcycript.sql | sqlite3 libcycript.db
 
 %.y: %.y.in
        ./Filter.sh <$< >$@ $(filters)
@@ -148,4 +148,4 @@ test: $(deb)
        dpkg -i $(deb)
        cycript test.cy
 
-.PHONY: all clean extra package
+.PHONY: all clean extra package control