]>
git.saurik.com Git - cycript.git/log
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).
Douglas William Thrift [Thu, 22 Oct 2009 07:26:15 +0000 (07:26 +0000)]
Grr!
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}.
Douglas William Thrift [Thu, 22 Oct 2009 06:33:47 +0000 (06:33 +0000)]
Beginnings of FreeBSD portability.
Jay Freeman (saurik) [Thu, 22 Oct 2009 06:19:37 +0000 (06:19 +0000)]
Started working on making the build environment more portable.
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.
Jay Freeman (saurik) [Wed, 21 Oct 2009 08:28:19 +0000 (08:28 +0000)]
Fixed a stupid strcmp() == mistake that broke CYNoIn.
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.
Jay Freeman (saurik) [Wed, 21 Oct 2009 07:06:35 +0000 (07:06 +0000)]
Fixed some corner cases in flags propogation.
Jay Freeman (saurik) [Wed, 21 Oct 2009 06:46:12 +0000 (06:46 +0000)]
Further drastic simplications of the output mechanism.
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.
Jay Freeman (saurik) [Wed, 21 Oct 2009 06:21:52 +0000 (06:21 +0000)]
Removed unused and thereby broken LaunchDaemon configuration.
Jay Freeman (saurik) [Wed, 21 Oct 2009 06:21:15 +0000 (06:21 +0000)]
Added @ token for E4X.
Jay Freeman (saurik) [Wed, 21 Oct 2009 00:35:41 +0000 (00:35 +0000)]
Drastically simplified serializer logic.
Jay Freeman (saurik) [Tue, 20 Oct 2009 23:02:14 +0000 (23:02 +0000)]
Checkpointing pretty-printing implementation so I can quickly refactor CYNoLeader.
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.
Jay Freeman (saurik) [Tue, 20 Oct 2009 21:40:22 +0000 (21:40 +0000)]
Added Cycript.gc() and fixed 0-argument system.print().
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.
Jay Freeman (saurik) [Tue, 20 Oct 2009 11:31:18 +0000 (11:31 +0000)]
Removed -mthumb, as it isn't working for me.
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.
Jay Freeman (saurik) [Tue, 20 Oct 2009 04:57:15 +0000 (04:57 +0000)]
Fixed an occasional crash bug in sig::Type copying.
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.
Jay Freeman (saurik) [Tue, 20 Oct 2009 00:39:09 +0000 (00:39 +0000)]
Finished implementing multi-line comments.
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.
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.
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.
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.
Jay Freeman (saurik) [Mon, 19 Oct 2009 22:08:37 +0000 (22:08 +0000)]
Support array ffi_type through some shady argumentaton, implement Type[] syntax for arrays, setup bridging for common C types, reorganized keywords based on actual reservation, removed let(){} and associated GLR, and added static in numerous places I wanted it.
Jay Freeman (saurik) [Mon, 19 Oct 2009 18:58:08 +0000 (18:58 +0000)]
Added CYNoLeader after 'case', implemented a pass-through LetStatement binding (temporary), turned on GLR parser in Bison, moved YYLTYPE #define to handle GLR, reorganized a few grammar statements to make clear what is or is not specification, and fixed the "for each (i in" and "switch" crashes reported by kennytm.
Jay Freeman (saurik) [Mon, 19 Oct 2009 01:54:58 +0000 (01:54 +0000)]
Fixed a namespace scoping serialization bug (cyt instead of cyv) in array comprehensions.
Jay Freeman (saurik) [Mon, 19 Oct 2009 01:53:13 +0000 (01:53 +0000)]
Added cyrver to make clean, fixed GC protection for CYJS*, implemented array comprehensions and for each, added a -c flag for pure-compiler mode, and added (driver.pool_) tags on some memory allocations in the grammar.
Jay Freeman (saurik) [Sun, 18 Oct 2009 20:45:38 +0000 (20:45 +0000)]
Updated documentation for new constructor.messages build.
Jay Freeman (saurik) [Sun, 18 Oct 2009 20:24:13 +0000 (20:24 +0000)]
Fixed memory protection conditions (now that I finally have a GC test case) and implemented a ctrl-c execution cancel mechanism.
Jay Freeman (saurik) [Sun, 18 Oct 2009 19:44:09 +0000 (19:44 +0000)]
Fixed serialization of function w/ CYNoLeader and implemented line tokenization for multi-line readline() events.
Jay Freeman (saurik) [Sun, 18 Oct 2009 19:35:52 +0000 (19:35 +0000)]
Slightly reorganized code, fixed @class to work with NoBF principal, integrated the prototype chain (with special exceptions for NSDictionary and NSArray), added some safety to the Instance_*_callAsFunction methods, and renamed Class.prototype to Class.messages.
Jay Freeman (saurik) [Sun, 18 Oct 2009 19:07:03 +0000 (19:07 +0000)]
Not quite the original, but pretty damn near close.
Jay Freeman (saurik) [Sun, 18 Oct 2009 19:03:50 +0000 (19:03 +0000)]
Added a website folder.
Jay Freeman (saurik) [Sun, 18 Oct 2009 10:32:51 +0000 (10:32 +0000)]
Started work on array comprehensions, implemented multi-line string literals (not for console yet), and refactored @class to be an expression (with support for anonymous classes).
Jay Freeman (saurik) [Sun, 18 Oct 2009 06:16:30 +0000 (06:16 +0000)]
CYJSObject objectForKey: should be returning nil for undefined keys.
Jay Freeman (saurik) [Sun, 18 Oct 2009 06:08:04 +0000 (06:08 +0000)]
CYJSArray is actually supposed to be throwing NSRangeException.
Jay Freeman (saurik) [Sun, 18 Oct 2009 05:57:27 +0000 (05:57 +0000)]
Fixed [Array objectAtIndex: > .length] to return nil.
Jay Freeman (saurik) [Sun, 18 Oct 2009 05:47:23 +0000 (05:47 +0000)]
Support complete back/forth mapping between NSMutableArray and Array.