]> git.saurik.com Git - cycript.git/log
cycript.git
12 years agoReplace .$cyi and [#] with .pointerTo and .arrayOf.
Jay Freeman (saurik) [Sat, 15 Sep 2012 06:17:24 +0000 (23:17 -0700)] 
Replace .$cyi and [#] with .pointerTo and .arrayOf.

12 years agoMove a line of code so that it matches other cases.
Jay Freeman (saurik) [Sat, 15 Sep 2012 06:15:26 +0000 (23:15 -0700)] 
Move a line of code so that it matches other cases.

12 years agoCorrect a simple typo in a thrown exception message.
Jay Freeman (saurik) [Sat, 15 Sep 2012 06:14:06 +0000 (23:14 -0700)] 
Correct a simple typo in a thrown exception message.

12 years agoSupport type signature flags in sig::Unparse().
Jay Freeman (saurik) [Sat, 15 Sep 2012 06:12:30 +0000 (23:12 -0700)] 
Support type signature flags in sig::Unparse().

12 years agoReplace TypeInstance with Class, which is not Type.
Jay Freeman (saurik) [Sat, 15 Sep 2012 05:33:34 +0000 (22:33 -0700)] 
Replace TypeInstance with Class, which is not Type.

12 years agoProvide a .typeOf() to get a Type of an ObjC Class.
Jay Freeman (saurik) [Fri, 14 Sep 2012 14:14:17 +0000 (07:14 -0700)] 
Provide a .typeOf() to get a Type of an ObjC Class.

12 years agoThrow (don't crash) on parsing invalid specific ids.
Jay Freeman (saurik) [Fri, 14 Sep 2012 14:15:30 +0000 (07:15 -0700)] 
Throw (don't crash) on parsing invalid specific ids.

12 years agoMove FunctionInstance_ into alphabetical order.
Jay Freeman (saurik) [Fri, 14 Sep 2012 14:14:57 +0000 (07:14 -0700)] 
Move FunctionInstance_ into alphabetical order.

12 years agoWe can assume that Instance() will never wrap nil.
Jay Freeman (saurik) [Fri, 14 Sep 2012 14:13:50 +0000 (07:13 -0700)] 
We can assume that Instance() will never wrap nil.

12 years agoExport CYMakeType variants so Objective-C can call.
Jay Freeman (saurik) [Fri, 14 Sep 2012 14:11:24 +0000 (07:11 -0700)] 
Export CYMakeType variants so Objective-C can call.

12 years agoUse Type as the prototype-bridge for metaclasses.
Jay Freeman (saurik) [Fri, 14 Sep 2012 13:09:51 +0000 (06:09 -0700)] 
Use Type as the prototype-bridge for metaclasses.

12 years agoFix cy$getProperty so NSArray .length is primitive.
Jay Freeman (saurik) [Fri, 14 Sep 2012 06:01:19 +0000 (23:01 -0700)] 
Fix cy$getProperty so NSArray .length is primitive.

12 years agoRemove redundant implicit NSString length property.
Jay Freeman (saurik) [Fri, 14 Sep 2012 05:47:42 +0000 (22:47 -0700)] 
Remove redundant implicit NSString length property.

12 years agoCYONify WebUndefined as "undefined" (fixing typo).
Jay Freeman (saurik) [Fri, 14 Sep 2012 03:56:41 +0000 (20:56 -0700)] 
CYONify WebUndefined as "undefined" (fixing typo).

12 years agoOptionally return comments from lexer to highlight.
Jay Freeman (saurik) [Fri, 14 Sep 2012 03:56:09 +0000 (20:56 -0700)] 
Optionally return comments from lexer to highlight.

12 years agoMake minor format changes to lexer (and undefined). v0.9.459
Jay Freeman (saurik) [Fri, 14 Sep 2012 00:29:59 +0000 (17:29 -0700)] 
Make minor format changes to lexer (and undefined).

12 years agoUse .toString() to CYONify Function, printing code.
Jay Freeman (saurik) [Thu, 13 Sep 2012 19:56:34 +0000 (12:56 -0700)] 
Use .toString() to CYONify Function, printing code.

12 years agoImprove definition of CYIsClass using meta classes.
Jay Freeman (saurik) [Thu, 13 Sep 2012 19:19:57 +0000 (12:19 -0700)] 
Improve definition of CYIsClass using meta classes.

12 years agoFactor checks for Instance_ as CYJSValueIsNSObject.
Jay Freeman (saurik) [Thu, 13 Sep 2012 19:12:48 +0000 (12:12 -0700)] 
Factor checks for Instance_ as CYJSValueIsNSObject.

12 years agoUse a dummy space to handle the lower-right corner.
Jay Freeman (saurik) [Thu, 13 Sep 2012 09:41:43 +0000 (02:41 -0700)] 
Use a dummy space to handle the lower-right corner.

12 years agoFix the implementation of cy$toJSON for primitives.
Jay Freeman (saurik) [Thu, 13 Sep 2012 09:02:06 +0000 (02:02 -0700)] 
Fix the implementation of cy$toJSON for primitives.

12 years agoFix @bool .valueOf() to return boolean, not number.
Jay Freeman (saurik) [Thu, 13 Sep 2012 08:52:14 +0000 (01:52 -0700)] 
Fix @bool .valueOf() to return boolean, not number.

12 years agoPrefer __NSCFBoolean to non-__ for iOS compatibility.
Jay Freeman (saurik) [Thu, 13 Sep 2012 08:49:17 +0000 (01:49 -0700)] 
Prefer __NSCFBoolean to non-__ for iOS compatibility.

12 years agoMake devoid argument of CYImplements default false.
Jay Freeman (saurik) [Thu, 13 Sep 2012 08:49:03 +0000 (01:49 -0700)] 
Make devoid argument of CYImplements default false.

12 years agoRemove and compress some dead code in CYDisplayOutput.
Jay Freeman (saurik) [Thu, 13 Sep 2012 07:03:44 +0000 (00:03 -0700)] 
Remove and compress some dead code in CYDisplayOutput.

12 years agoUse ?syntax by default and have it control input.
Jay Freeman (saurik) [Thu, 13 Sep 2012 06:55:49 +0000 (23:55 -0700)] 
Use ?syntax by default and have it control input.

12 years agoWork around missing column_address with left/right.
Jay Freeman (saurik) [Thu, 13 Sep 2012 06:50:42 +0000 (23:50 -0700)] 
Work around missing column_address with left/right.

12 years agoAfter a window resize, calculate offset, not end.
Jay Freeman (saurik) [Thu, 13 Sep 2012 06:20:16 +0000 (23:20 -0700)] 
After a window resize, calculate offset, not end.

12 years agoFix display mistakes caused by multi-line history.
Jay Freeman (saurik) [Thu, 13 Sep 2012 06:19:29 +0000 (23:19 -0700)] 
Fix display mistakes caused by multi-line history.

12 years agoFold singular CYDisplayPrompt into CYDisplayUpdate.
Jay Freeman (saurik) [Thu, 13 Sep 2012 06:17:54 +0000 (23:17 -0700)] 
Fold singular CYDisplayPrompt into CYDisplayUpdate.

12 years agoHighlight NULL, YES, and NO identifiers as constants.
Jay Freeman (saurik) [Thu, 13 Sep 2012 06:17:10 +0000 (23:17 -0700)] 
Highlight NULL, YES, and NO identifiers as constants.

12 years agoAdd some occasionally-missing @'s lost to type cast.
Jay Freeman (saurik) [Wed, 12 Sep 2012 05:59:44 +0000 (22:59 -0700)] 
Add some occasionally-missing @'s lost to type cast.

12 years agoRevert a minor style change that broke ';function'.
Jay Freeman (saurik) [Wed, 12 Sep 2012 05:49:07 +0000 (22:49 -0700)] 
Revert a minor style change that broke ';function'.

12 years agoSyntax highlight nil, an identifier, as a constant.
Jay Freeman (saurik) [Wed, 12 Sep 2012 05:31:53 +0000 (22:31 -0700)] 
Syntax highlight nil, an identifier, as a constant.

12 years agoRemove redundant @ usage from CYON data structures.
Jay Freeman (saurik) [Wed, 12 Sep 2012 05:31:29 +0000 (22:31 -0700)] 
Remove redundant @ usage from CYON data structures.

12 years agoSyntax highlight commands as the user types them.
Jay Freeman (saurik) [Wed, 12 Sep 2012 02:45:37 +0000 (19:45 -0700)] 
Syntax highlight commands as the user types them.

12 years agoAdd a new ?syntax option to syntax highlight output.
Jay Freeman (saurik) [Tue, 11 Sep 2012 22:12:23 +0000 (15:12 -0700)] 
Add a new ?syntax option to syntax highlight output.

12 years agoReplace use of FILE* with std::ostream* in Console.
Jay Freeman (saurik) [Tue, 11 Sep 2012 20:52:12 +0000 (13:52 -0700)] 
Replace use of FILE* with std::ostream* in Console.

12 years agoDocument a deficiency in the piped client reader.
Jay Freeman (saurik) [Tue, 11 Sep 2012 20:00:37 +0000 (13:00 -0700)] 
Document a deficiency in the piped client reader.

12 years agoUse a single std::istream& to replace file_/data_.
Jay Freeman (saurik) [Tue, 11 Sep 2012 19:58:30 +0000 (12:58 -0700)] 
Use a single std::istream& to replace file_/data_.

12 years agoCommit the large accumulation of todo.txt changes.
Jay Freeman (saurik) [Tue, 11 Sep 2012 16:46:21 +0000 (09:46 -0700)] 
Commit the large accumulation of todo.txt changes.

12 years agoDocument a potential change to FunctionInstance.
Jay Freeman (saurik) [Tue, 11 Sep 2012 16:43:28 +0000 (09:43 -0700)] 
Document a potential change to FunctionInstance.

12 years agoMerge CYCastNSObject{,_}, an obsolete distinction.
Jay Freeman (saurik) [Tue, 11 Sep 2012 16:42:52 +0000 (09:42 -0700)] 
Merge CYCastNSObject{,_}, an obsolete distinction.

12 years agoCorrect a simple typo in a thrown exception message.
Jay Freeman (saurik) [Tue, 11 Sep 2012 16:42:08 +0000 (09:42 -0700)] 
Correct a simple typo in a thrown exception message.

12 years agoSupport recent Mac OS X flex --version strings.
Conrad Kramer [Sat, 1 Sep 2012 22:25:29 +0000 (15:25 -0700)] 
Support recent Mac OS X flex --version strings.

12 years agoSupport ?expand when used with Objective-C strings. v0.9.458
Jay Freeman (saurik) [Sun, 8 Jul 2012 19:39:40 +0000 (12:39 -0700)] 
Support ?expand when used with Objective-C strings.

12 years agoPreempt accidental fall-through setting properties.
Jay Freeman (saurik) [Mon, 2 Jul 2012 07:05:49 +0000 (00:05 -0700)] 
Preempt accidental fall-through setting properties.

12 years agoRemove "Depends: mobilesubstrate" from iOS control.
Jay Freeman (saurik) [Mon, 18 Jun 2012 06:23:14 +0000 (23:23 -0700)] 
Remove "Depends: mobilesubstrate" from iOS control.

12 years agoReplace regex with prefix substr for tab-complete.
Jay Freeman (saurik) [Sun, 17 Jun 2012 09:23:08 +0000 (02:23 -0700)] 
Replace regex with prefix substr for tab-complete.

12 years agoUse sel_registerName() instead of new Selector().
Jay Freeman (saurik) [Sun, 17 Jun 2012 01:04:36 +0000 (18:04 -0700)] 
Use sel_registerName() instead of new Selector().

12 years agoDo not assume lookahead (wish I could force it).
Jay Freeman (saurik) [Sun, 17 Jun 2012 00:44:41 +0000 (17:44 -0700)] 
Do not assume lookahead (wish I could force it).

12 years agoAssume we do /not/ have lookahead tokens for lexer.
Jay Freeman (saurik) [Sat, 16 Jun 2012 03:59:17 +0000 (20:59 -0700)] 
Assume we do /not/ have lookahead tokens for lexer.

12 years agoRe-thread LexSet{Statement,RegExp} to fix division.
Jay Freeman (saurik) [Fri, 15 Jun 2012 05:10:09 +0000 (22:10 -0700)] 
Re-thread LexSet{Statement,RegExp} to fix division.

12 years agoAllow usage of C++11 auto keyword.
Jay Freeman (saurik) [Wed, 13 Jun 2012 00:17:42 +0000 (17:17 -0700)] 
Allow usage of C++11 auto keyword.

12 years agoUse JSGlobalContextRef for context_; retain/release.
Jay Freeman (saurik) [Sun, 10 Jun 2012 01:46:44 +0000 (18:46 -0700)] 
Use JSGlobalContextRef for context_; retain/release.

12 years agoRename uint64_6 to uint64_t, correcting a typo.
Jay Freeman (saurik) [Sun, 10 Jun 2012 01:45:42 +0000 (18:45 -0700)] 
Rename uint64_6 to uint64_t, correcting a typo.

12 years agoUse associated objects to allow expando properties.
Jay Freeman (saurik) [Sat, 9 Jun 2012 19:59:18 +0000 (12:59 -0700)] 
Use associated objects to allow expando properties.

12 years agoCorrectly defer this-resolution on ECMA6 fat-arrows.
Jay Freeman (saurik) [Fri, 8 Jun 2012 22:22:30 +0000 (15:22 -0700)] 
Correctly defer this-resolution on ECMA6 fat-arrows.

12 years agoSplit CYLast into CYSetLast (eol) and CYGetLast.
Jay Freeman (saurik) [Fri, 8 Jun 2012 22:12:53 +0000 (15:12 -0700)] 
Split CYLast into CYSetLast (eol) and CYGetLast.

12 years agoRefactor CYSetLast to return a reference to the eol.
Jay Freeman (saurik) [Fri, 8 Jun 2012 22:03:59 +0000 (15:03 -0700)] 
Refactor CYSetLast to return a reference to the eol.

12 years agoImplement (modified) ECMA6 array comprehensions.
Jay Freeman (saurik) [Fri, 8 Jun 2012 20:40:47 +0000 (13:40 -0700)] 
Implement (modified) ECMA6 array comprehensions.

12 years agoCompensate for comprehensions getting in for !in.
Jay Freeman (saurik) [Fri, 8 Jun 2012 19:47:49 +0000 (12:47 -0700)] 
Compensate for comprehensions getting in for !in.

12 years agoWhen messages took no arguments, type returned NULL. v0.9.457
Jay Freeman (saurik) [Fri, 8 Jun 2012 10:11:13 +0000 (03:11 -0700)] 
When messages took no arguments, type returned NULL.

12 years agoAdd static size and alignment properties to Type.
Jay Freeman (saurik) [Fri, 8 Jun 2012 10:09:38 +0000 (03:09 -0700)] 
Add static size and alignment properties to Type.

12 years agoAdd missing $cym as a bound variable in CYCategory.
Jay Freeman (saurik) [Fri, 8 Jun 2012 09:51:13 +0000 (02:51 -0700)] 
Add missing $cym as a bound variable in CYCategory.

12 years agoAllow type signatures to be specified on messages.
Jay Freeman (saurik) [Fri, 8 Jun 2012 09:13:15 +0000 (02:13 -0700)] 
Allow type signatures to be specified on messages.

12 years agoBridge types for u?longlong, [US]Int64, and u?int*_t.
Jay Freeman (saurik) [Fri, 8 Jun 2012 09:10:36 +0000 (02:10 -0700)] 
Bridge types for u?longlong, [US]Int64, and u?int*_t.

12 years agoPeel away CYCompound layers to fix tab completion. v0.9.456
Jay Freeman (saurik) [Thu, 7 Jun 2012 23:20:47 +0000 (16:20 -0700)] 
Peel away CYCompound layers to fix tab completion.

12 years agoFix ;@implementation by adding it to LexSetStatement.
Jay Freeman (saurik) [Thu, 7 Jun 2012 22:50:33 +0000 (15:50 -0700)] 
Fix ;@implementation by adding it to LexSetStatement.

12 years agoUpdate the copyright: 2009-2010 is now 2009-2012.
Jay Freeman (saurik) [Thu, 7 Jun 2012 21:36:09 +0000 (14:36 -0700)] 
Update the copyright: 2009-2010 is now 2009-2012.

12 years agoReorganize grammar and add more labelled sections.
Jay Freeman (saurik) [Thu, 7 Jun 2012 21:34:23 +0000 (14:34 -0700)] 
Reorganize grammar and add more labelled sections.

12 years agoAllow ECMA6 property-name-is-also-the-value shortcut.
Jay Freeman (saurik) [Thu, 7 Jun 2012 20:52:27 +0000 (13:52 -0700)] 
Allow ECMA6 property-name-is-also-the-value shortcut.

12 years agoRename NameAndValue and add trailing-, per ECMA6.
Jay Freeman (saurik) [Thu, 7 Jun 2012 20:49:46 +0000 (13:49 -0700)] 
Rename NameAndValue and add trailing-, per ECMA6.

12 years agoMemberAccess is allowed Word, not just Identifier.
Jay Freeman (saurik) [Thu, 7 Jun 2012 20:44:39 +0000 (13:44 -0700)] 
MemberAccess is allowed Word, not just Identifier.

12 years agoFold the E lexer helper macro into RegExp lexeme.
Jay Freeman (saurik) [Thu, 7 Jun 2012 20:43:05 +0000 (13:43 -0700)] 
Fold the E lexer helper macro into RegExp lexeme.

12 years agoA !in token should technically count as a Word.
Jay Freeman (saurik) [Thu, 7 Jun 2012 20:19:24 +0000 (13:19 -0700)] 
A !in token should technically count as a Word.

12 years agoAllow of to be used as Identifier, not just Word.
Jay Freeman (saurik) [Thu, 7 Jun 2012 19:59:38 +0000 (12:59 -0700)] 
Allow of to be used as Identifier, not just Word.

12 years agoWhile let might not be Identifier, it sure is Word.
Jay Freeman (saurik) [Thu, 7 Jun 2012 19:49:10 +0000 (12:49 -0700)] 
While let might not be Identifier, it sure is Word.

12 years agoRename CYForEachIn to CYForOf to better match ECMA6.
Jay Freeman (saurik) [Thu, 7 Jun 2012 04:06:39 +0000 (21:06 -0700)] 
Rename CYForEachIn to CYForOf to better match ECMA6.

12 years agoAdd support for ECMA6 for-of iteration statements.
Jay Freeman (saurik) [Thu, 7 Jun 2012 04:04:20 +0000 (21:04 -0700)] 
Add support for ECMA6 for-of iteration statements.

12 years agoAdd lexer-level brace hack back for => {} syntax.
Jay Freeman (saurik) [Thu, 7 Jun 2012 03:52:40 +0000 (20:52 -0700)] 
Add lexer-level brace hack back for => {} syntax.

12 years agoReplace a literal 0 with the symbolic yyeof_.
Jay Freeman (saurik) [Thu, 7 Jun 2012 03:51:50 +0000 (20:51 -0700)] 
Replace a literal 0 with the symbolic yyeof_.

12 years agoIntroduce ECMA 6 fat-arrow lambda function syntax.
Jay Freeman (saurik) [Wed, 6 Jun 2012 23:05:33 +0000 (16:05 -0700)] 
Introduce ECMA 6 fat-arrow lambda function syntax.

12 years agoMake Expression always return a compact CYCompound.
Jay Freeman (saurik) [Wed, 6 Jun 2012 23:04:21 +0000 (16:04 -0700)] 
Make Expression always return a compact CYCompound.

12 years agoAdd a debug.sh script that configures with -g3 -O0.
Jay Freeman (saurik) [Wed, 6 Jun 2012 21:27:32 +0000 (14:27 -0700)] 
Add a debug.sh script that configures with -g3 -O0.

12 years agoRemove RelationalExpression_: merge to parent.
Jay Freeman (saurik) [Wed, 6 Jun 2012 21:14:43 +0000 (14:14 -0700)] 
Remove RelationalExpression_: merge to parent.

12 years agoRemove AssignmentExpression_: merge to parent.
Jay Freeman (saurik) [Wed, 6 Jun 2012 21:11:30 +0000 (14:11 -0700)] 
Remove AssignmentExpression_: merge to parent.

12 years agoRemove UnaryAssigneeExpression: merge to parent.
Jay Freeman (saurik) [Wed, 6 Jun 2012 21:08:04 +0000 (14:08 -0700)] 
Remove UnaryAssigneeExpression: merge to parent.

12 years agoRemove CYDriver::statement_: we always have lookahead.
Jay Freeman (saurik) [Wed, 6 Jun 2012 21:00:59 +0000 (14:00 -0700)] 
Remove CYDriver::statement_: we always have lookahead.

12 years agoRemove unneeded cy::parser:: qualitifications.
Jay Freeman (saurik) [Wed, 6 Jun 2012 20:53:01 +0000 (13:53 -0700)] 
Remove unneeded cy::parser:: qualitifications.

12 years agoRemove redundant grammar rules: NoRE, NoIn, NoBF.
Jay Freeman (saurik) [Wed, 6 Jun 2012 20:43:23 +0000 (13:43 -0700)] 
Remove redundant grammar rules: NoRE, NoIn, NoBF.

12 years agoStandardize grammar rule ordering: *_, *, *Opt.
Jay Freeman (saurik) [Wed, 6 Jun 2012 05:47:18 +0000 (22:47 -0700)] 
Standardize grammar rule ordering: *_, *, *Opt.

12 years agoNew syntax: let declarations, initialised arguments.
Jay Freeman (saurik) [Wed, 6 Jun 2012 05:39:30 +0000 (22:39 -0700)] 
New syntax: let declarations, initialised arguments.

12 years agoPreserve declaration initialisers replacing for-each.
Jay Freeman (saurik) [Tue, 5 Jun 2012 12:07:55 +0000 (05:07 -0700)] 
Preserve declaration initialisers replacing for-each.

12 years agoPrune undefined arguments in final position of calls.
Jay Freeman (saurik) [Tue, 5 Jun 2012 11:57:33 +0000 (04:57 -0700)] 
Prune undefined arguments in final position of calls.

12 years agoPass var declarations through non-local functions.
Jay Freeman (saurik) [Tue, 5 Jun 2012 11:56:14 +0000 (04:56 -0700)] 
Pass var declarations through non-local functions.

12 years agoRemove as many double-replaces as could be found.
Jay Freeman (saurik) [Tue, 5 Jun 2012 10:48:55 +0000 (03:48 -0700)] 
Remove as many double-replaces as could be found.

12 years agoReimplement desugaring of let: function, not with.
Jay Freeman (saurik) [Tue, 5 Jun 2012 10:21:41 +0000 (03:21 -0700)] 
Reimplement desugaring of let: function, not with.

12 years agoAvoid deep replace when lifting for-in assignments.
Jay Freeman (saurik) [Tue, 5 Jun 2012 10:21:23 +0000 (03:21 -0700)] 
Avoid deep replace when lifting for-in assignments.

12 years agoIf CYEmpty lowers to NULL, CYStatement::Single crashes.
Jay Freeman (saurik) [Tue, 5 Jun 2012 09:45:33 +0000 (02:45 -0700)] 
If CYEmpty lowers to NULL, CYStatement::Single crashes.