]>
git.saurik.com Git - cycript.git/log
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.
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.
Jay Freeman (saurik) [Sat, 24 Oct 2009 19:28:40 +0000 (19:28 +0000)]
Implemented [super ...] calls in @class blocks.
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.
Jay Freeman (saurik) [Fri, 23 Oct 2009 23:20:24 +0000 (23:20 +0000)]
Improved support for null-including strings.
Jay Freeman (saurik) [Fri, 23 Oct 2009 09:32:16 +0000 (09:32 +0000)]
Mostly insulated Objective-C from Library.mm.
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.
Jay Freeman (saurik) [Fri, 23 Oct 2009 07:36:13 +0000 (07:36 +0000)]
Renamed some types for 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.
Jay Freeman (saurik) [Fri, 23 Oct 2009 05:14:37 +0000 (05:14 +0000)]
Am getting close to removing all of CoreFoundation.
Jay Freeman (saurik) [Fri, 23 Oct 2009 04:53:11 +0000 (04:53 +0000)]
Furthering the cause of removing CoreFoundation.
Jay Freeman (saurik) [Fri, 23 Oct 2009 04:06:35 +0000 (04:06 +0000)]
Fixed an NSObject/NSString inconsistency found by 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.
Jay Freeman (saurik) [Thu, 22 Oct 2009 21:21:59 +0000 (21:21 +0000)]
Factored out Objective-C flags.
Jay Freeman (saurik) [Thu, 22 Oct 2009 21:14:50 +0000 (21:14 +0000)]
Ported back to the iPhone.
Jay Freeman (saurik) [Thu, 22 Oct 2009 21:11:32 +0000 (21:11 +0000)]
Forgot the new JavaScriptCore.cpp from earlier commit.
Jay Freeman (saurik) [Thu, 22 Oct 2009 21:09:31 +0000 (21:09 +0000)]
Forgot the new .mk files in previous commit.
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.
Jay Freeman (saurik) [Thu, 22 Oct 2009 09:56:59 +0000 (09:56 +0000)]
Fixed packaging on Linux.
Douglas William Thrift [Thu, 22 Oct 2009 09:47:35 +0000 (09:47 +0000)]
Make sure the shell is bash!
Jay Freeman (saurik) [Thu, 22 Oct 2009 09:39:46 +0000 (09:39 +0000)]
Fixed a minor bug introduced today in CYClause serialization.
Jay Freeman (saurik) [Thu, 22 Oct 2009 09:37:13 +0000 (09:37 +0000)]
Moved -fPIC to base configuration.
Jay Freeman (saurik) [Thu, 22 Oct 2009 09:32:40 +0000 (09:32 +0000)]
Actually finished using the real apr_getopt API.
Jay Freeman (saurik) [Thu, 22 Oct 2009 09:27:20 +0000 (09:27 +0000)]
Switched from the system getopt to apr_getopt.
Jay Freeman (saurik) [Thu, 22 Oct 2009 09:26:07 +0000 (09:26 +0000)]
Ported back to the iPhone.
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.
Jay Freeman (saurik) [Thu, 22 Oct 2009 08:44:43 +0000 (08:44 +0000)]
Apparently, I forgot to commit a file. :(
Jay Freeman (saurik) [Thu, 22 Oct 2009 08:10:46 +0000 (08:10 +0000)]
Added replacer engine to attach side.
Jay Freeman (saurik) [Thu, 22 Oct 2009 07:51:08 +0000 (07:51 +0000)]
Maybe fully separated the backend library from Console.
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).