]> git.saurik.com Git - cycript.git/log
cycript.git
15 years agoFixed a few bugs in the cross-compile and a GNUstep related casting issue.
Jay Freeman (saurik) [Sat, 31 Oct 2009 20:12:47 +0000 (20:12 +0000)] 
Fixed a few bugs in the cross-compile and a GNUstep related casting issue.

15 years agoCompletely reworked how process attach works: now the console is a server for the...
Jay Freeman (saurik) [Sat, 31 Oct 2009 20:05:46 +0000 (20:05 +0000)] 
Completely reworked how process attach works: now the console is a server for the client, and it directly injects a payload into the attachee.

15 years agoForgot to add @ to ObjectiveC lexer for @"" support.
Jay Freeman (saurik) [Sat, 31 Oct 2009 18:47:17 +0000 (18:47 +0000)] 
Forgot to add @ to ObjectiveC lexer for @"" support.

15 years agoImplemented Mach injection: Cycript into any process.
Jay Freeman (saurik) [Sat, 31 Oct 2009 10:23:51 +0000 (10:23 +0000)] 
Implemented Mach injection: Cycript into any process.

15 years agoFixed a stupid bug, caused by GNUstep porting, that led to infinite loops in CYONific...
Jay Freeman (saurik) [Sat, 31 Oct 2009 05:36:16 +0000 (05:36 +0000)] 
Fixed a stupid bug, caused by GNUstep porting, that led to infinite loops in CYONification.

15 years agoFixed a stupid bug in message sending that was introduced by GNUstep porting work.
Jay Freeman (saurik) [Sat, 31 Oct 2009 05:26:02 +0000 (05:26 +0000)] 
Fixed a stupid bug in message sending that was introduced by GNUstep porting work.

15 years agoFixed a FreeBSD gcc bug: function pointer variables can't begin with a dollar.
Jay Freeman (saurik) [Sat, 31 Oct 2009 03:46:56 +0000 (03:46 +0000)] 
Fixed a FreeBSD gcc bug: function pointer variables can't begin with a dollar.

15 years agoFixed a minor packaging SNAFU that broke the iPhone build.
Jay Freeman (saurik) [Sat, 31 Oct 2009 03:43:40 +0000 (03:43 +0000)] 
Fixed a minor packaging SNAFU that broke the iPhone build.

15 years agoFinished porting to GNUstep, although it doesn't actually work (but it /did/ find...
Jay Freeman (saurik) [Sat, 31 Oct 2009 03:39:23 +0000 (03:39 +0000)] 
Finished porting to GNUstep, although it doesn't actually work (but it /did/ find a bug in NeXT support...).

15 years agoPorted back to the iPhone.
Jay Freeman (saurik) [Sat, 31 Oct 2009 02:29:50 +0000 (02:29 +0000)] 
Ported back to the iPhone.

15 years agoFurther attempts at making Cycript portable to GNUstep.
Jay Freeman (saurik) [Sat, 31 Oct 2009 02:15:25 +0000 (02:15 +0000)] 
Further attempts at making Cycript portable to GNUstep.

15 years agoFixed make extra in cross-compile.
Jay Freeman (saurik) [Sat, 31 Oct 2009 00:05:01 +0000 (00:05 +0000)] 
Fixed make extra in cross-compile.

15 years agoForgot to add lexer to clean.
Jay Freeman (saurik) [Fri, 30 Oct 2009 23:35:53 +0000 (23:35 +0000)] 
Forgot to add lexer to clean.

15 years agoSetup iPhone cross-compilation and runtime abstracted JSObjectMakeArray support.
Jay Freeman (saurik) [Fri, 30 Oct 2009 23:31:25 +0000 (23:31 +0000)] 
Setup iPhone cross-compilation and runtime abstracted JSObjectMakeArray support.

15 years agoAdded -p <name> and updated todo.
Jay Freeman (saurik) [Fri, 30 Oct 2009 23:11:53 +0000 (23:11 +0000)] 
Added -p <name> and updated todo.

15 years agoAdded readline history writing and fixed NoRE unary * case.
Jay Freeman (saurik) [Fri, 30 Oct 2009 20:06:34 +0000 (20:06 +0000)] 
Added readline history writing and fixed NoRE unary * case.

15 years agoMostly fixed the E4X situation, checkpointing for NoRE hell.
Jay Freeman (saurik) [Fri, 30 Oct 2009 19:21:57 +0000 (19:21 +0000)] 
Mostly fixed the E4X situation, checkpointing for NoRE hell.

15 years agoFixed the E4X attribute parser and removed some of the E4X contextual extensions.
Jay Freeman (saurik) [Thu, 29 Oct 2009 03:11:41 +0000 (03:11 +0000)] 
Fixed the E4X attribute parser and removed some of the E4X contextual extensions.

15 years agoMostly fixed the unary star problem.
Jay Freeman (saurik) [Thu, 29 Oct 2009 02:14:01 +0000 (02:14 +0000)] 
Mostly fixed the unary star problem.

15 years agoRemoved obsolete file from Darwin-arm.mk.
Jay Freeman (saurik) [Thu, 29 Oct 2009 00:52:09 +0000 (00:52 +0000)] 
Removed obsolete file from Darwin-arm.mk.

15 years agoFixed sign conversion in stringify and dealt with endian-ness of iconv.
Jay Freeman (saurik) [Wed, 28 Oct 2009 05:06:36 +0000 (05:06 +0000)] 
Fixed sign conversion in stringify and dealt with endian-ness of iconv.

15 years agoAdded -DCY_EXECUTE to FreeBSD.
Jay Freeman (saurik) [Wed, 28 Oct 2009 04:59:18 +0000 (04:59 +0000)] 
Added -DCY_EXECUTE to FreeBSD.

15 years agoAdded the -l for FreeBSD to WebKit.
Jay Freeman (saurik) [Wed, 28 Oct 2009 04:57:53 +0000 (04:57 +0000)] 
Added the -l for FreeBSD to WebKit.

15 years agoWorked around a stupid spec issue with iconv().
Jay Freeman (saurik) [Wed, 28 Oct 2009 04:52:34 +0000 (04:52 +0000)] 
Worked around a stupid spec issue with iconv().

15 years agoFinally got this damned thing actually executing JavaScript on Linux.
Jay Freeman (saurik) [Wed, 28 Oct 2009 03:39:54 +0000 (03:39 +0000)] 
Finally got this damned thing actually executing JavaScript on Linux.

15 years agoAdded getPropertyNames bridging (albeit lame) and fixed exception handling through...
Jay Freeman (saurik) [Wed, 28 Oct 2009 01:27:41 +0000 (01:27 +0000)] 
Added getPropertyNames bridging (albeit lame) and fixed exception handling through ffi_call for Objective-C (via hooks_).

15 years agoSimplified CYMessage::Replace using $L.
Jay Freeman (saurik) [Tue, 27 Oct 2009 22:46:22 +0000 (22:46 +0000)] 
Simplified CYMessage::Replace using $L.

15 years agoRemoved make.sh: why not?
Jay Freeman (saurik) [Tue, 27 Oct 2009 22:35:19 +0000 (22:35 +0000)] 
Removed make.sh: why not?

15 years agoFixed an invalid single-line comment in Flex.
Jay Freeman (saurik) [Tue, 27 Oct 2009 22:33:32 +0000 (22:33 +0000)] 
Fixed an invalid single-line comment in Flex.

15 years agoRewrote for-each-in in terms of let, and replaced let with with.
Jay Freeman (saurik) [Tue, 27 Oct 2009 22:33:05 +0000 (22:33 +0000)] 
Rewrote for-each-in in terms of let, and replaced let with with.

15 years agoUpdated todo, license, and title.
Jay Freeman (saurik) [Tue, 27 Oct 2009 21:58:14 +0000 (21:58 +0000)] 
Updated todo, license, and title.

15 years agoCompleted massive refactoring operation to completely isolate Objective-C.
Jay Freeman (saurik) [Tue, 27 Oct 2009 21:52:16 +0000 (21:52 +0000)] 
Completed massive refactoring operation to completely isolate Objective-C.

15 years agoInsanely massive refactoring, bringing both exceptions and languages into near parity.
Jay Freeman (saurik) [Tue, 27 Oct 2009 08:25:25 +0000 (08:25 +0000)] 
Insanely massive refactoring, bringing both exceptions and languages into near parity.

15 years agoUse .length in order to deal with Array.
Jay Freeman (saurik) [Tue, 27 Oct 2009 02:41:45 +0000 (02:41 +0000)] 
Use .length in order to deal with Array.

15 years agoA few GNUstep fixes.
Jay Freeman (saurik) [Tue, 27 Oct 2009 02:31:20 +0000 (02:31 +0000)] 
A few GNUstep fixes.

15 years agoFinally finished this stupid CYONification refactorization.
Jay Freeman (saurik) [Tue, 27 Oct 2009 01:48:12 +0000 (01:48 +0000)] 
Finally finished this stupid CYONification refactorization.

15 years agoUpdated the ignorance filter.
Jay Freeman (saurik) [Mon, 26 Oct 2009 23:34:08 +0000 (23:34 +0000)] 
Updated the ignorance filter.

15 years agoMoved from plist files to sqlite3 and finalized non-ObjectiveC compile of Library.mm.
Jay Freeman (saurik) [Mon, 26 Oct 2009 23:30:43 +0000 (23:30 +0000)] 
Moved from plist files to sqlite3 and finalized non-ObjectiveC compile of Library.mm.

15 years agoCheckpointing syntax work on E4X before temporarily abandoning it.
Jay Freeman (saurik) [Mon, 26 Oct 2009 20:23:24 +0000 (20:23 +0000)] 
Checkpointing syntax work on E4X before temporarily abandoning it.

15 years agoReorganized grammar to improve InputElement{RegExp,Div} factoring.
Jay Freeman (saurik) [Sun, 25 Oct 2009 21:30:17 +0000 (21:30 +0000)] 
Reorganized grammar to improve InputElement{RegExp,Div} factoring.

15 years agoBegan work on implementing E4X.
Jay Freeman (saurik) [Sun, 25 Oct 2009 19:35:14 +0000 (19:35 +0000)] 
Began work on implementing E4X.

15 years agoFound the garbage collection bug from hell (classes apparently really need /something...
Jay Freeman (saurik) [Sun, 25 Oct 2009 11:34:29 +0000 (11:34 +0000)] 
Found the garbage collection bug from hell (classes apparently really need /something/ if you want to give them a constructor), did some subtle code movement, removed duplicat -S argument from ldid, and finalized CYIsCallable.

15 years agoReset accidental debugging flags hardcode.
Jay Freeman (saurik) [Sat, 24 Oct 2009 19:39:20 +0000 (19:39 +0000)] 
Reset accidental debugging flags hardcode.

15 years agoFixed a typo I made while coding on my iPhone, on an airplane.
Jay Freeman (saurik) [Sat, 24 Oct 2009 19:37:17 +0000 (19:37 +0000)] 
Fixed a typo I made while coding on my iPhone, on an airplane.

15 years agoDeleted the trash folder per previous commit.
Jay Freeman (saurik) [Sat, 24 Oct 2009 19:35:49 +0000 (19:35 +0000)] 
Deleted the trash folder per previous commit.

15 years agoMoving various files that aren't used anymore from my WC into a trash folder for...
Jay Freeman (saurik) [Sat, 24 Oct 2009 19:34:56 +0000 (19:34 +0000)] 
Moving various files that aren't used anymore from my WC into a trash folder for checkpoint.

15 years agoImplemented [super ...] calls in @class blocks.
Jay Freeman (saurik) [Sat, 24 Oct 2009 19:28:40 +0000 (19:28 +0000)] 
Implemented [super ...] calls in @class blocks.

15 years agoFixed a crash that was occuring when unowned objects were deallocated.
Jay Freeman (saurik) [Fri, 23 Oct 2009 23:25:35 +0000 (23:25 +0000)] 
Fixed a crash that was occuring when unowned objects were deallocated.

15 years agoImproved support for null-including strings.
Jay Freeman (saurik) [Fri, 23 Oct 2009 23:20:24 +0000 (23:20 +0000)] 
Improved support for null-including strings.

15 years agoMostly insulated Objective-C from Library.mm.
Jay Freeman (saurik) [Fri, 23 Oct 2009 09:32:16 +0000 (09:32 +0000)] 
Mostly insulated Objective-C from Library.mm.

15 years agoFixed some type errors that changing the return types to fix the gcc compiler issue...
Jay Freeman (saurik) [Fri, 23 Oct 2009 07:48:45 +0000 (07:48 +0000)] 
Fixed some type errors that changing the return types to fix the gcc compiler issue on GNUstep uncovered.

15 years agoRenamed some types for GNUstep.
Jay Freeman (saurik) [Fri, 23 Oct 2009 07:36:13 +0000 (07:36 +0000)] 
Renamed some types for GNUstep.

15 years agoVarious typo-fixes in the attempt to port to GNUstep.
Jay Freeman (saurik) [Fri, 23 Oct 2009 05:20:08 +0000 (05:20 +0000)] 
Various typo-fixes in the attempt to port to GNUstep.

15 years agoAm getting close to removing all of CoreFoundation.
Jay Freeman (saurik) [Fri, 23 Oct 2009 05:14:37 +0000 (05:14 +0000)] 
Am getting close to removing all of CoreFoundation.

15 years agoFurthering the cause of removing CoreFoundation.
Jay Freeman (saurik) [Fri, 23 Oct 2009 04:53:11 +0000 (04:53 +0000)] 
Furthering the cause of removing CoreFoundation.

15 years agoFixed an NSObject/NSString inconsistency found by GNUstep.
Jay Freeman (saurik) [Fri, 23 Oct 2009 04:06:35 +0000 (04:06 +0000)] 
Fixed an NSObject/NSString inconsistency found by GNUstep.

15 years agoFixed the ::Class bug and attempted to further abstract GNUstep.
Jay Freeman (saurik) [Fri, 23 Oct 2009 04:01:14 +0000 (04:01 +0000)] 
Fixed the ::Class bug and attempted to further abstract GNUstep.

15 years agoFactored out Objective-C flags.
Jay Freeman (saurik) [Thu, 22 Oct 2009 21:21:59 +0000 (21:21 +0000)] 
Factored out Objective-C flags.

15 years agoPorted back to the iPhone.
Jay Freeman (saurik) [Thu, 22 Oct 2009 21:14:50 +0000 (21:14 +0000)] 
Ported back to the iPhone.

15 years agoForgot the new JavaScriptCore.cpp from earlier commit.
Jay Freeman (saurik) [Thu, 22 Oct 2009 21:11:32 +0000 (21:11 +0000)] 
Forgot the new JavaScriptCore.cpp from earlier commit.

15 years agoForgot the new .mk files in previous commit.
Jay Freeman (saurik) [Thu, 22 Oct 2009 21:09:31 +0000 (21:09 +0000)] 
Forgot the new .mk files in previous commit.

15 years agoContinuing to attempt to get build environment to be somewhat portable.
Jay Freeman (saurik) [Thu, 22 Oct 2009 21:08:55 +0000 (21:08 +0000)] 
Continuing to attempt to get build environment to be somewhat portable.

15 years agoFixed packaging on Linux.
Jay Freeman (saurik) [Thu, 22 Oct 2009 09:56:59 +0000 (09:56 +0000)] 
Fixed packaging on Linux.

15 years agoMake sure the shell is bash!
Douglas William Thrift [Thu, 22 Oct 2009 09:47:35 +0000 (09:47 +0000)] 
Make sure the shell is bash!

15 years agoFixed a minor bug introduced today in CYClause serialization.
Jay Freeman (saurik) [Thu, 22 Oct 2009 09:39:46 +0000 (09:39 +0000)] 
Fixed a minor bug introduced today in CYClause serialization.

15 years agoMoved -fPIC to base configuration.
Jay Freeman (saurik) [Thu, 22 Oct 2009 09:37:13 +0000 (09:37 +0000)] 
Moved -fPIC to base configuration.

15 years agoActually finished using the real apr_getopt API.
Jay Freeman (saurik) [Thu, 22 Oct 2009 09:32:40 +0000 (09:32 +0000)] 
Actually finished using the real apr_getopt API.

15 years agoSwitched from the system getopt to apr_getopt.
Jay Freeman (saurik) [Thu, 22 Oct 2009 09:27:20 +0000 (09:27 +0000)] 
Switched from the system getopt to apr_getopt.

15 years agoPorted back to the iPhone.
Jay Freeman (saurik) [Thu, 22 Oct 2009 09:26:07 +0000 (09:26 +0000)] 
Ported back to the iPhone.

15 years agoFurther makefile reorganization, header file fixes, code movement, and general massag...
Jay Freeman (saurik) [Thu, 22 Oct 2009 09:10:31 +0000 (09:10 +0000)] 
Further makefile reorganization, header file fixes, code movement, and general massaging on the road to portability.

15 years agoApparently, I forgot to commit a file. :(
Jay Freeman (saurik) [Thu, 22 Oct 2009 08:44:43 +0000 (08:44 +0000)] 
Apparently, I forgot to commit a file. :(

15 years agoAdded replacer engine to attach side.
Jay Freeman (saurik) [Thu, 22 Oct 2009 08:10:46 +0000 (08:10 +0000)] 
Added replacer engine to attach side.

15 years agoMaybe fully separated the backend library from Console.
Jay Freeman (saurik) [Thu, 22 Oct 2009 07:51:08 +0000 (07:51 +0000)] 
Maybe fully separated the backend library from Console.

15 years agoFurther factored out Objective-C aspects of Cycript grammar and fixed dylib->$(dll).
Jay Freeman (saurik) [Thu, 22 Oct 2009 07:31:38 +0000 (07:31 +0000)] 
Further factored out Objective-C aspects of Cycript grammar and fixed dylib->$(dll).

15 years agoGrr!
Douglas William Thrift [Thu, 22 Oct 2009 07:26:15 +0000 (07:26 +0000)] 
Grr!

15 years agoSeparated out Objective-C and C language extensions using a new Filter.sh shell scrip...
Jay Freeman (saurik) [Thu, 22 Oct 2009 07:24:24 +0000 (07:24 +0000)] 
Separated out Objective-C and C language extensions using a new Filter.sh shell script and moved related data structures to ObjectiveC.{hpp,mm}.

15 years agoBeginnings of FreeBSD portability.
Douglas William Thrift [Thu, 22 Oct 2009 06:33:47 +0000 (06:33 +0000)] 
Beginnings of FreeBSD portability.

15 years agoStarted working on making the build environment more portable.
Jay Freeman (saurik) [Thu, 22 Oct 2009 06:19:37 +0000 (06:19 +0000)] 
Started working on making the build environment more portable.

15 years agoCompletely rewrote the output serializer to instead do replacement on the parse tree...
Jay Freeman (saurik) [Thu, 22 Oct 2009 05:48:50 +0000 (05:48 +0000)] 
Completely rewrote the output serializer to instead do replacement on the parse tree (seriously: this is epic ;P), refactored labeled statements into CYLabel (a bad move: I regret it and will likely undo this), and redid blocks in a way that (mostly) makes sense.

15 years agoFixed a stupid strcmp() == mistake that broke CYNoIn.
Jay Freeman (saurik) [Wed, 21 Oct 2009 08:28:19 +0000 (08:28 +0000)] 
Fixed a stupid strcmp() == mistake that broke CYNoIn.

15 years agoRe-added final output to script execution, implemented unary affirmation operator...
Jay Freeman (saurik) [Wed, 21 Oct 2009 08:10:36 +0000 (08:10 +0000)] 
Re-added final output to script execution, implemented unary affirmation operator (+), fixed pretty spacing for return/throw and object literals, and fleshed out the complete reserved word list for property banning.

15 years agoFixed some corner cases in flags propogation.
Jay Freeman (saurik) [Wed, 21 Oct 2009 07:06:35 +0000 (07:06 +0000)] 
Fixed some corner cases in flags propogation.

15 years agoFurther drastic simplications of the output mechanism.
Jay Freeman (saurik) [Wed, 21 Oct 2009 06:46:12 +0000 (06:46 +0000)] 
Further drastic simplications of the output mechanism.

15 years agoChanged the syntax error arrow to start at the beginning of the line to setup for...
Jay Freeman (saurik) [Wed, 21 Oct 2009 06:45:58 +0000 (06:45 +0000)] 
Changed the syntax error arrow to start at the beginning of the line to setup for enhanced detection of readline modes.

15 years agoRemoved unused and thereby broken LaunchDaemon configuration.
Jay Freeman (saurik) [Wed, 21 Oct 2009 06:21:52 +0000 (06:21 +0000)] 
Removed unused and thereby broken LaunchDaemon configuration.

15 years agoAdded @ token for E4X.
Jay Freeman (saurik) [Wed, 21 Oct 2009 06:21:15 +0000 (06:21 +0000)] 
Added @ token for E4X.

15 years agoDrastically simplified serializer logic.
Jay Freeman (saurik) [Wed, 21 Oct 2009 00:35:41 +0000 (00:35 +0000)] 
Drastically simplified serializer logic.

15 years agoCheckpointing pretty-printing implementation so I can quickly refactor CYNoLeader.
Jay Freeman (saurik) [Tue, 20 Oct 2009 23:02:14 +0000 (23:02 +0000)] 
Checkpointing pretty-printing implementation so I can quickly refactor CYNoLeader.

15 years agoRemoved dlclose() as it scares me and would cause everything to crash horribly if...
Jay Freeman (saurik) [Tue, 20 Oct 2009 23:01:52 +0000 (23:01 +0000)] 
Removed dlclose() as it scares me and would cause everything to crash horribly if it ever actually worked.

15 years agoAdded Cycript.gc() and fixed 0-argument system.print().
Jay Freeman (saurik) [Tue, 20 Oct 2009 21:40:22 +0000 (21:40 +0000)] 
Added Cycript.gc() and fixed 0-argument system.print().

15 years agoFixed a tokenization bug that caused blank lines a the console to crash horribly.
Jay Freeman (saurik) [Tue, 20 Oct 2009 20:36:21 +0000 (20:36 +0000)] 
Fixed a tokenization bug that caused blank lines a the console to crash horribly.

15 years agoRemoved -mthumb, as it isn't working for me.
Jay Freeman (saurik) [Tue, 20 Oct 2009 11:31:18 +0000 (11:31 +0000)] 
Removed -mthumb, as it isn't working for me.

15 years agoMade drastic changes to the serializer in order to support correctly serializing...
Jay Freeman (saurik) [Tue, 20 Oct 2009 10:22:24 +0000 (10:22 +0000)] 
Made drastic changes to the serializer in order to support correctly serializing jQuery.

15 years agoFixed an occasional crash bug in sig::Type copying.
Jay Freeman (saurik) [Tue, 20 Oct 2009 04:57:15 +0000 (04:57 +0000)] 
Fixed an occasional crash bug in sig::Type copying.

15 years agoGot jQuery parsing (empty finally block, function statements, carriage return) and...
Jay Freeman (saurik) [Tue, 20 Oct 2009 04:44:44 +0000 (04:44 +0000)] 
Got jQuery parsing (empty finally block, function statements, carriage return) and added strict mode with cool warnings.

15 years agoFinished implementing multi-line comments.
Jay Freeman (saurik) [Tue, 20 Oct 2009 00:39:09 +0000 (00:39 +0000)] 
Finished implementing multi-line comments.

15 years agoSetup new objects in lexer to allocate into the correct pool.
Jay Freeman (saurik) [Tue, 20 Oct 2009 00:21:20 +0000 (00:21 +0000)] 
Setup new objects in lexer to allocate into the correct pool.

15 years agoImplemented support for regular expression literals, moved %debug to -DYYDEBUG in...
Jay Freeman (saurik) [Tue, 20 Oct 2009 00:18:59 +0000 (00:18 +0000)] 
Implemented support for regular expression literals, moved %debug to -DYYDEBUG in makefile, and added documentation to the grammar for more ECMA specification chapters.

15 years agoAdded a CYOutput object between std::ostream and the actual mechanism.
Jay Freeman (saurik) [Mon, 19 Oct 2009 22:43:18 +0000 (22:43 +0000)] 
Added a CYOutput object between std::ostream and the actual mechanism.

15 years agoReplaced function closure 'for each'..in compilation with a with closure.
Jay Freeman (saurik) [Mon, 19 Oct 2009 22:20:11 +0000 (22:20 +0000)] 
Replaced function closure 'for each'..in compilation with a with closure.