]>
git.saurik.com Git - cycript.git/log
Douglas William Thrift [Thu, 4 Feb 2010 05:25:15 +0000 (05:25 +0000)]
Some directories of dooom.
Douglas William Thrift [Tue, 2 Feb 2010 07:02:47 +0000 (07:02 +0000)]
-rpath!
Douglas William Thrift [Mon, 1 Feb 2010 23:18:34 +0000 (23:18 +0000)]
Checkpoint autoconf transition.
Jay Freeman (saurik) [Sun, 27 Dec 2009 00:54:06 +0000 (00:54 +0000)]
Scary hack to use the wrong APR on Mac OSX.
Jay Freeman (saurik) [Mon, 21 Dec 2009 18:34:23 +0000 (18:34 +0000)]
Fixed Trampoline.t.hpp, both having it clean and having it -m32.
Jay Freeman (saurik) [Mon, 21 Dec 2009 18:30:58 +0000 (18:30 +0000)]
Use -m32 instead of a uname -m check.
Douglas William Thrift [Sun, 20 Dec 2009 01:44:29 +0000 (01:44 +0000)]
Check the version of flex; check for libffi further after pkg-config fails us.
Jay Freeman (saurik) [Tue, 8 Dec 2009 22:04:39 +0000 (22:04 +0000)]
Worked around the bug in flex 2.5.35 that causes yy_size_t/int comparison warnings.
Jay Freeman (saurik) [Tue, 8 Dec 2009 21:49:35 +0000 (21:49 +0000)]
Actually committing the file that fixed the int to size_t for the lexer warning.
Jay Freeman (saurik) [Tue, 8 Dec 2009 21:48:31 +0000 (21:48 +0000)]
Changed an int to a size_t in my lexer, and removed the uname -m hack that Apple forced me to have and put it somewhere else so that Apple's other bug on the iPhone (the hw.machine thing) doesn't burn me.
Jay Freeman (saurik) [Tue, 8 Dec 2009 21:42:48 +0000 (21:42 +0000)]
Added a stupid hack because Apple sucks at SDKs.
Jay Freeman (saurik) [Tue, 8 Dec 2009 20:21:51 +0000 (20:21 +0000)]
Attempting to abstract 64-bit Mac.
Jay Freeman (saurik) [Tue, 8 Dec 2009 20:04:35 +0000 (20:04 +0000)]
Added a saner make install path.
Jay Freeman (saurik) [Thu, 26 Nov 2009 08:11:22 +0000 (08:11 +0000)]
With Bison 2.4 I can trust yyerrok.
Jay Freeman (saurik) [Thu, 26 Nov 2009 08:09:22 +0000 (08:09 +0000)]
Cache system as 'system' instead of Function.
Jay Freeman (saurik) [Thu, 26 Nov 2009 07:55:42 +0000 (07:55 +0000)]
I hate the Bison 2.3/2.4 split.
Jay Freeman (saurik) [Thu, 26 Nov 2009 03:01:32 +0000 (03:01 +0000)]
Ported to Cygwin and Bison 2.3.
Douglas William Thrift [Wed, 25 Nov 2009 12:37:32 +0000 (12:37 +0000)]
Check for APR and GNU make.
Douglas William Thrift [Tue, 24 Nov 2009 11:56:15 +0000 (11:56 +0000)]
Progress on autoconf doom!
Douglas William Thrift [Tue, 24 Nov 2009 03:46:54 +0000 (03:46 +0000)]
Grr! It needs a newer version of autoconf.
Douglas William Thrift [Tue, 24 Nov 2009 03:25:44 +0000 (03:25 +0000)]
Very very very... very early autoconf stuff.
Douglas William Thrift [Tue, 24 Nov 2009 02:53:49 +0000 (02:53 +0000)]
Add Bridge.hpp to clean, grr!
Douglas William Thrift [Mon, 23 Nov 2009 03:25:24 +0000 (03:25 +0000)]
Fix build on FreeBSD.
Jay Freeman (saurik) [Fri, 20 Nov 2009 17:47:21 +0000 (17:47 +0000)]
I hate Apple's sham of a compiler.
Jay Freeman (saurik) [Fri, 20 Nov 2009 17:23:52 +0000 (17:23 +0000)]
Accidentally let CYProtocol leak on non-Objective-C systems.
Jay Freeman (saurik) [Thu, 19 Nov 2009 21:44:34 +0000 (21:44 +0000)]
Implemented functor caching.
Jay Freeman (saurik) [Thu, 19 Nov 2009 20:29:18 +0000 (20:29 +0000)]
Added support for @class protocol lists.
Jay Freeman (saurik) [Thu, 19 Nov 2009 09:39:35 +0000 (09:39 +0000)]
Fixing various FreeBSD issues.
Jay Freeman (saurik) [Thu, 19 Nov 2009 08:18:44 +0000 (08:18 +0000)]
Attempting to better abstract FreeBSD.
Jay Freeman (saurik) [Thu, 19 Nov 2009 08:11:05 +0000 (08:11 +0000)]
Fixed a NULL-pointer dereference on anonymous structures.
Jay Freeman (saurik) [Thu, 19 Nov 2009 06:07:44 +0000 (06:07 +0000)]
Fixed the stupid variable renaming issue at the top level.
Jay Freeman (saurik) [Thu, 19 Nov 2009 05:45:22 +0000 (05:45 +0000)]
Fixed all of the memory leaks caused by the new identifier renamer.
Jay Freeman (saurik) [Thu, 19 Nov 2009 00:37:29 +0000 (00:37 +0000)]
Started refactoring the identifier mechanism to sort on usage.
Jay Freeman (saurik) [Thu, 19 Nov 2009 00:36:56 +0000 (00:36 +0000)]
Drastic performance enhancement by using a perfect hash instead of an sqlite3 database.
Jay Freeman (saurik) [Wed, 18 Nov 2009 20:31:58 +0000 (20:31 +0000)]
Fixed a bug where the identifier merging algorithm would fail horribly on pre-merged identfiers and factored the weird variable rename debugging code to -grename.
Jay Freeman (saurik) [Tue, 17 Nov 2009 19:17:09 +0000 (19:17 +0000)]
Fixed a simple build error on Mac OS X.
Jay Freeman (saurik) [Tue, 17 Nov 2009 19:16:48 +0000 (19:16 +0000)]
Fixed some compilation errors on Mac OS X.
Jay Freeman (saurik) [Tue, 17 Nov 2009 10:31:40 +0000 (10:31 +0000)]
Implemented the symbol sorting optimization, for optimal gzip compression.
Jay Freeman (saurik) [Tue, 17 Nov 2009 06:01:40 +0000 (06:01 +0000)]
Crazy variable naming optimization of doom.
Jay Freeman (saurik) [Tue, 17 Nov 2009 05:20:24 +0000 (05:20 +0000)]
Optimized the variable renamer to rename more variables to 'a'.
Douglas William Thrift [Tue, 17 Nov 2009 04:54:43 +0000 (04:54 +0000)]
Fix on Linux?!
Jay Freeman (saurik) [Tue, 17 Nov 2009 03:14:37 +0000 (03:14 +0000)]
Added a level of indirection so we don't keep repackaging stale packages.
Jay Freeman (saurik) [Tue, 17 Nov 2009 03:10:23 +0000 (03:10 +0000)]
Removed 'each' from the list of unconditionally reserved words and changed the minification showdown output.
Jay Freeman (saurik) [Mon, 16 Nov 2009 21:48:04 +0000 (21:48 +0000)]
Added support for octal literals.
Jay Freeman (saurik) [Mon, 16 Nov 2009 21:47:03 +0000 (21:47 +0000)]
Added Microsoft Ajax Minifier to local test output.
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.