]> git.saurik.com Git - cycript.git/log
cycript.git
15 years agoStarted working on variable name replacement strategies and generally improved compiler.
Jay Freeman (saurik) [Mon, 16 Nov 2009 10:11:09 +0000 (10:11 +0000)] 
Started working on variable name replacement strategies and generally improved compiler.

15 years agoFixed some CYInitialize issues noticed back on the iPhone.
Jay Freeman (saurik) [Sun, 15 Nov 2009 23:10:15 +0000 (23:10 +0000)] 
Fixed some CYInitialize issues noticed back on the iPhone.

15 years agoFactored out the execution engine from the compiler.
Jay Freeman (saurik) [Sun, 15 Nov 2009 22:51:29 +0000 (22:51 +0000)] 
Factored out the execution engine from the compiler.

15 years agoI forgot to setup $cym during @class categories.
Jay Freeman (saurik) [Sun, 15 Nov 2009 22:15:27 +0000 (22:15 +0000)] 
I forgot to setup $cym during @class categories.

15 years agoImplemented YUI /*! ... */ documentation comments.
Jay Freeman (saurik) [Sun, 15 Nov 2009 21:51:22 +0000 (21:51 +0000)] 
Implemented YUI /*! ... */ documentation comments.

15 years agoFixed the #.prop case, made invalid bridging throw instead of assert, and added a...
Jay Freeman (saurik) [Sun, 15 Nov 2009 20:26:16 +0000 (20:26 +0000)] 
Fixed the #.prop case, made invalid bridging throw instead of assert, and added a ton of time/calendar/abc bridging.

15 years agoOMG, the last fix didn't even work, because Apple's compiler doesn't even consider...
Jay Freeman (saurik) [Wed, 11 Nov 2009 04:33:31 +0000 (04:33 +0000)] 
OMG, the last fix didn't even work, because Apple's compiler doesn't even consider a failed try to exit a function.

15 years agoI don't understand what the hell is wrong with Apple's compiler, but it does not...
Jay Freeman (saurik) [Wed, 11 Nov 2009 04:31:43 +0000 (04:31 +0000)] 
I don't understand what the hell is wrong with Apple's compiler, but it does not consider an exception to exit a function.

15 years agoRemoved with(Cycript.all), unified the All_ instances, and moved Cycript.all prototyp...
Jay Freeman (saurik) [Wed, 11 Nov 2009 04:22:17 +0000 (04:22 +0000)] 
Removed with(Cycript.all), unified the All_ instances, and moved Cycript.all prototype to CYSetupContext.

15 years agoAdded some bridging for CoreTelephony.
Jay Freeman (saurik) [Wed, 11 Nov 2009 04:21:40 +0000 (04:21 +0000)] 
Added some bridging for CoreTelephony.

15 years agoFixed cycript.all for Cydget and isolated the new function namespaces (as I hate...
Jay Freeman (saurik) [Mon, 9 Nov 2009 06:32:53 +0000 (06:32 +0000)] 
Fixed cycript.all for Cydget and isolated the new function namespaces (as I hate them).

15 years agoAdded apr-lib Depends on iphoneos-sys, refactored CYUTF16String support (much more...
Jay Freeman (saurik) [Sun, 8 Nov 2009 14:11:29 +0000 (14:11 +0000)] 
Added apr-lib Depends on iphoneos-sys, refactored CYUTF16String support (much more complete), and setup for Cydget integration.

15 years agoFixed control generation, Cycript.all namespace, and MobileSubstrate version dependency.
Jay Freeman (saurik) [Sun, 8 Nov 2009 10:29:35 +0000 (10:29 +0000)] 
Fixed control generation, Cycript.all namespace, and MobileSubstrate version dependency.

15 years agoAdded another with() for namespacing compatibility.
Jay Freeman (saurik) [Sun, 8 Nov 2009 00:00:54 +0000 (00:00 +0000)] 
Added another with() for namespacing compatibility.

15 years agoAdded some toString() issues to the todo list.
Jay Freeman (saurik) [Sun, 8 Nov 2009 00:00:41 +0000 (00:00 +0000)] 
Added some toString() issues to the todo list.

15 years agoAdded a global with around script file execution, so as to not break the world (yet).
Jay Freeman (saurik) [Sat, 7 Nov 2009 22:50:03 +0000 (22:50 +0000)] 
Added a global with around script file execution, so as to not break the world (yet).

15 years agoAttempting to wedge Cycript into a WebView.
Jay Freeman (saurik) [Sat, 7 Nov 2009 22:41:25 +0000 (22:41 +0000)] 
Attempting to wedge Cycript into a WebView.

15 years agoFinished factoring out multi-context support and made CYSadTry/Catch for the simple...
Jay Freeman (saurik) [Thu, 5 Nov 2009 02:31:02 +0000 (02:31 +0000)] 
Finished factoring out multi-context support and made CYSadTry/Catch for the simple conversion catches I had.

15 years agoUpdated copyright and licenses.
Jay Freeman (saurik) [Thu, 5 Nov 2009 01:13:01 +0000 (01:13 +0000)] 
Updated copyright and licenses.

15 years agoAccidentally committed a comment to headers :=.
Jay Freeman (saurik) [Wed, 4 Nov 2009 22:32:41 +0000 (22:32 +0000)] 
Accidentally committed a comment to headers :=.

15 years agoThe release pooling mechanism is now becoming scary.
Jay Freeman (saurik) [Wed, 4 Nov 2009 22:25:54 +0000 (22:25 +0000)] 
The release pooling mechanism is now becoming scary.

15 years agoRemoved all global cache objects, placing them in a object in the context.
Jay Freeman (saurik) [Wed, 4 Nov 2009 20:47:28 +0000 (20:47 +0000)] 
Removed all global cache objects, placing them in a  object in the context.

15 years agoStarted the refactoring required for multi-context.
Jay Freeman (saurik) [Wed, 4 Nov 2009 12:45:49 +0000 (12:45 +0000)] 
Started the refactoring required for multi-context.

15 years agoBroke SetupContext into an Initialize part.
Jay Freeman (saurik) [Wed, 4 Nov 2009 12:00:52 +0000 (12:00 +0000)] 
Broke SetupContext into an Initialize part.

15 years agoHalf fixed (at least it doesn't throw an exception anymore) NSDictionaries that have...
Jay Freeman (saurik) [Wed, 4 Nov 2009 10:27:15 +0000 (10:27 +0000)] 
Half fixed (at least it doesn't throw an exception anymore) NSDictionaries that have non-NSString keys.

15 years agoFixed the GC crash of doom that kennytm reported: apparently local contexts come...
Jay Freeman (saurik) [Wed, 4 Nov 2009 09:28:34 +0000 (09:28 +0000)] 
Fixed the GC crash of doom that kennytm reported: apparently local contexts come from the ECMA spec, and are rather forcibly deallocated.

15 years agoFinished implementing array ffi.
Jay Freeman (saurik) [Wed, 4 Nov 2009 04:04:38 +0000 (04:04 +0000)] 
Finished implementing array ffi.

15 years agoUpdated todo list with some random exception-related thoughts.
Jay Freeman (saurik) [Wed, 4 Nov 2009 04:04:27 +0000 (04:04 +0000)] 
Updated todo list with some random exception-related thoughts.

15 years agoSetup Pointer to emulate an Array.
Jay Freeman (saurik) [Wed, 4 Nov 2009 03:42:02 +0000 (03:42 +0000)] 
Setup Pointer to emulate an Array.

15 years agoFixed a new Type_privateData NULL pool assert.
Jay Freeman (saurik) [Wed, 4 Nov 2009 03:35:19 +0000 (03:35 +0000)] 
Fixed a new Type_privateData NULL pool assert.

15 years agoRemoved a null-termination usage in Replace for concatenation of strings.
Jay Freeman (saurik) [Wed, 4 Nov 2009 03:23:01 +0000 (03:23 +0000)] 
Removed a null-termination usage in Replace for concatenation of strings.

15 years agoSwitched from _assert(false) to CYThrow() in FromFFI.
Jay Freeman (saurik) [Wed, 4 Nov 2009 03:21:47 +0000 (03:21 +0000)] 
Switched from _assert(false) to CYThrow() in FromFFI.

15 years agoWorked around an incorrect warning exposed by the optimizer on Linux: stack allocatin...
Jay Freeman (saurik) [Wed, 4 Nov 2009 03:14:22 +0000 (03:14 +0000)] 
Worked around an incorrect warning exposed by the optimizer on Linux: stack allocating Type_privateData with a pool led to the pool not being initialized on some theoretical control paths.

15 years agoRemoved a virtual to avoid an optimizer vtable bug.
Jay Freeman (saurik) [Wed, 4 Nov 2009 03:13:33 +0000 (03:13 +0000)] 
Removed a virtual to avoid an optimizer vtable bug.

15 years agoAdded a minor console feature to eat blank lines.
Jay Freeman (saurik) [Mon, 2 Nov 2009 20:28:41 +0000 (20:28 +0000)] 
Added a minor console feature to eat blank lines.

15 years agoChanged "%zu" to "%"APR_SIZE_T_FMT on APR format calls, removed the accidental NSAuto...
Jay Freeman (saurik) [Mon, 2 Nov 2009 20:08:09 +0000 (20:08 +0000)] 
Changed "%zu" to "%"APR_SIZE_T_FMT on APR format calls, removed the accidental NSAutoreleasePool around individual ffi_call events, and enhanced todo list.

15 years agoFixed the exception throwing mechanism to throw real JavaScript Error objects.
Jay Freeman (saurik) [Mon, 2 Nov 2009 01:30:41 +0000 (01:30 +0000)] 
Fixed the exception throwing mechanism to throw real JavaScript Error objects.

15 years agoAdded some cool references to to the todo list.
Jay Freeman (saurik) [Sun, 1 Nov 2009 21:13:59 +0000 (21:13 +0000)] 
Added some cool references to to the todo list.

15 years agoRemoved the WC explosion from the grammar, this problem has been solved by operator...
Jay Freeman (saurik) [Sun, 1 Nov 2009 08:13:58 +0000 (08:13 +0000)] 
Removed the WC explosion from the grammar, this problem has been solved by operator precedence.

15 years agoFixed a link error for the iPhone.
Jay Freeman (saurik) [Sun, 1 Nov 2009 06:49:59 +0000 (06:49 +0000)] 
Fixed a link error for the iPhone.

15 years agoDesktop Mac seems to use ^{_objc_class=...} instead of #.
Jay Freeman (saurik) [Sun, 1 Nov 2009 06:09:27 +0000 (06:09 +0000)] 
Desktop Mac seems to use ^{_objc_class=...} instead of #.

15 years agoGot true JS booleans working in GNUstep.
Jay Freeman (saurik) [Sun, 1 Nov 2009 05:07:51 +0000 (05:07 +0000)] 
Got true JS booleans working in GNUstep.

15 years agoFixed GNUstep.
Jay Freeman (saurik) [Sun, 1 Nov 2009 04:46:49 +0000 (04:46 +0000)] 
Fixed GNUstep.

15 years agoAttempted to port back to Linux.
Jay Freeman (saurik) [Sun, 1 Nov 2009 03:23:23 +0000 (03:23 +0000)] 
Attempted to port back to Linux.

15 years agoAttempting a silly x64 fix.
Jay Freeman (saurik) [Sun, 1 Nov 2009 02:55:08 +0000 (02:55 +0000)] 
Attempting a silly x64 fix.

15 years agoRemoved all dependencies from Mac version.
Jay Freeman (saurik) [Sun, 1 Nov 2009 02:18:00 +0000 (02:18 +0000)] 
Removed all dependencies from Mac version.

15 years agoImplemented dpkg dependency generation for Leopard and fixed null symbol dereferences.
Jay Freeman (saurik) [Sun, 1 Nov 2009 01:30:13 +0000 (01:30 +0000)] 
Implemented dpkg dependency generation for Leopard and fixed null symbol dereferences.

15 years agoWelcome to Leopard.
Jay Freeman (saurik) [Sun, 1 Nov 2009 01:04:40 +0000 (01:04 +0000)] 
Welcome to Leopard.

15 years agoFixed exception support from Objective-C back to Cycript.
Jay Freeman (saurik) [Sun, 1 Nov 2009 00:26:39 +0000 (00:26 +0000)] 
Fixed exception support from Objective-C back to Cycript.

15 years agoRedid the trampoline generator in what will hopefully be a more portable fashion.
Jay Freeman (saurik) [Sat, 31 Oct 2009 23:31:27 +0000 (23:31 +0000)] 
Redid the trampoline generator in what will hopefully be a more portable fashion.

15 years agoAdded runloop detection support, ported Handler back to the iPhone, setup RunLoop...
Jay Freeman (saurik) [Sat, 31 Oct 2009 21:48:05 +0000 (21:48 +0000)] 
Added runloop detection support, ported Handler back to the iPhone, setup RunLoop bridging, and added an asser to check for working nlist() support.

15 years agoFixed non-CY_ATTACH builds.
Jay Freeman (saurik) [Sat, 31 Oct 2009 20:27:17 +0000 (20:27 +0000)] 
Fixed non-CY_ATTACH builds.

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.