]>
git.saurik.com Git - cycript.git/log
Jay Freeman (saurik) [Mon, 16 Nov 2009 21:03:53 +0000 (21:03 +0000)]
Cleaned up the scope code (on the way to let blocks), and disabled renaming at top-level scope.
Jay Freeman (saurik) [Mon, 16 Nov 2009 12:32:28 +0000 (12:32 +0000)]
Ported Objective-C bridge to match up with the latest compiler changes.
Jay Freeman (saurik) [Mon, 16 Nov 2009 11:54:50 +0000 (11:54 +0000)]
Milestone #1: YUI has been destroyed, with room to spare.
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.
Jay Freeman (saurik) [Sun, 15 Nov 2009 23:10:15 +0000 (23:10 +0000)]
Fixed some CYInitialize issues noticed back on the iPhone.
Jay Freeman (saurik) [Sun, 15 Nov 2009 22:51:29 +0000 (22:51 +0000)]
Factored out the execution engine from the compiler.
Jay Freeman (saurik) [Sun, 15 Nov 2009 22:15:27 +0000 (22:15 +0000)]
I forgot to setup $cym during @class categories.
Jay Freeman (saurik) [Sun, 15 Nov 2009 21:51:22 +0000 (21:51 +0000)]
Implemented YUI /*! ... */ documentation comments.
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.
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.
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.
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.
Jay Freeman (saurik) [Wed, 11 Nov 2009 04:21:40 +0000 (04:21 +0000)]
Added some bridging for CoreTelephony.
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).
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.
Jay Freeman (saurik) [Sun, 8 Nov 2009 10:29:35 +0000 (10:29 +0000)]
Fixed control generation, Cycript.all namespace, and MobileSubstrate version dependency.
Jay Freeman (saurik) [Sun, 8 Nov 2009 00:00:54 +0000 (00:00 +0000)]
Added another with() for namespacing compatibility.
Jay Freeman (saurik) [Sun, 8 Nov 2009 00:00:41 +0000 (00:00 +0000)]
Added some toString() issues to the todo list.
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).
Jay Freeman (saurik) [Sat, 7 Nov 2009 22:41:25 +0000 (22:41 +0000)]
Attempting to wedge Cycript into a WebView.
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.
Jay Freeman (saurik) [Thu, 5 Nov 2009 01:13:01 +0000 (01:13 +0000)]
Updated copyright and licenses.
Jay Freeman (saurik) [Wed, 4 Nov 2009 22:32:41 +0000 (22:32 +0000)]
Accidentally committed a comment to headers :=.
Jay Freeman (saurik) [Wed, 4 Nov 2009 22:25:54 +0000 (22:25 +0000)]
The release pooling mechanism is now becoming scary.
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.
Jay Freeman (saurik) [Wed, 4 Nov 2009 12:45:49 +0000 (12:45 +0000)]
Started the refactoring required for multi-context.
Jay Freeman (saurik) [Wed, 4 Nov 2009 12:00:52 +0000 (12:00 +0000)]
Broke SetupContext into an Initialize part.
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.
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.
Jay Freeman (saurik) [Wed, 4 Nov 2009 04:04:38 +0000 (04:04 +0000)]
Finished implementing array ffi.
Jay Freeman (saurik) [Wed, 4 Nov 2009 04:04:27 +0000 (04:04 +0000)]
Updated todo list with some random exception-related thoughts.
Jay Freeman (saurik) [Wed, 4 Nov 2009 03:42:02 +0000 (03:42 +0000)]
Setup Pointer to emulate an Array.
Jay Freeman (saurik) [Wed, 4 Nov 2009 03:35:19 +0000 (03:35 +0000)]
Fixed a new Type_privateData NULL pool assert.
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.
Jay Freeman (saurik) [Wed, 4 Nov 2009 03:21:47 +0000 (03:21 +0000)]
Switched from _assert(false) to CYThrow() in FromFFI.
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.
Jay Freeman (saurik) [Wed, 4 Nov 2009 03:13:33 +0000 (03:13 +0000)]
Removed a virtual to avoid an optimizer vtable bug.
Jay Freeman (saurik) [Mon, 2 Nov 2009 20:28:41 +0000 (20:28 +0000)]
Added a minor console feature to eat blank lines.
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.
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.
Jay Freeman (saurik) [Sun, 1 Nov 2009 21:13:59 +0000 (21:13 +0000)]
Added some cool references to to the todo list.
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.
Jay Freeman (saurik) [Sun, 1 Nov 2009 06:49:59 +0000 (06:49 +0000)]
Fixed a link error for the iPhone.
Jay Freeman (saurik) [Sun, 1 Nov 2009 06:09:27 +0000 (06:09 +0000)]
Desktop Mac seems to use ^{_objc_class=...} instead of #.
Jay Freeman (saurik) [Sun, 1 Nov 2009 05:07:51 +0000 (05:07 +0000)]
Got true JS booleans working in GNUstep.
Jay Freeman (saurik) [Sun, 1 Nov 2009 04:46:49 +0000 (04:46 +0000)]
Fixed GNUstep.
Jay Freeman (saurik) [Sun, 1 Nov 2009 03:23:23 +0000 (03:23 +0000)]
Attempted to port back to Linux.
Jay Freeman (saurik) [Sun, 1 Nov 2009 02:55:08 +0000 (02:55 +0000)]
Attempting a silly x64 fix.
Jay Freeman (saurik) [Sun, 1 Nov 2009 02:18:00 +0000 (02:18 +0000)]
Removed all dependencies from Mac version.
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.
Jay Freeman (saurik) [Sun, 1 Nov 2009 01:04:40 +0000 (01:04 +0000)]
Welcome to Leopard.
Jay Freeman (saurik) [Sun, 1 Nov 2009 00:26:39 +0000 (00:26 +0000)]
Fixed exception support from Objective-C back to Cycript.
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.
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.
Jay Freeman (saurik) [Sat, 31 Oct 2009 20:27:17 +0000 (20:27 +0000)]
Fixed non-CY_ATTACH builds.
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.
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.
Jay Freeman (saurik) [Sat, 31 Oct 2009 18:47:17 +0000 (18:47 +0000)]
Forgot to add @ to ObjectiveC lexer for @"" support.
Jay Freeman (saurik) [Sat, 31 Oct 2009 10:23:51 +0000 (10:23 +0000)]
Implemented Mach injection: Cycript into any process.
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.
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.
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.
Jay Freeman (saurik) [Sat, 31 Oct 2009 03:43:40 +0000 (03:43 +0000)]
Fixed a minor packaging SNAFU that broke the iPhone build.
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...).
Jay Freeman (saurik) [Sat, 31 Oct 2009 02:29:50 +0000 (02:29 +0000)]
Ported back to the iPhone.
Jay Freeman (saurik) [Sat, 31 Oct 2009 02:15:25 +0000 (02:15 +0000)]
Further attempts at making Cycript portable to GNUstep.
Jay Freeman (saurik) [Sat, 31 Oct 2009 00:05:01 +0000 (00:05 +0000)]
Fixed make extra in cross-compile.
Jay Freeman (saurik) [Fri, 30 Oct 2009 23:35:53 +0000 (23:35 +0000)]
Forgot to add lexer to clean.
Jay Freeman (saurik) [Fri, 30 Oct 2009 23:31:25 +0000 (23:31 +0000)]
Setup iPhone cross-compilation and runtime abstracted JSObjectMakeArray support.
Jay Freeman (saurik) [Fri, 30 Oct 2009 23:11:53 +0000 (23:11 +0000)]
Added -p <name> and updated todo.
Jay Freeman (saurik) [Fri, 30 Oct 2009 20:06:34 +0000 (20:06 +0000)]
Added readline history writing and fixed NoRE unary * case.
Jay Freeman (saurik) [Fri, 30 Oct 2009 19:21:57 +0000 (19:21 +0000)]
Mostly fixed the E4X situation, checkpointing for NoRE hell.
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.
Jay Freeman (saurik) [Thu, 29 Oct 2009 02:14:01 +0000 (02:14 +0000)]
Mostly fixed the unary star problem.
Jay Freeman (saurik) [Thu, 29 Oct 2009 00:52:09 +0000 (00:52 +0000)]
Removed obsolete file from Darwin-arm.mk.
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.
Jay Freeman (saurik) [Wed, 28 Oct 2009 04:59:18 +0000 (04:59 +0000)]
Added -DCY_EXECUTE to FreeBSD.
Jay Freeman (saurik) [Wed, 28 Oct 2009 04:57:53 +0000 (04:57 +0000)]
Added the -l for FreeBSD to WebKit.
Jay Freeman (saurik) [Wed, 28 Oct 2009 04:52:34 +0000 (04:52 +0000)]
Worked around a stupid spec issue with iconv().
Jay Freeman (saurik) [Wed, 28 Oct 2009 03:39:54 +0000 (03:39 +0000)]
Finally got this damned thing actually executing JavaScript on Linux.
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_).
Jay Freeman (saurik) [Tue, 27 Oct 2009 22:46:22 +0000 (22:46 +0000)]
Simplified CYMessage::Replace using $L.
Jay Freeman (saurik) [Tue, 27 Oct 2009 22:35:19 +0000 (22:35 +0000)]
Removed make.sh: why not?
Jay Freeman (saurik) [Tue, 27 Oct 2009 22:33:32 +0000 (22:33 +0000)]
Fixed an invalid single-line comment in Flex.
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.
Jay Freeman (saurik) [Tue, 27 Oct 2009 21:58:14 +0000 (21:58 +0000)]
Updated todo, license, and title.
Jay Freeman (saurik) [Tue, 27 Oct 2009 21:52:16 +0000 (21:52 +0000)]
Completed massive refactoring operation to completely isolate Objective-C.
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.
Jay Freeman (saurik) [Tue, 27 Oct 2009 02:41:45 +0000 (02:41 +0000)]
Use .length in order to deal with Array.
Jay Freeman (saurik) [Tue, 27 Oct 2009 02:31:20 +0000 (02:31 +0000)]
A few GNUstep fixes.
Jay Freeman (saurik) [Tue, 27 Oct 2009 01:48:12 +0000 (01:48 +0000)]
Finally finished this stupid CYONification refactorization.
Jay Freeman (saurik) [Mon, 26 Oct 2009 23:34:08 +0000 (23:34 +0000)]
Updated the ignorance filter.
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.
Jay Freeman (saurik) [Mon, 26 Oct 2009 20:23:24 +0000 (20:23 +0000)]
Checkpointing syntax work on E4X before temporarily abandoning it.
Jay Freeman (saurik) [Sun, 25 Oct 2009 21:30:17 +0000 (21:30 +0000)]
Reorganized grammar to improve InputElement{RegExp,Div} factoring.
Jay Freeman (saurik) [Sun, 25 Oct 2009 19:35:14 +0000 (19:35 +0000)]
Began work on implementing E4X.
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.
Jay Freeman (saurik) [Sat, 24 Oct 2009 19:39:20 +0000 (19:39 +0000)]
Reset accidental debugging flags hardcode.
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.
Jay Freeman (saurik) [Sat, 24 Oct 2009 19:35:49 +0000 (19:35 +0000)]
Deleted the trash folder per previous commit.