]> git.saurik.com Git - cycript.git/log
cycript.git
12 years agoMerge CYStatement::Collapse into CYStatement::Replace.
Jay Freeman (saurik) [Tue, 5 Jun 2012 01:37:16 +0000 (18:37 -0700)] 
Merge CYStatement::Collapse into CYStatement::Replace.

12 years agoRemove empty compound expressions generated by CYVar.
Jay Freeman (saurik) [Tue, 5 Jun 2012 01:31:06 +0000 (18:31 -0700)] 
Remove empty compound expressions generated by CYVar.

12 years agoRemove empty expression statements from the output.
Jay Freeman (saurik) [Tue, 5 Jun 2012 01:23:59 +0000 (18:23 -0700)] 
Remove empty expression statements from the output.

12 years agoAdd a .gitignore to finalize the transition to git.
Jay Freeman (saurik) [Tue, 5 Jun 2012 01:01:59 +0000 (18:01 -0700)] 
Add a .gitignore to finalize the transition to git.

12 years agoRemove const char *CYForInInitialiser::ForEachIn().
Jay Freeman (saurik) [Tue, 5 Jun 2012 00:00:01 +0000 (17:00 -0700)] 
Remove const char *CYForInInitialiser::ForEachIn().

12 years agoPreserve var semantics while desugaring for-each.
Jay Freeman (saurik) [Mon, 4 Jun 2012 23:56:04 +0000 (16:56 -0700)] 
Preserve var semantics while desugaring for-each.

12 years agoDo not assert if the tab completer is given garbage.
Jay Freeman (saurik) [Mon, 4 Jun 2012 12:13:14 +0000 (05:13 -0700)] 
Do not assert if the tab completer is given garbage.

12 years agoUse object_getClass for tab completion, not ->isa.
Jay Freeman (saurik) [Mon, 4 Jun 2012 09:29:04 +0000 (02:29 -0700)] 
Use object_getClass for tab completion, not ->isa.

12 years agoSupport __NSCFBoolean, the iOS version of NSCFBoolean.
Jay Freeman (saurik) [Mon, 4 Jun 2012 09:07:25 +0000 (02:07 -0700)] 
Support __NSCFBoolean, the iOS version of NSCFBoolean.

12 years agoRename cy$JSValueInContext to cy$valueOfInContext. v0.9.455
Jay Freeman (saurik) [Mon, 4 Jun 2012 06:50:09 +0000 (23:50 -0700)] 
Rename cy$JSValueInContext to cy$valueOfInContext.

12 years agoBridge NSBlock as a callable JavaScript function.
Jay Freeman (saurik) [Mon, 4 Jun 2012 06:46:39 +0000 (23:46 -0700)] 
Bridge NSBlock as a callable JavaScript function.

12 years agoDo not check against classes that are not instanced.
Jay Freeman (saurik) [Mon, 4 Jun 2012 05:19:17 +0000 (22:19 -0700)] 
Do not check against classes that are not instanced.

12 years agoOptimize the iOS builds using -O2 (2/3 size).
Jay Freeman (saurik) [Mon, 4 Jun 2012 04:46:51 +0000 (21:46 -0700)] 
Optimize the iOS builds using -O2 (2/3 size).

12 years agoDo not build tri-architecture fat files for iOS.
Jay Freeman (saurik) [Mon, 4 Jun 2012 04:34:09 +0000 (21:34 -0700)] 
Do not build tri-architecture fat files for iOS.

12 years agoAdd some syntax todo items from Clang documentation.
Jay Freeman (saurik) [Mon, 4 Jun 2012 04:27:57 +0000 (21:27 -0700)] 
Add some syntax todo items from Clang documentation.

12 years agoSupport building non-fat injection trampolines.
Jay Freeman (saurik) [Mon, 4 Jun 2012 04:27:16 +0000 (21:27 -0700)] 
Support building non-fat injection trampolines.

12 years agoThe keys of NSDictionary need to be CYCastNSObject.
Jay Freeman (saurik) [Mon, 4 Jun 2012 03:51:53 +0000 (20:51 -0700)] 
The keys of NSDictionary need to be CYCastNSObject.

12 years agoUpdate the todo list with the new tasks from stash.
Jay Freeman (saurik) [Mon, 4 Jun 2012 03:43:59 +0000 (20:43 -0700)] 
Update the todo list with the new tasks from stash.

12 years agoReplace failed prototype trick with separate classes.
Jay Freeman (saurik) [Mon, 4 Jun 2012 03:42:21 +0000 (20:42 -0700)] 
Replace failed prototype trick with separate classes.

12 years agoUse the base JavaScript CYONifier for CYJSArray.
Jay Freeman (saurik) [Sun, 3 Jun 2012 21:50:00 +0000 (14:50 -0700)] 
Use the base JavaScript CYONifier for CYJSArray.

12 years agoFix silly mistake in control.in causing 0.9.0.9.*.
Jay Freeman (saurik) [Sun, 3 Jun 2012 21:10:03 +0000 (14:10 -0700)] 
Fix silly mistake in control.in causing 0.9.0.9.*.

12 years agoAllow git describe to generate iOS version numbers.
Jay Freeman (saurik) [Sun, 3 Jun 2012 21:07:48 +0000 (14:07 -0700)] 
Allow git describe to generate iOS version numbers.

12 years agoSupport variadic messages (bridge extras as object).
Jay Freeman (saurik) [Sun, 3 Jun 2012 20:59:32 +0000 (13:59 -0700)] 
Support variadic messages (bridge extras as object).

12 years agoAdd support for Objective-C boxed expression syntax.
Jay Freeman (saurik) [Sun, 3 Jun 2012 20:45:59 +0000 (13:45 -0700)] 
Add support for Objective-C boxed expression syntax.

12 years agoUse the same trick on Object that made StringInstance.
Jay Freeman (saurik) [Sun, 3 Jun 2012 20:58:49 +0000 (13:58 -0700)] 
Use the same trick on Object that made StringInstance.

12 years agoUse the same trick on Array that made StringInstance.
Jay Freeman (saurik) [Sun, 3 Jun 2012 19:37:15 +0000 (12:37 -0700)] 
Use the same trick on Array that made StringInstance.

12 years agoMatch up Instance_callAsFunction_{toString,valueOf}.
Jay Freeman (saurik) [Sun, 3 Jun 2012 19:29:26 +0000 (12:29 -0700)] 
Match up Instance_callAsFunction_{toString,valueOf}.

12 years agoMove cy$JSValueInContext use from cast to valueOf.
Jay Freeman (saurik) [Sun, 3 Jun 2012 19:28:19 +0000 (12:28 -0700)] 
Move cy$JSValueInContext use from cast to valueOf.

12 years agoAdd Objective-C @ prefix to CYONified primitives.
Jay Freeman (saurik) [Sun, 3 Jun 2012 19:25:18 +0000 (12:25 -0700)] 
Add Objective-C @ prefix to CYONified primitives.

12 years agoRemove StringInstance class (but keep constructor).
Jay Freeman (saurik) [Sun, 3 Jun 2012 19:24:02 +0000 (12:24 -0700)] 
Remove StringInstance class (but keep constructor).

12 years agoDo not convert exceptions to CYON before display.
Jay Freeman (saurik) [Sun, 3 Jun 2012 17:53:31 +0000 (10:53 -0700)] 
Do not convert exceptions to CYON before display.

12 years agoReplace the svnversion mechanism with git describe.
Jay Freeman (saurik) [Sun, 3 Jun 2012 16:16:31 +0000 (16:16 +0000)] 
Replace the svnversion mechanism with git describe.

12 years agoUpdate to the latest autoconf (2.68) from Ubuntu.
Jay Freeman (saurik) [Sun, 3 Jun 2012 15:53:07 +0000 (15:53 +0000)] 
Update to the latest autoconf (2.68) from Ubuntu.

12 years agoMake autogen.sh use the ax_ prefix for m4 lookup.
Jay Freeman (saurik) [Sun, 3 Jun 2012 15:52:23 +0000 (15:52 +0000)] 
Make autogen.sh use the ax_ prefix for m4 lookup.

12 years agoExpose Objective-C class names to tab completion.
Jay Freeman (saurik) [Sun, 3 Jun 2012 15:39:47 +0000 (08:39 -0700)] 
Expose Objective-C class names to tab completion.

12 years agoRemove nil from bridge: it is a runtime property.
Jay Freeman (saurik) [Sun, 3 Jun 2012 15:39:24 +0000 (08:39 -0700)] 
Remove nil from bridge: it is a runtime property.

12 years agoSplit JavaScript Array utility functions into Library.
Jay Freeman (saurik) [Sun, 3 Jun 2012 15:19:04 +0000 (08:19 -0700)] 
Split JavaScript Array utility functions into Library.

12 years agoUse Array.prototype, not Array, to look up functions.
Jay Freeman (saurik) [Sun, 3 Jun 2012 15:18:01 +0000 (08:18 -0700)] 
Use Array.prototype, not Array, to look up functions.

12 years agoFix the name of getProperty for Instance.prototype.
Jay Freeman (saurik) [Sun, 3 Jun 2012 10:42:48 +0000 (03:42 -0700)] 
Fix the name of getProperty for Instance.prototype.

12 years agoDisplay a useful message from JavaScript exceptions.
Jay Freeman (saurik) [Sun, 3 Jun 2012 10:42:10 +0000 (03:42 -0700)] 
Display a useful message from JavaScript exceptions.

12 years agoMove the various CYFlags helper functions to header.
Jay Freeman (saurik) [Sat, 2 Jun 2012 00:09:59 +0000 (17:09 -0700)] 
Move the various CYFlags helper functions to header.

12 years agoMake protocol_copyPropertyList return an array of properties.
Jay Freeman (saurik) [Fri, 1 Jun 2012 10:06:21 +0000 (03:06 -0700)] 
Make protocol_copyPropertyList return an array of properties.

12 years agoSupport Objective-C class extension syntax.
Jay Freeman (saurik) [Fri, 1 Jun 2012 10:05:58 +0000 (03:05 -0700)] 
Support Objective-C class extension syntax.

12 years agoFor cycript -p to work, you need adv-cmds installed.
Jay Freeman (saurik) [Mon, 19 Mar 2012 01:00:15 +0000 (18:00 -0700)] 
For cycript -p to work, you need adv-cmds installed.

12 years agoWe now require a specific version of libffi on iOS.
Jay Freeman (saurik) [Mon, 19 Mar 2012 00:59:44 +0000 (17:59 -0700)] 
We now require a specific version of libffi on iOS.

12 years agoUse ffi_closure_alloc and ffi_prep_closure_loc on ARM.
Jay Freeman (saurik) [Mon, 19 Mar 2012 00:54:03 +0000 (17:54 -0700)] 
Use ffi_closure_alloc and ffi_prep_closure_loc on ARM.

12 years agoUpgrade ios.sh build to use the new libffi package.
Jay Freeman (saurik) [Mon, 19 Mar 2012 00:38:24 +0000 (17:38 -0700)] 
Upgrade ios.sh build to use the new libffi package.

12 years agoUpdate the syntax guide of Cycript for @implementation.
Jay Freeman (saurik) [Fri, 1 Jun 2012 10:03:36 +0000 (10:03 +0000)] 
Update the syntax guide of Cycript for @implementation.

12 years agoAdd a link to Cycript's subversion repository and IRC.
Jay Freeman (saurik) [Fri, 1 Jun 2012 10:03:03 +0000 (10:03 +0000)] 
Add a link to Cycript's subversion repository and IRC.

12 years agoAdd information about Cycript's for each syntax.
Jay Freeman (saurik) [Fri, 1 Jun 2012 10:02:07 +0000 (10:02 +0000)] 
Add information about Cycript's for each syntax.

12 years agoFix off-by-one in syntax error output (infinite loop). v0.9.451
Jay Freeman (saurik) [Mon, 19 Mar 2012 00:10:41 +0000 (00:10 +0000)] 
Fix off-by-one in syntax error output (infinite loop).

12 years agoImprove the pretty-printing of else clauses.
Jay Freeman (saurik) [Mon, 19 Mar 2012 00:09:42 +0000 (00:09 +0000)] 
Improve the pretty-printing of else clauses.

13 years agoDo not override --prefix in simulator.sh.
Jay Freeman (saurik) [Wed, 23 Nov 2011 12:54:41 +0000 (12:54 +0000)] 
Do not override --prefix in simulator.sh.

13 years agoAdd support for iOS Simulator.
Jay Freeman (saurik) [Wed, 23 Nov 2011 12:09:22 +0000 (12:09 +0000)] 
Add support for iOS Simulator.

13 years agoForce Fink's PATH (but only when required).
Jay Freeman (saurik) [Wed, 23 Nov 2011 12:09:17 +0000 (12:09 +0000)] 
Force Fink's PATH (but only when required).

13 years agoPropogate errors through scripts.
Jay Freeman (saurik) [Wed, 23 Nov 2011 12:09:13 +0000 (12:09 +0000)] 
Propogate errors through scripts.

13 years agoPort to iOS 5.0 SDK.
Jay Freeman (saurik) [Wed, 23 Nov 2011 12:09:08 +0000 (12:09 +0000)] 
Port to iOS 5.0 SDK.

13 years agoPorted back to cygwin.
Jay Freeman (saurik) [Fri, 21 Oct 2011 10:18:27 +0000 (10:18 +0000)] 
Ported back to cygwin.

13 years agoSpecial case __NSGenericDeallocHandler. v0.9.450
Jay Freeman (saurik) [Fri, 3 Jun 2011 02:14:25 +0000 (02:14 +0000)] 
Special case __NSGenericDeallocHandler.

13 years agoFix console line continuation. v0.9.449
Jay Freeman (saurik) [Fri, 3 Jun 2011 02:01:35 +0000 (02:01 +0000)] 
Fix console line continuation.

13 years agoImplement more syntax from strawman:block_lambda_revival.
Jay Freeman (saurik) [Mon, 23 May 2011 09:07:37 +0000 (09:07 +0000)] 
Implement more syntax from strawman:block_lambda_revival.

13 years agoAdd plt abstraction for ios.sh.
Jay Freeman (saurik) [Mon, 23 May 2011 09:07:33 +0000 (09:07 +0000)] 
Add plt abstraction for ios.sh.

13 years agoMore consistent Trampoline error handling.
Jay Freeman (saurik) [Mon, 23 May 2011 09:07:30 +0000 (09:07 +0000)] 
More consistent Trampoline error handling.

13 years agoSupport SO variable even when not Mach.
Jay Freeman (saurik) [Sat, 21 May 2011 07:04:39 +0000 (07:04 +0000)] 
Support SO variable even when not Mach.

13 years agoSupport missing universal binary targets.
Jay Freeman (saurik) [Sat, 21 May 2011 06:59:54 +0000 (06:59 +0000)] 
Support missing universal binary targets.

13 years agoUse ${lipo} during trampoline.sh for lipo.
Jay Freeman (saurik) [Sat, 21 May 2011 02:47:39 +0000 (02:47 +0000)] 
Use ${lipo} during trampoline.sh for lipo.

13 years agoFix #include for GNUstep.
Jay Freeman (saurik) [Sat, 21 May 2011 02:47:36 +0000 (02:47 +0000)] 
Fix #include for GNUstep.

13 years agoRemove obsolete build environment.
Jay Freeman (saurik) [Sat, 21 May 2011 02:47:32 +0000 (02:47 +0000)] 
Remove obsolete build environment.

13 years agoUpgrade to autoconf 2.67.
Jay Freeman (saurik) [Fri, 20 May 2011 22:14:06 +0000 (22:14 +0000)] 
Upgrade to autoconf 2.67.

13 years agoUpdate todo.txt from Carrier.
Jay Freeman (saurik) [Fri, 20 May 2011 22:08:30 +0000 (22:08 +0000)] 
Update todo.txt from Carrier.

13 years agoUse pthread_detach(), not pthread_join(). v0.9.438
Jay Freeman (saurik) [Fri, 20 May 2011 07:11:49 +0000 (07:11 +0000)] 
Use pthread_detach(), not pthread_join().

13 years agoGeneralized fix for injector. v0.9.437
Jay Freeman (saurik) [Fri, 20 May 2011 06:59:08 +0000 (06:59 +0000)] 
Generalized fix for injector.

13 years agoSupport building for iOS (Universal) on Mac.
Jay Freeman (saurik) [Fri, 20 May 2011 06:59:04 +0000 (06:59 +0000)] 
Support building for iOS (Universal) on Mac.

13 years agoAdd initial support for -arch armv6.
Jay Freeman (saurik) [Fri, 20 May 2011 06:58:58 +0000 (06:58 +0000)] 
Add initial support for -arch armv6.

13 years agoUse dlsym(), not struct Baton.
Jay Freeman (saurik) [Fri, 20 May 2011 06:58:54 +0000 (06:58 +0000)] 
Use dlsym(), not struct Baton.

13 years agoRevert "Restructure Mach/Inject for iOS 4.3."
Jay Freeman (saurik) [Fri, 20 May 2011 06:58:49 +0000 (06:58 +0000)] 
Revert "Restructure Mach/Inject for iOS 4.3."

13 years agoRestructure Mach/Inject for iOS 4.3. v0.9.432
Jay Freeman (saurik) [Mon, 4 Apr 2011 19:53:24 +0000 (19:53 +0000)] 
Restructure Mach/Inject for iOS 4.3.

14 years agoI lost a $ on $cyr at some point during the super transformation.
Jay Freeman (saurik) [Thu, 18 Nov 2010 00:46:07 +0000 (00:46 +0000)] 
I lost a $ on $cyr at some point during the super transformation.

14 years agoLet's just assume that you are on Fink with Darwin.
Jay Freeman (saurik) [Tue, 31 Aug 2010 18:28:46 +0000 (18:28 +0000)] 
Let's just assume that you are on Fink with Darwin.

14 years agoSupport Mac OS 10.5.
Jay Freeman (saurik) [Tue, 31 Aug 2010 18:23:57 +0000 (18:23 +0000)] 
Support Mac OS 10.5.

14 years agoSupport Fink from old build.
Jay Freeman (saurik) [Tue, 31 Aug 2010 18:16:04 +0000 (18:16 +0000)] 
Support Fink from old build.

14 years agoFix ./configure build for cycript -p.
Jay Freeman (saurik) [Sun, 15 Aug 2010 02:47:07 +0000 (02:47 +0000)] 
Fix ./configure build for cycript -p.

14 years agoFix ReplaceAll on multiple statements.
Jay Freeman (saurik) [Tue, 13 Jul 2010 09:15:31 +0000 (09:15 +0000)] 
Fix ReplaceAll on multiple statements.

14 years agoA typo in ObjectLiteral kept us from parsing jQuery.
Jay Freeman (saurik) [Tue, 13 Jul 2010 09:09:04 +0000 (09:09 +0000)] 
A typo in ObjectLiteral kept us from parsing jQuery.

14 years agoStandardized usage of header insulation naming: CYCRIPT_<path.upper().replace('/...
Jay Freeman (saurik) [Mon, 12 Jul 2010 04:08:00 +0000 (04:08 +0000)] 
Standardized usage of header insulation naming: CYCRIPT_<path.upper().replace('/', '_')>_HPP

14 years agoMove CYNext, CYSetLast, and CYForEach to List.hpp.
Jay Freeman (saurik) [Mon, 12 Jul 2010 04:05:17 +0000 (04:05 +0000)] 
Move CYNext, CYSetLast, and CYForEach to List.hpp.

14 years agoUpdate makefile to have Local.hpp.
Jay Freeman (saurik) [Mon, 12 Jul 2010 03:51:36 +0000 (03:51 +0000)] 
Update makefile to have Local.hpp.

14 years agoECMAScript5 no longer supports with(), so we need to not degenerate a let() into...
Jay Freeman (saurik) [Mon, 12 Jul 2010 03:47:18 +0000 (03:47 +0000)] 
ECMAScript5 no longer supports with(), so we need to not degenerate a let() into one... but tomorrow, not today.

14 years agoBuild CYSetLast to simplify some replacements.
Jay Freeman (saurik) [Mon, 12 Jul 2010 03:46:48 +0000 (03:46 +0000)] 
Build CYSetLast to simplify some replacements.

14 years agoRefactor some for loops to a CYForEach() over CYNext<>.
Jay Freeman (saurik) [Mon, 12 Jul 2010 03:24:54 +0000 (03:24 +0000)] 
Refactor some for loops to a CYForEach() over CYNext<>.

14 years agoRule #7
Jay Freeman (saurik) [Mon, 12 Jul 2010 02:26:16 +0000 (02:26 +0000)] 
Rule #7

14 years agoSimplified CYDeclarations::Replace, which should really be rehauled anyway.
Jay Freeman (saurik) [Mon, 12 Jul 2010 01:41:45 +0000 (01:41 +0000)] 
Simplified CYDeclarations::Replace, which should really be rehauled anyway.

14 years agoMerge CYStatement::ReplaceAll with the new CYCompound::Replace version of CYExpressio...
Jay Freeman (saurik) [Mon, 12 Jul 2010 01:32:02 +0000 (01:32 +0000)] 
Merge CYStatement::ReplaceAll with the new CYCompound::Replace version of CYExpression::ReplaceAll and use as CYContext::ReplaceAll.

14 years agoDon't optimize {} to ; in the parser.
Jay Freeman (saurik) [Mon, 12 Jul 2010 01:05:30 +0000 (01:05 +0000)] 
Don't optimize {} to ; in the parser.

14 years agoRemove CYPA and replace with saner inline constant CYAssign::Precedence_.
Jay Freeman (saurik) [Mon, 12 Jul 2010 00:30:02 +0000 (00:30 +0000)] 
Remove CYPA and replace with saner inline constant CYAssign::Precedence_.

14 years agoRemove CYExpression::ReplaceAll into CYCompound::Replace.
Jay Freeman (saurik) [Mon, 12 Jul 2010 00:20:10 +0000 (00:20 +0000)] 
Remove CYExpression::ReplaceAll into CYCompound::Replace.

14 years agoStupid mistake while outputting statement blocks: last statement was getting center...
Jay Freeman (saurik) [Mon, 12 Jul 2010 00:05:31 +0000 (00:05 +0000)] 
Stupid mistake while outputting statement blocks: last statement was getting center flags and vice versa.

14 years agoUpdated copyright (2010) and license (LGPLv3).
Jay Freeman (saurik) [Sat, 10 Jul 2010 23:27:33 +0000 (23:27 +0000)] 
Updated copyright (2010) and license (LGPLv3).

14 years agoPort Objective-C/Replace to C++.
Jay Freeman (saurik) [Thu, 8 Jul 2010 03:14:13 +0000 (03:14 +0000)] 
Port Objective-C/Replace to C++.

14 years agoUse context.Replace when possible.
Jay Freeman (saurik) [Thu, 8 Jul 2010 02:51:24 +0000 (02:51 +0000)] 
Use context.Replace when possible.