]> git.saurik.com Git - cycript.git/log
cycript.git
11 years agoPrefer JavaScriptCore to pkg-config for WebKit.
Jay Freeman (saurik) [Thu, 20 Jun 2013 09:49:48 +0000 (02:49 -0700)] 
Prefer JavaScriptCore to pkg-config for WebKit.

11 years agoPrevent -framework configuration multiplying LIBS.
Jay Freeman (saurik) [Thu, 20 Jun 2013 09:33:15 +0000 (02:33 -0700)] 
Prevent -framework configuration multiplying LIBS.

11 years agoSolve MacPorts compatibility (add -I's to CFLAGS).
Jay Freeman (saurik) [Thu, 20 Jun 2013 09:31:38 +0000 (02:31 -0700)] 
Solve MacPorts compatibility (add -I's to CFLAGS).

11 years agoRemove AX_CHECK_GNU_MAKE as we no longer use gmake.
Jay Freeman (saurik) [Wed, 19 Jun 2013 09:13:01 +0000 (02:13 -0700)] 
Remove AX_CHECK_GNU_MAKE as we no longer use gmake.

11 years agoUpgrade copyright notice (2013, mk, sh, GPLv3).
Jay Freeman (saurik) [Mon, 17 Jun 2013 10:57:32 +0000 (03:57 -0700)] 
Upgrade copyright notice (2013, mk, sh, GPLv3).

11 years agoRemove Makefile.in from .gitignore (forgot that).
Jay Freeman (saurik) [Mon, 17 Jun 2013 05:55:33 +0000 (22:55 -0700)] 
Remove Makefile.in from .gitignore (forgot that).

11 years agoInclude Makefile.in to drop automake dependency.
Jay Freeman (saurik) [Sat, 15 Jun 2013 21:28:38 +0000 (14:28 -0700)] 
Include Makefile.in to drop automake dependency.

11 years agoDon't rely on cc1obj for Objective-C struct tables.
Jay Freeman (saurik) [Sat, 15 Jun 2013 21:27:33 +0000 (14:27 -0700)] 
Don't rely on cc1obj for Objective-C struct tables.

11 years agoClean up a couple #include and build dependencies.
Jay Freeman (saurik) [Sat, 15 Jun 2013 21:22:49 +0000 (14:22 -0700)] 
Clean up a couple #include and build dependencies.

11 years agoRemove XXX as cur_term is not part of readline.
Jay Freeman (saurik) [Sat, 15 Jun 2013 18:32:29 +0000 (11:32 -0700)] 
Remove XXX as cur_term is not part of readline.

11 years agoIsolate linkage of libreadline and libtermcap.
Jay Freeman (saurik) [Sat, 15 Jun 2013 10:44:26 +0000 (03:44 -0700)] 
Isolate linkage of libreadline and libtermcap.

11 years agoStop using non-portable (GNU) Makefile features.
Jay Freeman (saurik) [Sat, 15 Jun 2013 10:06:13 +0000 (03:06 -0700)] 
Stop using non-portable (GNU) Makefile features.

11 years agoGenerate new configure script from autoconf inputs.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:38:42 +0000 (00:38 -0700)] 
Generate new configure script from autoconf inputs.

11 years agoExplicitly pass empty value for in-place extension.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:37:28 +0000 (00:37 -0700)] 
Explicitly pass empty value for in-place extension.

11 years agoFix support for Bison >>2.3 by capitalizing path.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:37:03 +0000 (00:37 -0700)] 
Fix support for Bison >>2.3 by capitalizing path.

11 years agoAvoid libapr's .la from breaking libiconv search.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:36:36 +0000 (00:36 -0700)] 
Avoid libapr's .la from breaking libiconv search.

11 years agoAdd libdl to the list of libraries explicitly linked.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:36:10 +0000 (00:36 -0700)] 
Add libdl to the list of libraries explicitly linked.

11 years agoFix bridge definition of UIImageJPEGRepresentation.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:35:34 +0000 (00:35 -0700)] 
Fix bridge definition of UIImageJPEGRepresentation.

11 years agoAdd all dependency m4 scripts to the repository.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:34:06 +0000 (00:34 -0700)] 
Add all dependency m4 scripts to the repository.

11 years agoProtect against fall-through of color selection.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:29:58 +0000 (07:29 +0000)] 
Protect against fall-through of color selection.

11 years agoPort build environment to automake (break -arch).
Jay Freeman (saurik) [Sat, 15 Jun 2013 04:41:50 +0000 (21:41 -0700)] 
Port build environment to automake (break -arch).

11 years agoFurther improvements to the autoconf scripting.
Jay Freeman (saurik) [Fri, 14 Jun 2013 07:36:59 +0000 (00:36 -0700)] 
Further improvements to the autoconf scripting.

11 years agoSimplify autogen.sh by just updating configure.ac.
Jay Freeman (saurik) [Wed, 12 Jun 2013 20:11:26 +0000 (13:11 -0700)] 
Simplify autogen.sh by just updating configure.ac.

11 years agoRemove a couple obsolete rules from the makefile.
Jay Freeman (saurik) [Wed, 12 Jun 2013 19:27:41 +0000 (12:27 -0700)] 
Remove a couple obsolete rules from the makefile.

11 years agoImprove isolation of ObjectiveC syntax filter code.
Jay Freeman (saurik) [Wed, 12 Jun 2013 07:03:14 +0000 (00:03 -0700)] 
Improve isolation of ObjectiveC syntax filter code.

11 years agoCast NSUInteger arguments to size_t for %zu format.
Jay Freeman (saurik) [Wed, 12 Jun 2013 07:02:56 +0000 (00:02 -0700)] 
Cast NSUInteger arguments to size_t for %zu format.

11 years agoFix a couple simple C++ errors found by clang.
Jay Freeman (saurik) [Wed, 12 Jun 2013 07:02:43 +0000 (00:02 -0700)] 
Fix a couple simple C++ errors found by clang.

11 years agoRename lex.cy.c to .cpp (it's actually a C++ file).
Jay Freeman (saurik) [Wed, 12 Jun 2013 07:02:22 +0000 (00:02 -0700)] 
Rename lex.cy.c to .cpp (it's actually a C++ file).

11 years agoUpgrade simulator compilation for Xcode 4.6 clang.
Jay Freeman (saurik) [Wed, 12 Jun 2013 07:01:55 +0000 (00:01 -0700)] 
Upgrade simulator compilation for Xcode 4.6 clang.

11 years agoUse explicit typed value for CYCatch error return.
Jay Freeman (saurik) [Wed, 12 Jun 2013 07:01:12 +0000 (00:01 -0700)] 
Use explicit typed value for CYCatch error return.

11 years agoForgot earlier yy modification: CYTypeArrayOf type.
Jay Freeman (saurik) [Wed, 12 Jun 2013 06:59:58 +0000 (23:59 -0700)] 
Forgot earlier yy modification: CYTypeArrayOf type.

11 years agoFix a typo in the Bridge definition for dl_info.
Jay Freeman (saurik) [Thu, 30 May 2013 22:47:58 +0000 (15:47 -0700)] 
Fix a typo in the Bridge definition for dl_info.

11 years agoKeep usage of dlerror() from relying on dlsym().
Jay Freeman (saurik) [Thu, 30 May 2013 22:46:54 +0000 (15:46 -0700)] 
Keep usage of dlerror() from relying on dlsym().

11 years agoCache dlsym() lookups for bridged Functor objects.
Jay Freeman (saurik) [Thu, 30 May 2013 22:40:21 +0000 (15:40 -0700)] 
Cache dlsym() lookups for bridged Functor objects.

11 years agoAllow expressions as array subscripts in @encode.
Jay Freeman (saurik) [Thu, 21 Mar 2013 06:45:48 +0000 (23:45 -0700)] 
Allow expressions as array subscripts in @encode.

12 years agoUse correct variable to verify thread state access.
Jay Freeman (saurik) [Wed, 7 Nov 2012 15:23:09 +0000 (07:23 -0800)] 
Use correct variable to verify thread state access.

12 years agoCorrect incorrect escape sequence for $default grep.
Jay Freeman (saurik) [Wed, 7 Nov 2012 15:22:38 +0000 (07:22 -0800)] 
Correct incorrect escape sequence for $default grep.

12 years agoMove LexPopIn to after the terminating lexer token.
Jay Freeman (saurik) [Sun, 23 Sep 2012 17:02:37 +0000 (10:02 -0700)] 
Move LexPopIn to after the terminating lexer token.

12 years agoDetect all lexer state errors, and show line number.
Jay Freeman (saurik) [Sun, 23 Sep 2012 15:54:35 +0000 (08:54 -0700)] 
Detect all lexer state errors, and show line number.

12 years agoTheoretically fix bug with in operators in messages.
Jay Freeman (saurik) [Sun, 23 Sep 2012 15:54:05 +0000 (08:54 -0700)] 
Theoretically fix bug with in operators in messages.

12 years agoParse bison output to prevent LexSetRegExp mistakes.
Jay Freeman (saurik) [Sun, 23 Sep 2012 15:27:54 +0000 (08:27 -0700)] 
Parse bison output to prevent LexSetRegExp mistakes.

12 years agoFix regex literal parsing in field/property lists.
Jay Freeman (saurik) [Sun, 23 Sep 2012 15:26:35 +0000 (08:26 -0700)] 
Fix regex literal parsing in field/property lists.

12 years agoFix regex literal parse after return, throw, and =>.
Jay Freeman (saurik) [Sun, 23 Sep 2012 14:52:02 +0000 (07:52 -0700)] 
Fix regex literal parse after return, throw, and =>.

12 years agoAllow unnamed arguments with CYTypedParameter. v0.9.461
Jay Freeman (saurik) [Sun, 16 Sep 2012 03:45:32 +0000 (20:45 -0700)] 
Allow unnamed arguments with CYTypedParameter.

12 years agoUse CYStringify in Type.toCYON to handle quotations.
Jay Freeman (saurik) [Sun, 16 Sep 2012 03:45:03 +0000 (20:45 -0700)] 
Use CYStringify in Type.toCYON to handle quotations.

12 years agoUse new ^ syntax to bridge Blocks (with @ offset). v0.9.460
Jay Freeman (saurik) [Sat, 15 Sep 2012 16:16:55 +0000 (09:16 -0700)] 
Use new ^ syntax to bridge Blocks (with @ offset).

12 years agoAllow the use of void as a primitive data type.
Jay Freeman (saurik) [Sat, 15 Sep 2012 15:30:28 +0000 (08:30 -0700)] 
Allow the use of void as a primitive data type.

12 years agoAdd BOOL and bool for boolean (people use those).
Jay Freeman (saurik) [Sat, 15 Sep 2012 15:29:48 +0000 (08:29 -0700)] 
Add BOOL and bool for boolean (people use those).

12 years agoChange void to BlockLiteral in copy/dispose types.
Jay Freeman (saurik) [Sat, 15 Sep 2012 15:17:52 +0000 (08:17 -0700)] 
Change void to BlockLiteral in copy/dispose types.

12 years agoAdd Objective-C's id type as a syntax highlight.
Jay Freeman (saurik) [Sat, 15 Sep 2012 15:09:15 +0000 (08:09 -0700)] 
Add Objective-C's id type as a syntax highlight.

12 years agoMove definitions of Block datatypes to global scope.
Jay Freeman (saurik) [Sat, 15 Sep 2012 15:04:55 +0000 (08:04 -0700)] 
Move definitions of Block datatypes to global scope.

12 years agoFactor common code out of FFI closure adapters.
Jay Freeman (saurik) [Sat, 15 Sep 2012 15:01:06 +0000 (08:01 -0700)] 
Factor common code out of FFI closure adapters.

12 years agoAllow Objective-C blocks as a short Functor syntax.
Jay Freeman (saurik) [Sat, 15 Sep 2012 13:09:57 +0000 (06:09 -0700)] 
Allow Objective-C blocks as a short Functor syntax.

12 years agoReorganize typed identifier storage for other uses.
Jay Freeman (saurik) [Sat, 15 Sep 2012 11:34:50 +0000 (04:34 -0700)] 
Reorganize typed identifier storage for other uses.

12 years agoAllow Type objects to have associated identifiers.
Jay Freeman (saurik) [Sat, 15 Sep 2012 08:38:22 +0000 (01:38 -0700)] 
Allow Type objects to have associated identifiers.

12 years agoAdd @encode() support and use its grammar for types.
Jay Freeman (saurik) [Sat, 15 Sep 2012 08:28:25 +0000 (01:28 -0700)] 
Add @encode() support and use its grammar for types.

12 years agoAdd .constant to Type (although encoding is weird).
Jay Freeman (saurik) [Sat, 15 Sep 2012 06:35:31 +0000 (23:35 -0700)] 
Add .constant to Type (although encoding is weird).

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.