]> git.saurik.com Git - cycript.git/log
cycript.git
14 years agoScary hack to use the wrong APR on Mac OSX.
Jay Freeman (saurik) [Sun, 27 Dec 2009 00:54:06 +0000 (00:54 +0000)] 
Scary hack to use the wrong APR on Mac OSX.

15 years agoFixed Trampoline.t.hpp, both having it clean and having it -m32.
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.

15 years agoUse -m32 instead of a uname -m check.
Jay Freeman (saurik) [Mon, 21 Dec 2009 18:30:58 +0000 (18:30 +0000)] 
Use -m32 instead of a uname -m check.

15 years agoCheck the version of flex; check for libffi further after pkg-config fails us.
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.

15 years agoWorked around the bug in flex 2.5.35 that causes yy_size_t/int comparison warnings.
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.

15 years agoActually committing the file that fixed the int to size_t for the lexer warning.
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.

15 years agoChanged an int to a size_t in my lexer, and removed the uname -m hack that Apple...
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.

15 years agoAdded a stupid hack because Apple sucks at SDKs.
Jay Freeman (saurik) [Tue, 8 Dec 2009 21:42:48 +0000 (21:42 +0000)] 
Added a stupid hack because Apple sucks at SDKs.

15 years agoAttempting to abstract 64-bit Mac.
Jay Freeman (saurik) [Tue, 8 Dec 2009 20:21:51 +0000 (20:21 +0000)] 
Attempting to abstract 64-bit Mac.

15 years agoAdded a saner make install path.
Jay Freeman (saurik) [Tue, 8 Dec 2009 20:04:35 +0000 (20:04 +0000)] 
Added a saner make install path.

15 years agoWith Bison 2.4 I can trust yyerrok.
Jay Freeman (saurik) [Thu, 26 Nov 2009 08:11:22 +0000 (08:11 +0000)] 
With Bison 2.4 I can trust yyerrok.

15 years agoCache system as 'system' instead of Function.
Jay Freeman (saurik) [Thu, 26 Nov 2009 08:09:22 +0000 (08:09 +0000)] 
Cache system as 'system' instead of Function.

15 years agoI hate the Bison 2.3/2.4 split.
Jay Freeman (saurik) [Thu, 26 Nov 2009 07:55:42 +0000 (07:55 +0000)] 
I hate the Bison 2.3/2.4 split.

15 years agoPorted to Cygwin and Bison 2.3.
Jay Freeman (saurik) [Thu, 26 Nov 2009 03:01:32 +0000 (03:01 +0000)] 
Ported to Cygwin and Bison 2.3.

15 years agoCheck for APR and GNU make.
Douglas William Thrift [Wed, 25 Nov 2009 12:37:32 +0000 (12:37 +0000)] 
Check for APR and GNU make.

15 years agoProgress on autoconf doom!
Douglas William Thrift [Tue, 24 Nov 2009 11:56:15 +0000 (11:56 +0000)] 
Progress on autoconf doom!

15 years agoGrr! It needs a newer version of autoconf.
Douglas William Thrift [Tue, 24 Nov 2009 03:46:54 +0000 (03:46 +0000)] 
Grr! It needs a newer version of autoconf.

15 years agoVery very very... very early autoconf stuff.
Douglas William Thrift [Tue, 24 Nov 2009 03:25:44 +0000 (03:25 +0000)] 
Very very very... very early autoconf stuff.

15 years agoAdd Bridge.hpp to clean, grr!
Douglas William Thrift [Tue, 24 Nov 2009 02:53:49 +0000 (02:53 +0000)] 
Add Bridge.hpp to clean, grr!

15 years agoFix build on FreeBSD.
Douglas William Thrift [Mon, 23 Nov 2009 03:25:24 +0000 (03:25 +0000)] 
Fix build on FreeBSD.

15 years agoI hate Apple's sham of a compiler.
Jay Freeman (saurik) [Fri, 20 Nov 2009 17:47:21 +0000 (17:47 +0000)] 
I hate Apple's sham of a compiler.

15 years agoAccidentally let CYProtocol leak on non-Objective-C systems.
Jay Freeman (saurik) [Fri, 20 Nov 2009 17:23:52 +0000 (17:23 +0000)] 
Accidentally let CYProtocol leak on non-Objective-C systems.

15 years agoImplemented functor caching.
Jay Freeman (saurik) [Thu, 19 Nov 2009 21:44:34 +0000 (21:44 +0000)] 
Implemented functor caching.

15 years agoAdded support for @class protocol lists.
Jay Freeman (saurik) [Thu, 19 Nov 2009 20:29:18 +0000 (20:29 +0000)] 
Added support for @class protocol lists.

15 years agoFixing various FreeBSD issues.
Jay Freeman (saurik) [Thu, 19 Nov 2009 09:39:35 +0000 (09:39 +0000)] 
Fixing various FreeBSD issues.

15 years agoAttempting to better abstract FreeBSD.
Jay Freeman (saurik) [Thu, 19 Nov 2009 08:18:44 +0000 (08:18 +0000)] 
Attempting to better abstract FreeBSD.

15 years agoFixed a NULL-pointer dereference on anonymous structures.
Jay Freeman (saurik) [Thu, 19 Nov 2009 08:11:05 +0000 (08:11 +0000)] 
Fixed a NULL-pointer dereference on anonymous structures.

15 years agoFixed the stupid variable renaming issue at the top level.
Jay Freeman (saurik) [Thu, 19 Nov 2009 06:07:44 +0000 (06:07 +0000)] 
Fixed the stupid variable renaming issue at the top level.

15 years agoFixed all of the memory leaks caused by the new identifier renamer.
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.

15 years agoStarted refactoring the identifier mechanism to sort on usage.
Jay Freeman (saurik) [Thu, 19 Nov 2009 00:37:29 +0000 (00:37 +0000)] 
Started refactoring the identifier mechanism to sort on usage.

15 years agoDrastic performance enhancement by using a perfect hash instead of an sqlite3 database.
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.

15 years agoFixed a bug where the identifier merging algorithm would fail horribly on pre-merged...
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.

15 years agoFixed a simple build error on Mac OS X.
Jay Freeman (saurik) [Tue, 17 Nov 2009 19:17:09 +0000 (19:17 +0000)] 
Fixed a simple build error on Mac OS X.

15 years agoFixed some compilation errors 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.

15 years agoImplemented the symbol sorting optimization, for optimal gzip compression.
Jay Freeman (saurik) [Tue, 17 Nov 2009 10:31:40 +0000 (10:31 +0000)] 
Implemented the symbol sorting optimization, for optimal gzip compression.

15 years agoCrazy variable naming optimization of doom.
Jay Freeman (saurik) [Tue, 17 Nov 2009 06:01:40 +0000 (06:01 +0000)] 
Crazy variable naming optimization of doom.

15 years agoOptimized the variable renamer to rename more variables to 'a'.
Jay Freeman (saurik) [Tue, 17 Nov 2009 05:20:24 +0000 (05:20 +0000)] 
Optimized the variable renamer to rename more variables to 'a'.

15 years agoFix on Linux?!
Douglas William Thrift [Tue, 17 Nov 2009 04:54:43 +0000 (04:54 +0000)] 
Fix on Linux?!

15 years agoAdded a level of indirection so we don't keep repackaging stale packages.
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.

15 years agoRemoved 'each' from the list of unconditionally reserved words and changed the minifi...
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.

15 years agoAdded support for octal literals.
Jay Freeman (saurik) [Mon, 16 Nov 2009 21:48:04 +0000 (21:48 +0000)] 
Added support for octal literals.

15 years agoAdded Microsoft Ajax Minifier to local test output.
Jay Freeman (saurik) [Mon, 16 Nov 2009 21:47:03 +0000 (21:47 +0000)] 
Added Microsoft Ajax Minifier to local test output.

15 years agoCleaned up the scope code (on the way to let blocks), and disabled renaming at top...
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.

15 years agoPorted Objective-C bridge to match up with the latest compiler changes.
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.

15 years agoMilestone #1: YUI has been destroyed, with room to spare.
Jay Freeman (saurik) [Mon, 16 Nov 2009 11:54:50 +0000 (11:54 +0000)] 
Milestone #1: YUI has been destroyed, with room to spare.

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.