]> git.saurik.com Git - cycript.git/log
cycript.git
10 years agoDo not use FFI to sel_registerName for [] syntax.
Jay Freeman (saurik) [Wed, 29 Jan 2014 17:30:21 +0000 (09:30 -0800)] 
Do not use FFI to sel_registerName for [] syntax.

10 years agoGeneralize and centralize cpr flag conflict check.
Jay Freeman (saurik) [Wed, 29 Jan 2014 17:24:38 +0000 (09:24 -0800)] 
Generalize and centralize cpr flag conflict check.

10 years agoUse apr_getopt_long instead of simply apr_getopt.
Jay Freeman (saurik) [Wed, 29 Jan 2014 16:58:15 +0000 (08:58 -0800)] 
Use apr_getopt_long instead of simply apr_getopt.

10 years agoLet's reserve # entirely for the pre-processor.
Jay Freeman (saurik) [Wed, 29 Jan 2014 16:53:25 +0000 (08:53 -0800)] 
Let's reserve # entirely for the pre-processor.

10 years agoActually, non-terminal attachment now works fine.
Jay Freeman (saurik) [Wed, 29 Jan 2014 16:52:52 +0000 (08:52 -0800)] 
Actually, non-terminal attachment now works fine.

10 years agoCorrect (and complete) implementation of bash $0. v0.9.501
Jay Freeman (saurik) [Wed, 29 Jan 2014 07:25:26 +0000 (23:25 -0800)] 
Correct (and complete) implementation of bash $0.

10 years agoRemove all Objective-C selector bridge definitions.
Jay Freeman (saurik) [Wed, 29 Jan 2014 01:49:03 +0000 (17:49 -0800)] 
Remove all Objective-C selector bridge definitions.

10 years agoRemove some trailing whitespace from Bridge.def.
Jay Freeman (saurik) [Tue, 28 Jan 2014 21:22:54 +0000 (13:22 -0800)] 
Remove some trailing whitespace from Bridge.def.

10 years agoAdd Security framework definitions to Bridge.def.
Jay Freeman (saurik) [Tue, 28 Jan 2014 21:22:42 +0000 (13:22 -0800)] 
Add Security framework definitions to Bridge.def.

10 years agoMake cycript wrapper script detect its directory.
Jay Freeman (saurik) [Tue, 28 Jan 2014 21:21:21 +0000 (13:21 -0800)] 
Make cycript wrapper script detect its directory.

10 years agoAttempt to load a framework when no module found.
Jay Freeman (saurik) [Sun, 26 Jan 2014 22:12:18 +0000 (14:12 -0800)] 
Attempt to load a framework when no module found.

10 years agoDo not cache modules if the module doesn't exist.
Jay Freeman (saurik) [Sun, 26 Jan 2014 22:04:37 +0000 (14:04 -0800)] 
Do not cache modules if the module doesn't exist.

10 years agoAllow errno exceptions to _syscall()'s _assert().
Jay Freeman (saurik) [Sun, 26 Jan 2014 21:54:07 +0000 (13:54 -0800)] 
Allow errno exceptions to _syscall()'s _assert().

10 years agoCYPoolCode should simply take an std::istream &.
Jay Freeman (saurik) [Sun, 26 Jan 2014 21:53:26 +0000 (13:53 -0800)] 
CYPoolCode should simply take an std::istream &.

10 years agoRecursive CommonJS modules didn't actually work.
Jay Freeman (saurik) [Sun, 26 Jan 2014 21:51:51 +0000 (13:51 -0800)] 
Recursive CommonJS modules didn't actually work.

10 years agoFix support for passing blocks as FFI arguments.
Jay Freeman (saurik) [Sun, 26 Jan 2014 21:23:17 +0000 (13:23 -0800)] 
Fix support for passing blocks as FFI arguments.

10 years agoAdd hasProperty for All and ObjectiveC::Classes.
Jay Freeman (saurik) [Sun, 26 Jan 2014 16:59:33 +0000 (08:59 -0800)] 
Add hasProperty for All and ObjectiveC::Classes.

10 years agoDo not use isKindOfClass: to check for NSBlock.
Jay Freeman (saurik) [Sun, 26 Jan 2014 16:36:38 +0000 (08:36 -0800)] 
Do not use isKindOfClass: to check for NSBlock.

10 years agoAs FunctionInstance is different, it must be last.
Jay Freeman (saurik) [Sun, 26 Jan 2014 16:25:12 +0000 (08:25 -0800)] 
As FunctionInstance is different, it must be last.

10 years agoSupport choose()ing "LARGE" Objective-C classes.
Jay Freeman (saurik) [Sat, 25 Jan 2014 23:19:48 +0000 (15:19 -0800)] 
Support choose()ing "LARGE" Objective-C classes.

10 years agoSupport .type on NSBlock to get their signature.
Jay Freeman (saurik) [Fri, 24 Jan 2014 16:35:21 +0000 (08:35 -0800)] 
Support .type on NSBlock to get their signature.

10 years agoOnly NSBlock should be a "function", not NSObject.
Jay Freeman (saurik) [Fri, 24 Jan 2014 16:30:35 +0000 (08:30 -0800)] 
Only NSBlock should be a "function", not NSObject.

10 years agoSplit CYBlockEncoding out for NSBlock.type usage.
Jay Freeman (saurik) [Fri, 24 Jan 2014 16:25:26 +0000 (08:25 -0800)] 
Split CYBlockEncoding out for NSBlock.type usage.

10 years agoUnknown block arguments can decode to NSBlock *.
Jay Freeman (saurik) [Fri, 24 Jan 2014 16:16:26 +0000 (08:16 -0800)] 
Unknown block arguments can decode to NSBlock *.

10 years agoDe-CYNext CYExpression, fix CYCompound/Primitive.
Jay Freeman (saurik) [Thu, 23 Jan 2014 21:55:47 +0000 (13:55 -0800)] 
De-CYNext CYExpression, fix CYCompound/Primitive.

10 years agoTab-completer accidentally overwrote name variable.
Jay Freeman (saurik) [Thu, 23 Jan 2014 21:17:18 +0000 (13:17 -0800)] 
Tab-completer accidentally overwrote name variable.

10 years agoSetting to .messages should only affect that Class.
Jay Freeman (saurik) [Thu, 23 Jan 2014 20:41:10 +0000 (12:41 -0800)] 
Setting to .messages should only affect that Class.

10 years agoActually add the modules (kind of important ;P). v0.9.500
Jay Freeman (saurik) [Tue, 21 Jan 2014 23:14:36 +0000 (15:14 -0800)] 
Actually add the modules (kind of important ;P).

10 years agoOnly .gitignore "cycript" if at the top-level.
Jay Freeman (saurik) [Tue, 21 Jan 2014 23:14:33 +0000 (15:14 -0800)] 
Only .gitignore "cycript" if at the top-level.

10 years agoMove lib/cycript to cycript0.9 to free up cycript.
Jay Freeman (saurik) [Tue, 21 Jan 2014 22:54:15 +0000 (14:54 -0800)] 
Move lib/cycript to cycript0.9 to free up cycript.

10 years agoThe cycript wrapper script should use Cycript.lib.
Jay Freeman (saurik) [Tue, 21 Jan 2014 22:46:31 +0000 (14:46 -0800)] 
The cycript wrapper script should use Cycript.lib.

10 years agoRename Cycript_ directory to friendly Cycript.lib.
Jay Freeman (saurik) [Tue, 21 Jan 2014 22:24:57 +0000 (14:24 -0800)] 
Rename Cycript_ directory to friendly Cycript.lib.

10 years agoThe field order in an Objective-C class matters.
Jay Freeman (saurik) [Tue, 21 Jan 2014 19:22:00 +0000 (11:22 -0800)] 
The field order in an Objective-C class matters.

10 years agoObjective-C class fields must be TypeIdentifiers.
Jay Freeman (saurik) [Tue, 21 Jan 2014 19:20:33 +0000 (11:20 -0800)] 
Objective-C class fields must be TypeIdentifiers.

10 years agoAllow usage of .type on objects of type Message.
Jay Freeman (saurik) [Tue, 21 Jan 2014 19:13:21 +0000 (11:13 -0800)] 
Allow usage of .type on objects of type Message.

10 years agoDo not ever use NULL type_s, even for ? encoding.
Jay Freeman (saurik) [Tue, 21 Jan 2014 18:29:22 +0000 (10:29 -0800)] 
Do not ever use NULL type_s, even for ? encoding.

10 years agoRemove CYRunSetups (this feature is broken now).
Jay Freeman (saurik) [Tue, 21 Jan 2014 17:32:28 +0000 (09:32 -0800)] 
Remove CYRunSetups (this feature is broken now).

10 years agoBridge NSNumber/NSCFBoolean to JS Number/Boolean.
Jay Freeman (saurik) [Tue, 21 Jan 2014 17:31:58 +0000 (09:31 -0800)] 
Bridge NSNumber/NSCFBoolean to JS Number/Boolean.

10 years agoFix pointer crashes and round-trip const void *.
Jay Freeman (saurik) [Tue, 21 Jan 2014 15:24:59 +0000 (07:24 -0800)] 
Fix pointer crashes and round-trip const void *.

10 years agoFix crash when trying to use specifier without int.
Jay Freeman (saurik) [Tue, 21 Jan 2014 15:24:22 +0000 (07:24 -0800)] 
Fix crash when trying to use specifier without int.

10 years agoSyntax highlight "unsigned" and "signed" as Type.
Jay Freeman (saurik) [Tue, 21 Jan 2014 14:10:21 +0000 (06:10 -0800)] 
Syntax highlight "unsigned" and "signed" as Type.

10 years agoReplace AtEncode in grammar with "@encode" token.
Jay Freeman (saurik) [Tue, 21 Jan 2014 13:53:59 +0000 (05:53 -0800)] 
Replace AtEncode in grammar with "@encode" token.

10 years agoImplement full unsigned/signed/long/short syntax.
Jay Freeman (saurik) [Tue, 21 Jan 2014 13:53:40 +0000 (05:53 -0800)] 
Implement full unsigned/signed/long/short syntax.

10 years agoImplement internal multiply (for the compiler).
Jay Freeman (saurik) [Tue, 21 Jan 2014 11:35:43 +0000 (03:35 -0800)] 
Implement internal multiply (for the compiler).

10 years agoProvide some kind of feedback while running ?gc.
Jay Freeman (saurik) [Tue, 21 Jan 2014 11:35:29 +0000 (03:35 -0800)] 
Provide some kind of feedback while running ?gc.

10 years agoAdd ?exit command to help people exit the console.
Jay Freeman (saurik) [Tue, 21 Jan 2014 11:35:09 +0000 (03:35 -0800)] 
Add ?exit command to help people exit the console.

10 years agoAdd actual syntax that desugars to new Instance().
Jay Freeman (saurik) [Mon, 20 Jan 2014 16:53:24 +0000 (08:53 -0800)] 
Add actual syntax that desugars to new Instance().

10 years agoAdd an initial (inefficient) version of ?: syntax.
Jay Freeman (saurik) [Mon, 20 Jan 2014 16:18:29 +0000 (08:18 -0800)] 
Add an initial (inefficient) version of ?: syntax.

10 years agoI do not remember why this was so overly complex.
Jay Freeman (saurik) [Mon, 20 Jan 2014 13:54:18 +0000 (05:54 -0800)] 
I do not remember why this was so overly complex.

10 years agoFix try regression in CYExecute NSAutoReleasePool.
Jay Freeman (saurik) [Mon, 20 Jan 2014 13:53:19 +0000 (05:53 -0800)] 
Fix try regression in CYExecute NSAutoReleasePool.

10 years agoIf possible, use the new debug synchronous GC API.
Jay Freeman (saurik) [Mon, 20 Jan 2014 12:43:48 +0000 (04:43 -0800)] 
If possible, use the new debug synchronous GC API.

10 years agoAttempt to garbage collect before using choose().
Jay Freeman (saurik) [Mon, 20 Jan 2014 12:43:32 +0000 (04:43 -0800)] 
Attempt to garbage collect before using choose().

10 years agoAdd a new ?gc to run GC without running a script.
Jay Freeman (saurik) [Mon, 20 Jan 2014 12:42:39 +0000 (04:42 -0800)] 
Add a new ?gc to run GC without running a script.

10 years agoProvide a new ?destroy to release the JSContext.
Jay Freeman (saurik) [Mon, 20 Jan 2014 12:40:43 +0000 (04:40 -0800)] 
Provide a new ?destroy to release the JSContext.

10 years agoTry to CYON pointers as the address of their value.
Jay Freeman (saurik) [Mon, 20 Jan 2014 10:29:23 +0000 (02:29 -0800)] 
Try to CYON pointers as the address of their value.

10 years agoInstance.box should have the DontEnum attribute.
Jay Freeman (saurik) [Mon, 20 Jan 2014 10:28:30 +0000 (02:28 -0800)] 
Instance.box should have the DontEnum attribute.

10 years agoIndirecting a function pointer should get Functor.
Jay Freeman (saurik) [Mon, 20 Jan 2014 10:06:18 +0000 (02:06 -0800)] 
Indirecting a function pointer should get Functor.

10 years agoDo not cache incomplete ffi_cifs after exceptions.
Jay Freeman (saurik) [Mon, 20 Jan 2014 09:59:26 +0000 (01:59 -0800)] 
Do not cache incomplete ffi_cifs after exceptions.

10 years agoExpose the internal Type of Pointers through type.
Jay Freeman (saurik) [Mon, 20 Jan 2014 09:58:40 +0000 (01:58 -0800)] 
Expose the internal Type of Pointers through type.

10 years agoSyntax highlight the new @import as pre-processor.
Jay Freeman (saurik) [Sun, 19 Jan 2014 20:47:33 +0000 (12:47 -0800)] 
Syntax highlight the new @import as pre-processor.

10 years agoCYONify NSObject with # (different from NSString).
Jay Freeman (saurik) [Sun, 19 Jan 2014 20:20:23 +0000 (12:20 -0800)] 
CYONify NSObject with # (different from NSString).

10 years agoCYONify NSSet as [NSSet setWithArray:@[...]] call.
Jay Freeman (saurik) [Sun, 19 Jan 2014 20:15:16 +0000 (12:15 -0800)] 
CYONify NSSet as [NSSet setWithArray:@[...]] call.

10 years agoCYONify pointers as the address of their values.
Jay Freeman (saurik) [Sun, 19 Jan 2014 20:14:58 +0000 (12:14 -0800)] 
CYONify pointers as the address of their values.

10 years agoSyntax highlight SEL as if it's a type (like id).
Jay Freeman (saurik) [Sun, 19 Jan 2014 19:03:07 +0000 (11:03 -0800)] 
Syntax highlight SEL as if it's a type (like id).

10 years agoRename Super to objc_super to better future-proof.
Jay Freeman (saurik) [Sun, 19 Jan 2014 18:35:47 +0000 (10:35 -0800)] 
Rename Super to objc_super to better future-proof.

10 years agoUpgrade array comprehension syntax to latest ES6.
Jay Freeman (saurik) [Sun, 19 Jan 2014 18:05:37 +0000 (10:05 -0800)] 
Upgrade array comprehension syntax to latest ES6.

10 years agoMark output from ?debug separate from the result.
Jay Freeman (saurik) [Sun, 19 Jan 2014 16:56:30 +0000 (08:56 -0800)] 
Mark output from ?debug separate from the result.

10 years agoForce rebuild of cycript_ even with cycript link.
Jay Freeman (saurik) [Sun, 19 Jan 2014 16:55:17 +0000 (08:55 -0800)] 
Force rebuild of cycript_ even with cycript link.

10 years agoCache __NSMallocBlock__ and verify it even exists.
Jay Freeman (saurik) [Sat, 18 Jan 2014 14:18:24 +0000 (06:18 -0800)] 
Cache __NSMallocBlock__ and verify it even exists.

10 years agoThe new version of Cycript breaks the old Cydget.
Jay Freeman (saurik) [Sat, 18 Jan 2014 07:57:50 +0000 (23:57 -0800)] 
The new version of Cycript breaks the old Cydget.

10 years agoMove Cydget* to ObjectiveC and @throw exceptions.
Jay Freeman (saurik) [Fri, 17 Jan 2014 20:49:35 +0000 (12:49 -0800)] 
Move Cydget* to ObjectiveC and @throw exceptions.

10 years agoPooling an ostringstream does not pool its .str().
Jay Freeman (saurik) [Fri, 17 Jan 2014 20:48:20 +0000 (12:48 -0800)] 
Pooling an ostringstream does not pool its .str().

10 years agoEntitle with dynamic-codesigning for Nitro on iOS.
Jay Freeman (saurik) [Fri, 17 Jan 2014 11:07:07 +0000 (03:07 -0800)] 
Entitle with dynamic-codesigning for Nitro on iOS.

10 years agoObjective-C block syntax should return NSBlock *.
Jay Freeman (saurik) [Fri, 17 Jan 2014 10:59:04 +0000 (02:59 -0800)] 
Objective-C block syntax should return NSBlock *.

10 years agoAdd support to @encode, Decode_, and With blocks.
Jay Freeman (saurik) [Fri, 17 Jan 2014 10:23:00 +0000 (02:23 -0800)] 
Add support to @encode, Decode_, and With blocks.

10 years agoImplement CommonJS-compliant require() function.
Jay Freeman (saurik) [Fri, 17 Jan 2014 09:05:14 +0000 (01:05 -0800)] 
Implement CommonJS-compliant require() function.

10 years agoSeparate useful CYPoolCode from CydgetMemoryParse.
Jay Freeman (saurik) [Fri, 17 Jan 2014 08:20:46 +0000 (00:20 -0800)] 
Separate useful CYPoolCode from CydgetMemoryParse.

10 years agoAlways name signed binary .libs copies cycript_.
Jay Freeman (saurik) [Wed, 15 Jan 2014 14:58:28 +0000 (06:58 -0800)] 
Always name signed binary .libs copies cycript_.

10 years agoSlightly improve "invalid pid" -p error message.
Jay Freeman (saurik) [Wed, 15 Jan 2014 04:06:02 +0000 (20:06 -0800)] 
Slightly improve "invalid pid" -p error message.

10 years agoUpdate @import syntax to desugar into require().
Jay Freeman (saurik) [Wed, 15 Jan 2014 03:44:49 +0000 (19:44 -0800)] 
Update @import syntax to desugar into require().

10 years agoSort of improve the error messages from _assert.
Jay Freeman (saurik) [Wed, 15 Jan 2014 03:41:39 +0000 (19:41 -0800)] 
Sort of improve the error messages from _assert.

10 years agoUpgrade to automake version 1.14.1 (now in Fink).
Jay Freeman (saurik) [Mon, 13 Jan 2014 16:12:30 +0000 (08:12 -0800)] 
Upgrade to automake version 1.14.1 (now in Fink).

10 years agoHide all symbols of embedded developer framework.
Jay Freeman (saurik) [Mon, 13 Jan 2014 00:22:37 +0000 (16:22 -0800)] 
Hide all symbols of embedded developer framework.

10 years agoActually build libcycript-sim.dylib with 64-bit.
Jay Freeman (saurik) [Sun, 12 Jan 2014 17:11:39 +0000 (09:11 -0800)] 
Actually build libcycript-sim.dylib with 64-bit.

10 years agoSmuggle errors in libcycript-any.dylib to client.
Jay Freeman (saurik) [Sun, 12 Jan 2014 17:02:02 +0000 (09:02 -0800)] 
Smuggle errors in libcycript-any.dylib to client.

10 years agoFinally managed to target iOS 2.0 fully correctly.
Jay Freeman (saurik) [Sun, 12 Jan 2014 13:56:12 +0000 (05:56 -0800)] 
Finally managed to target iOS 2.0 fully correctly.

10 years agoApparently, __pthread_set_self takes tsd address.
Jay Freeman (saurik) [Sun, 12 Jan 2014 09:30:16 +0000 (01:30 -0800)] 
Apparently, __pthread_set_self takes tsd address.

10 years agoThe objc_registerClassPair hack is not even there.
Jay Freeman (saurik) [Sun, 12 Jan 2014 08:12:46 +0000 (00:12 -0800)] 
The objc_registerClassPair hack is not even there.

10 years agoAvoid libffi runtime code generation API on ARM64.
Jay Freeman (saurik) [Sun, 12 Jan 2014 08:10:56 +0000 (00:10 -0800)] 
Avoid libffi runtime code generation API on ARM64.

10 years agoWhen casting function pointers, it's more complex.
Jay Freeman (saurik) [Sun, 12 Jan 2014 08:00:44 +0000 (00:00 -0800)] 
When casting function pointers, it's more complex.

10 years agoTry to avoid using encodings when signatures work.
Jay Freeman (saurik) [Sun, 12 Jan 2014 07:54:44 +0000 (23:54 -0800)] 
Try to avoid using encodings when signatures work.

10 years agosig::Copy should use const for source arguments.
Jay Freeman (saurik) [Sun, 12 Jan 2014 07:53:34 +0000 (23:53 -0800)] 
sig::Copy should use const for source arguments.

10 years agoAdd Class and SEL to the bridge definition list.
Jay Freeman (saurik) [Sun, 12 Jan 2014 07:35:28 +0000 (23:35 -0800)] 
Add Class and SEL to the bridge definition list.

10 years agoInstantiating a struct using new should bbzero it.
Jay Freeman (saurik) [Sun, 12 Jan 2014 07:34:46 +0000 (23:34 -0800)] 
Instantiating a struct using new should bbzero it.

10 years agoSupport casting any pointer to a function type.
Jay Freeman (saurik) [Sun, 12 Jan 2014 06:34:04 +0000 (22:34 -0800)] 
Support casting any pointer to a function type.

10 years agoThe desugaring for typedef skipped signatures.
Jay Freeman (saurik) [Sun, 12 Jan 2014 06:05:22 +0000 (22:05 -0800)] 
The desugaring for typedef skipped signatures.

10 years agoMake @encode(char *) and new Type("r*") both work.
Jay Freeman (saurik) [Sun, 12 Jan 2014 05:58:27 +0000 (21:58 -0800)] 
Make @encode(char *) and new Type("r*") both work.

10 years agoI might misremember, but I don't think these work.
Jay Freeman (saurik) [Sun, 12 Jan 2014 05:00:13 +0000 (21:00 -0800)] 
I might misremember, but I don't think these work.

10 years ago{Functor,Selector}.type should return @encode().
Jay Freeman (saurik) [Sun, 12 Jan 2014 04:59:09 +0000 (20:59 -0800)] 
{Functor,Selector}.type should return @encode().

10 years agoAdd ?lower to help me debug bugs while desugaring.
Jay Freeman (saurik) [Sun, 12 Jan 2014 04:00:18 +0000 (20:00 -0800)] 
Add ?lower to help me debug bugs while desugaring.