]> git.saurik.com Git - cycript.git/log
cycript.git
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.

10 years agoCYDisplay{Start,Finish} obsolete by rl_redisplay.
Jay Freeman (saurik) [Sun, 12 Jan 2014 03:59:50 +0000 (19:59 -0800)] 
CYDisplay{Start,Finish} obsolete by rl_redisplay.

10 years agoSometimes readline forced the display to update.
Jay Freeman (saurik) [Sat, 11 Jan 2014 15:35:09 +0000 (07:35 -0800)] 
Sometimes readline forced the display to update.

10 years agoCall through to rl_redisplay to update line state.
Jay Freeman (saurik) [Sat, 11 Jan 2014 15:28:46 +0000 (07:28 -0800)] 
Call through to rl_redisplay to update line state.

10 years agoCRLF from non-last line wrote result over command.
Jay Freeman (saurik) [Sat, 11 Jan 2014 15:08:20 +0000 (07:08 -0800)] 
CRLF from non-last line wrote result over command.

10 years agoImplement /etc/cycript/setup.d (temporary name).
Jay Freeman (saurik) [Fri, 10 Jan 2014 10:35:41 +0000 (02:35 -0800)] 
Implement /etc/cycript/setup.d (temporary name).

10 years agoCYExecute() should run code in a specific context.
Jay Freeman (saurik) [Fri, 10 Jan 2014 10:35:10 +0000 (02:35 -0800)] 
CYExecute() should run code in a specific context.

10 years agoIf CydgetMemoryParse fails, it should return NULL.
Jay Freeman (saurik) [Fri, 10 Jan 2014 10:20:56 +0000 (02:20 -0800)] 
If CydgetMemoryParse fails, it should return NULL.

10 years agoDo Cycript compilation in the client (fix ?debug).
Jay Freeman (saurik) [Fri, 10 Jan 2014 10:03:52 +0000 (02:03 -0800)] 
Do Cycript compilation in the client (fix ?debug).

10 years agoTry (and almost fail) to compile armv6 on -mthumb.
Jay Freeman (saurik) [Fri, 10 Jan 2014 08:04:43 +0000 (00:04 -0800)] 
Try (and almost fail) to compile armv6 on -mthumb.

10 years agoFilter chosen objects to those of the right size.
Jay Freeman (saurik) [Fri, 10 Jan 2014 08:04:21 +0000 (00:04 -0800)] 
Filter chosen objects to those of the right size.

10 years agoSupport @error when CYONifying JavaScript arrays.
Jay Freeman (saurik) [Fri, 10 Jan 2014 07:01:53 +0000 (23:01 -0800)] 
Support @error when CYONifying JavaScript arrays.

10 years agoUse -mllvm -arm-reserve-r9 to support iOS 2.x.
Jay Freeman (saurik) [Fri, 10 Jan 2014 06:51:47 +0000 (22:51 -0800)] 
Use -mllvm -arm-reserve-r9 to support iOS 2.x.

10 years agoFind instances of all subclasses with choose().
Jay Freeman (saurik) [Fri, 10 Jan 2014 06:43:03 +0000 (22:43 -0800)] 
Find instances of all subclasses with choose().

10 years agoUse -Zlzma (not -zlzma) when running dpkg-deb.
Jay Freeman (saurik) [Fri, 10 Jan 2014 06:41:41 +0000 (22:41 -0800)] 
Use -Zlzma (not -zlzma) when running dpkg-deb.

10 years agoThe Axiom of Choice is obviously true.--Jerry Bona
Jay Freeman (saurik) [Fri, 10 Jan 2014 05:39:27 +0000 (21:39 -0800)] 
The Axiom of Choice is obviously true.--Jerry Bona

10 years agoSupport @YES/@NO (to better support @true/@false).
Jay Freeman (saurik) [Fri, 10 Jan 2014 05:38:36 +0000 (21:38 -0800)] 
Support @YES/@NO (to better support @true/@false).

10 years agoHack for add_history's now-understood allocation.
Jay Freeman (saurik) [Thu, 9 Jan 2014 21:20:57 +0000 (13:20 -0800)] 
Hack for add_history's now-understood allocation.

10 years agoDrastically improve syntax support for @encode().
Jay Freeman (saurik) [Thu, 9 Jan 2014 15:50:10 +0000 (07:50 -0800)] 
Drastically improve syntax support for @encode().

10 years agoIf I call ExecuteStart I /must/ call ExecuteEnd.
Jay Freeman (saurik) [Thu, 9 Jan 2014 06:54:06 +0000 (22:54 -0800)] 
If I call ExecuteStart I /must/ call ExecuteEnd.

10 years agoMake Selector_callAsFunction_toJSON pass-through.
Jay Freeman (saurik) [Thu, 9 Jan 2014 06:38:06 +0000 (22:38 -0800)] 
Make Selector_callAsFunction_toJSON pass-through.

10 years agoSplit $objc_msgSend apart, normalizing exceptions.
Jay Freeman (saurik) [Thu, 9 Jan 2014 06:37:36 +0000 (22:37 -0800)] 
Split $objc_msgSend apart, normalizing exceptions.

10 years ago-[NSCFType cy$toJSON:inContext:] 64-bit encoding.
Jay Freeman (saurik) [Thu, 9 Jan 2014 04:48:21 +0000 (20:48 -0800)] 
-[NSCFType cy$toJSON:inContext:] 64-bit encoding.

10 years agoFactor JSValueRef exception arguments to _jsccall.
Jay Freeman (saurik) [Thu, 9 Jan 2014 04:39:13 +0000 (20:39 -0800)] 
Factor JSValueRef exception arguments to _jsccall.

10 years agoI really really want some kind of Error monad :(.
Jay Freeman (saurik) [Thu, 9 Jan 2014 03:53:46 +0000 (19:53 -0800)] 
I really really want some kind of Error monad :(.

10 years agoSupport Internal_setProperty with bitfield types.
Jay Freeman (saurik) [Tue, 7 Jan 2014 10:11:16 +0000 (02:11 -0800)] 
Support Internal_setProperty with bitfield types.

10 years agoSupport Internal_getProperty with bitfield types.
Jay Freeman (saurik) [Tue, 7 Jan 2014 09:38:40 +0000 (01:38 -0800)] 
Support Internal_getProperty with bitfield types.

10 years agoCycript's C++11 lambda semantics require the &.
Jay Freeman (saurik) [Tue, 7 Jan 2014 04:06:05 +0000 (20:06 -0800)] 
Cycript's C++11 lambda semantics require the &.

10 years agoDo not allow the grammar to contain conflicts.
Jay Freeman (saurik) [Tue, 7 Jan 2014 03:34:02 +0000 (19:34 -0800)] 
Do not allow the grammar to contain conflicts.

10 years agoES5 makes FunctionExpression a MemberExpression.
Jay Freeman (saurik) [Tue, 7 Jan 2014 03:32:29 +0000 (19:32 -0800)] 
ES5 makes FunctionExpression a MemberExpression.

10 years agoAdd syntax to support C-style typedef assignment.
Jay Freeman (saurik) [Mon, 6 Jan 2014 13:59:44 +0000 (05:59 -0800)] 
Add syntax to support C-style typedef assignment.

10 years agoAdd support for C++11 lambda expression syntax.
Jay Freeman (saurik) [Sun, 5 Jan 2014 12:24:57 +0000 (04:24 -0800)] 
Add support for C++11 lambda expression syntax.

10 years agoThe TARGET_OS_IPHONE variable is set to 1 or 0.
Jay Freeman (saurik) [Sat, 4 Jan 2014 05:37:32 +0000 (21:37 -0800)] 
The TARGET_OS_IPHONE variable is set to 1 or 0.

10 years agoCopy libdyld error messages back from injection.
Jay Freeman (saurik) [Sat, 4 Jan 2014 05:37:04 +0000 (21:37 -0800)] 
Copy libdyld error messages back from injection.

10 years agoStore all unstable Class CYONifications in a set.
Jay Freeman (saurik) [Thu, 2 Jan 2014 13:07:41 +0000 (05:07 -0800)] 
Store all unstable Class CYONifications in a set.

10 years agoWhen CYONifying fields, @error encode exceptions.
Jay Freeman (saurik) [Thu, 2 Jan 2014 12:52:42 +0000 (04:52 -0800)] 
When CYONifying fields, @error encode exceptions.

10 years agoMove the EOF "final newline" to the ctrl-d check.
Jay Freeman (saurik) [Thu, 2 Jan 2014 07:25:45 +0000 (23:25 -0800)] 
Move the EOF "final newline" to the ctrl-d check.

10 years agoDo not lose the shell history throwing exceptions.
Jay Freeman (saurik) [Thu, 2 Jan 2014 07:25:10 +0000 (23:25 -0800)] 
Do not lose the shell history throwing exceptions.

10 years agoOn ARM64, the isa instance variable is a tagged.
Jay Freeman (saurik) [Thu, 2 Jan 2014 06:47:01 +0000 (22:47 -0800)] 
On ARM64, the isa instance variable is a tagged.

10 years agoFailing to send/receive client fd should be fatal.
Jay Freeman (saurik) [Thu, 2 Jan 2014 06:33:54 +0000 (22:33 -0800)] 
Failing to send/receive client fd should be fatal.

10 years agoFix (again) process injection on desktop Mac OS X.
Jay Freeman (saurik) [Thu, 2 Jan 2014 06:27:38 +0000 (22:27 -0800)] 
Fix (again) process injection on desktop Mac OS X.

10 years agoAdd CYTry/CYCatch brackets around all the codes.
Jay Freeman (saurik) [Thu, 2 Jan 2014 05:37:09 +0000 (21:37 -0800)] 
Add CYTry/CYCatch brackets around all the codes.

10 years agoRemove an obsolete JavaScript exception bracket.
Jay Freeman (saurik) [Thu, 2 Jan 2014 05:36:41 +0000 (21:36 -0800)] 
Remove an obsolete JavaScript exception bracket.

10 years agoAdd a (temporary) workaround for ARM64 CGFloat.
Jay Freeman (saurik) [Thu, 2 Jan 2014 03:49:06 +0000 (19:49 -0800)] 
Add a (temporary) workaround for ARM64 CGFloat.

10 years agoUpdate the libffi submodule to the SaurikIT fork.
Jay Freeman (saurik) [Thu, 2 Jan 2014 03:26:46 +0000 (19:26 -0800)] 
Update the libffi submodule to the SaurikIT fork.

10 years agoCompile libffi with the changes needed for ARM64.
Jay Freeman (saurik) [Thu, 2 Jan 2014 03:21:45 +0000 (19:21 -0800)] 
Compile libffi with the changes needed for ARM64.

10 years agoCycript no longer uses the systems' libffi.dylib.
Jay Freeman (saurik) [Wed, 1 Jan 2014 22:50:42 +0000 (14:50 -0800)] 
Cycript no longer uses the systems' libffi.dylib.

10 years agoUse dpkg-deb -zlzma to compress Cydia package.
Jay Freeman (saurik) [Wed, 1 Jan 2014 22:50:15 +0000 (14:50 -0800)] 
Use dpkg-deb -zlzma to compress Cydia package.

10 years agoRemove now definitely-unneeded libgcc_eh comment.
Jay Freeman (saurik) [Wed, 1 Jan 2014 22:48:43 +0000 (14:48 -0800)] 
Remove now definitely-unneeded libgcc_eh comment.

10 years agoOK, apparently ARM64 libffi didn't actually work.
Jay Freeman (saurik) [Wed, 1 Jan 2014 22:48:13 +0000 (14:48 -0800)] 
OK, apparently ARM64 libffi didn't actually work.

10 years agoUse more appropropriate target triples and mins.
Jay Freeman (saurik) [Wed, 1 Jan 2014 22:47:58 +0000 (14:47 -0800)] 
Use more appropropriate target triples and mins.

10 years agoAdd desktop Cycript distribution zip to .gitignore.
Jay Freeman (saurik) [Wed, 1 Jan 2014 11:01:57 +0000 (03:01 -0800)] 
Add desktop Cycript distribution zip to .gitignore.