]> git.saurik.com Git - cycript.git/log
cycript.git
15 years agoSolve a corner case of dealloc hooking on JS derived class objects using MobileSubstrate.
Jay Freeman (saurik) [Wed, 14 Oct 2009 21:58:51 +0000 (21:58 +0000)] 
Solve a corner case of dealloc hooking on JS derived class objects using MobileSubstrate.

15 years agoAdded a lot of bridge supports, setup for enum and typedef, implemented cy object...
Jay Freeman (saurik) [Wed, 14 Oct 2009 21:47:37 +0000 (21:47 +0000)] 
Added a lot of bridge supports, setup for enum and typedef, implemented cy object property storage, and slightly improved CYData factorization.

15 years agoProtect bash glob expansions while generating libcycript.plist (thanks to kennytm...
Jay Freeman (saurik) [Mon, 12 Oct 2009 19:32:44 +0000 (19:32 +0000)] 
Protect bash glob expansions while generating libcycript.plist (thanks to kennytm), reorganized makefile gcc arguments slightly, removed CYApplicatonMain hack, support new Pointer to associate types to addresses, setup sig::Parse callbacks to later support circular type definitions, began reworking objc_registerClassPair to support tacking on extra Cycript features, and implemented a horrid temporary hack to allow @class objects to have a single JavaScript Instance object (at the extreme cost of simply leaking the entire Objective-C object).

15 years agoFix line numbers of errors caused in executed scripts due to lopping off the first...
Jay Freeman (saurik) [Mon, 12 Oct 2009 00:04:11 +0000 (00:04 +0000)] 
Fix line numbers of errors caused in executed scripts due to lopping off the first line, removed CYApplicationMain temporary hack, implemented new Pointer for binding a type to an address, and slightly rearranged gcc makefile arguments.

15 years agoFixed an issue where I could no longer create pointers to void.
Jay Freeman (saurik) [Sun, 11 Oct 2009 05:31:49 +0000 (05:31 +0000)] 
Fixed an issue where I could no longer create pointers to void.

15 years agoImplemented pointer indirect assignment.
Jay Freeman (saurik) [Sun, 11 Oct 2009 05:12:10 +0000 (05:12 +0000)] 
Implemented pointer indirect assignment.

15 years agoImplemented pointer indirection.
Jay Freeman (saurik) [Sun, 11 Oct 2009 05:02:35 +0000 (05:02 +0000)] 
Implemented pointer indirection.

15 years agoFinished the memory manager.
Jay Freeman (saurik) [Sun, 11 Oct 2009 03:09:03 +0000 (03:09 +0000)] 
Finished the memory manager.

15 years agoAdded bridging for nlist_64, activated memory manager, and setup a remap from singlet...
Jay Freeman (saurik) [Sat, 10 Oct 2009 21:00:56 +0000 (21:00 +0000)] 
Added bridging for nlist_64, activated memory manager, and setup a remap from singleton unions to structs.

15 years agoStarted working on CYApplicationMain replacement, added bridging for some Foundation...
Jay Freeman (saurik) [Sat, 10 Oct 2009 20:11:54 +0000 (20:11 +0000)] 
Started working on CYApplicationMain replacement, added bridging for some Foundation core types, and fixed issues caused by working with structs that are missing name bridges.

15 years agoImplemented structure field names, removed parentheses from NSDictionary CYON, and...
Jay Freeman (saurik) [Sat, 10 Oct 2009 19:10:58 +0000 (19:10 +0000)] 
Implemented structure field names, removed parentheses from NSDictionary CYON, and made quotations around propery name CYON optional.

15 years agoImplemented @property access, made Pointer.toCYON printf %p, added UIWindow bridge...
Jay Freeman (saurik) [Sat, 10 Oct 2009 17:49:23 +0000 (17:49 +0000)] 
Implemented @property access, made Pointer.toCYON printf %p, added UIWindow bridge support, cache selectors for objc_msgSend, and slightly refactored the message sending and function calling APIs.

15 years agoMoved HTTP server to its own file, implemented toJSON support, split off CYON from...
Jay Freeman (saurik) [Sat, 10 Oct 2009 14:41:59 +0000 (14:41 +0000)] 
Moved HTTP server to its own file, implemented toJSON support, split off CYON from JSON, changed cy to a more general cy, added copyright notices, and optimized string serialization (using correct quoting as appropriate for single/double quote density).

15 years agoMinor refactoring, checkpoint commit.
Jay Freeman (saurik) [Sat, 10 Oct 2009 12:46:56 +0000 (12:46 +0000)] 
Minor refactoring, checkpoint commit.

15 years agoFixed [4 longLongValue] == 1.522122665807053e+16.
Jay Freeman (saurik) [Sat, 10 Oct 2009 01:42:23 +0000 (01:42 +0000)] 
Fixed [4 longLongValue] == 1.522122665807053e+16.

15 years agoAdded more UIKit bridging, better factored property access on structs (fixing a crash...
Jay Freeman (saurik) [Fri, 9 Oct 2009 19:48:01 +0000 (19:48 +0000)] 
Added more UIKit bridging, better factored property access on structs (fixing a crash bug if you fell off the end), and test svnversion for .deb construction.

15 years agoRemove system.global temporarily, added libffi Depends:, and setup REPL with _ variab...
Jay Freeman (saurik) [Fri, 9 Oct 2009 18:35:06 +0000 (18:35 +0000)] 
Remove system.global temporarily, added libffi Depends:, and setup REPL with _ variable for result.

15 years agoAdd CFShow* to Bridge.
Jay Freeman (saurik) [Fri, 9 Oct 2009 10:58:17 +0000 (10:58 +0000)] 
Add CFShow* to Bridge.

15 years agoRemove e: debugging NSLog.
Jay Freeman (saurik) [Fri, 9 Oct 2009 10:38:44 +0000 (10:38 +0000)] 
Remove e: debugging NSLog.

15 years agoOutput all message declarations (not just one or the first and last), flesh out some...
Jay Freeman (saurik) [Fri, 9 Oct 2009 10:33:00 +0000 (10:33 +0000)] 
Output all message declarations (not just one or the first and last), flesh out some UIKit bridging, fix Instance toString() memory allocation, and copy all structure fields (not just the last one onto the first element).

15 years agoMostly implemented Struct support.
Jay Freeman (saurik) [Fri, 9 Oct 2009 08:37:42 +0000 (08:37 +0000)] 
Mostly implemented Struct support.

15 years agoTried to unify naming of classes, removed usages of JSC-specific parentClass, added...
Jay Freeman (saurik) [Fri, 9 Oct 2009 02:52:29 +0000 (02:52 +0000)] 
Tried to unify naming of classes, removed usages of JSC-specific parentClass, added a separate obc. namespace, moved Global's functionality out to a Runtime prototype, refactored Bridge to keep separate selector/C namespaces, registered dlfcn names, typed up a quick todo list, and started using .valueOf() to get pointer values.

15 years agoI hate NSNull.
Jay Freeman (saurik) [Thu, 8 Oct 2009 21:21:06 +0000 (21:21 +0000)] 
I hate NSNull.

15 years agoAdded support for array and dictionary property access.
Jay Freeman (saurik) [Thu, 8 Oct 2009 21:05:32 +0000 (21:05 +0000)] 
Added support for array and dictionary property access.

15 years agoDrastic modifications to exception handling that required temporarily bringing back...
Jay Freeman (saurik) [Thu, 8 Oct 2009 20:38:21 +0000 (20:38 +0000)] 
Drastic modifications to exception handling that required temporarily bringing back Objective- for the core Application :(.

15 years agoFurther memory management improvements, fixed some weird vtable bugs with CYThis...
Jay Freeman (saurik) [Thu, 8 Oct 2009 19:44:38 +0000 (19:44 +0000)] 
Further memory management improvements, fixed some weird vtable bugs with CYThis, ripped Objective- from the C++ of the core application (Dalvik preparation), corrected the bitification of the CYFlags enum, and implemented Objective-C to JavaScript transition.

15 years agoDrastic improvements to memory management, handle many more minimization corner cases...
Jay Freeman (saurik) [Thu, 8 Oct 2009 00:50:58 +0000 (00:50 +0000)] 
Drastic improvements to memory management, handle many more minimization corner cases via CYFlags (like NoIn), added support for @class, implemented Selector.type, and support execution of script files.

15 years agoAdded some documentation links for reference.
Jay Freeman (saurik) [Fri, 2 Oct 2009 23:49:50 +0000 (23:49 +0000)] 
Added some documentation links for reference.

15 years agoAdded console commands.
Jay Freeman (saurik) [Fri, 2 Oct 2009 23:49:15 +0000 (23:49 +0000)] 
Added console commands.

15 years agoFurther normalization and fixed some output cases.
Jay Freeman (saurik) [Fri, 2 Oct 2009 23:48:30 +0000 (23:48 +0000)] 
Further normalization and fixed some output cases.

15 years agoDocuemented some precedence rules (going to target a more normalized parser).
Jay Freeman (saurik) [Fri, 2 Oct 2009 23:47:02 +0000 (23:47 +0000)] 
Docuemented some precedence rules (going to target a more normalized parser).

15 years agoFixed a stupid bug that caused ?: to crash.
Jay Freeman (saurik) [Fri, 2 Oct 2009 04:30:18 +0000 (04:30 +0000)] 
Fixed a stupid bug that caused ?: to crash.

15 years agoDrastically improved serializer.
Jay Freeman (saurik) [Fri, 2 Oct 2009 04:29:06 +0000 (04:29 +0000)] 
Drastically improved serializer.

15 years agoFixed argument serialization comma bug.
Jay Freeman (saurik) [Thu, 1 Oct 2009 22:18:06 +0000 (22:18 +0000)] 
Fixed argument serialization comma bug.

15 years agoSerialise JSON WebUndefined's in NSArray as JS elision.
Jay Freeman (saurik) [Thu, 1 Oct 2009 22:13:09 +0000 (22:13 +0000)] 
Serialise JSON WebUndefined's in NSArray as JS elision.

15 years agoImplemented CYSelector::Output, split CYSelectorPart, and further enforced CYNext.
Jay Freeman (saurik) [Thu, 1 Oct 2009 22:07:04 +0000 (22:07 +0000)] 
Implemented CYSelector::Output, split CYSelectorPart, and further enforced CYNext.

15 years agoChange mind (again) and use tightly-coupled C++ API.
Jay Freeman (saurik) [Thu, 1 Oct 2009 21:56:37 +0000 (21:56 +0000)] 
Change mind (again) and use tightly-coupled C++ API.

15 years agoSupport tokenization errors.
Jay Freeman (saurik) [Thu, 1 Oct 2009 21:30:23 +0000 (21:30 +0000)] 
Support tokenization errors.

15 years agoFinished implementing strings.
Jay Freeman (saurik) [Thu, 1 Oct 2009 21:24:18 +0000 (21:24 +0000)] 
Finished implementing strings.

15 years agoReadline integration and console refactoring.
Jay Freeman (saurik) [Thu, 1 Oct 2009 20:57:48 +0000 (20:57 +0000)] 
Readline integration and console refactoring.

15 years agoLocations, array literal elisions, and fixed prompting.
Jay Freeman (saurik) [Thu, 1 Oct 2009 20:10:20 +0000 (20:10 +0000)] 
Locations, array literal elisions, and fixed prompting.

15 years agoMore interactivity and @selector start.
Jay Freeman (saurik) [Thu, 1 Oct 2009 08:19:42 +0000 (08:19 +0000)] 
More interactivity and @selector start.

15 years agoPicked some minor nits.
Jay Freeman (saurik) [Thu, 1 Oct 2009 07:26:49 +0000 (07:26 +0000)] 
Picked some minor nits.

15 years agoFactored away all LALR(1) conflicts and gave up on GLR.
Jay Freeman (saurik) [Thu, 1 Oct 2009 07:07:09 +0000 (07:07 +0000)] 
Factored away all LALR(1) conflicts and gave up on GLR.

15 years agoImplemented automatic semicolon insertion token restrictions.
Jay Freeman (saurik) [Thu, 1 Oct 2009 00:36:04 +0000 (00:36 +0000)] 
Implemented automatic semicolon insertion token restrictions.

15 years agoUnified scanner state.
Jay Freeman (saurik) [Thu, 1 Oct 2009 00:23:57 +0000 (00:23 +0000)] 
Unified scanner state.

15 years agoEscaped the Q Continuum.
Jay Freeman (saurik) [Wed, 30 Sep 2009 23:20:27 +0000 (23:20 +0000)] 
Escaped the Q Continuum.

15 years agoFinished implementing automatic semi-colon rules, but failed hard at fixing multi...
Jay Freeman (saurik) [Wed, 30 Sep 2009 22:58:10 +0000 (22:58 +0000)] 
Finished implementing automatic semi-colon rules, but failed hard at fixing multi-line comments.

15 years agoI nailed the interactive parser!
Jay Freeman (saurik) [Wed, 30 Sep 2009 09:43:14 +0000 (09:43 +0000)] 
I nailed the interactive parser!

15 years agoConnected the console back together.
Jay Freeman (saurik) [Wed, 30 Sep 2009 08:24:36 +0000 (08:24 +0000)] 
Connected the console back together.

15 years agoAdded output generation.
Jay Freeman (saurik) [Wed, 30 Sep 2009 07:34:08 +0000 (07:34 +0000)] 
Added output generation.

15 years agoI finally finished the AST.
Jay Freeman (saurik) [Wed, 30 Sep 2009 03:17:19 +0000 (03:17 +0000)] 
I finally finished the AST.

15 years agoMaybe finished lexer.
Jay Freeman (saurik) [Tue, 29 Sep 2009 23:44:55 +0000 (23:44 +0000)] 
Maybe finished lexer.

15 years agoThe glue code required for Bison/Flex parsers is insane.
Jay Freeman (saurik) [Tue, 29 Sep 2009 23:08:23 +0000 (23:08 +0000)] 
The glue code required for Bison/Flex parsers is insane.

15 years agoC++ Bison conversion.
Jay Freeman (saurik) [Tue, 29 Sep 2009 22:41:09 +0000 (22:41 +0000)] 
C++ Bison conversion.

15 years agoFinished JS Bison/Flex parser.
Jay Freeman (saurik) [Tue, 29 Sep 2009 21:39:35 +0000 (21:39 +0000)] 
Finished JS Bison/Flex parser.

15 years agoOMG it compiles.
Jay Freeman (saurik) [Fri, 4 Sep 2009 16:40:46 +0000 (16:40 +0000)] 
OMG it compiles.

15 years agoCheckpoint before something drastic.
Jay Freeman (saurik) [Wed, 2 Sep 2009 05:07:44 +0000 (05:07 +0000)] 
Checkpoint before something drastic.

15 years agoReady to start testing the parser.
Jay Freeman (saurik) [Tue, 1 Sep 2009 11:33:07 +0000 (11:33 +0000)] 
Ready to start testing the parser.

15 years agoUse _pooled in CYConsole.
Jay Freeman (saurik) [Tue, 1 Sep 2009 09:08:29 +0000 (09:08 +0000)] 
Use _pooled in CYConsole.

15 years agoRefactored console mechanism.
Jay Freeman (saurik) [Tue, 1 Sep 2009 09:06:08 +0000 (09:06 +0000)] 
Refactored console mechanism.

15 years agoTemporarily remove MobileSubstrate extension.
Jay Freeman (saurik) [Tue, 1 Sep 2009 08:45:30 +0000 (08:45 +0000)] 
Temporarily remove MobileSubstrate extension.

15 years agoFixed clean target.
Jay Freeman (saurik) [Tue, 1 Sep 2009 08:37:20 +0000 (08:37 +0000)] 
Fixed clean target.

15 years agoRenamed the project to cycript.
Jay Freeman (saurik) [Tue, 1 Sep 2009 08:32:22 +0000 (08:32 +0000)] 
Renamed the project to cycript.

15 years agoMinor code cleaning.
Jay Freeman (saurik) [Tue, 1 Sep 2009 08:24:56 +0000 (08:24 +0000)] 
Minor code cleaning.

15 years agoStupid _assert() throw-away.
Jay Freeman (saurik) [Tue, 1 Sep 2009 07:48:07 +0000 (07:48 +0000)] 
Stupid _assert() throw-away.

15 years agoImproved error handling.
Jay Freeman (saurik) [Tue, 1 Sep 2009 07:47:51 +0000 (07:47 +0000)] 
Improved error handling.

15 years agoSupport bridge support variables.
Jay Freeman (saurik) [Tue, 1 Sep 2009 07:34:01 +0000 (07:34 +0000)] 
Support bridge support variables.

15 years agoInitial bridge support.
Jay Freeman (saurik) [Tue, 1 Sep 2009 07:26:57 +0000 (07:26 +0000)] 
Initial bridge support.

15 years agoHierarchialization.
Jay Freeman (saurik) [Mon, 31 Aug 2009 23:20:36 +0000 (23:20 +0000)] 
Hierarchialization.

15 years agoIgnore Struct.hpp.
Jay Freeman (saurik) [Mon, 31 Aug 2009 22:06:08 +0000 (22:06 +0000)] 
Ignore Struct.hpp.

15 years agoVarious factorizations.
Jay Freeman (saurik) [Mon, 31 Aug 2009 22:05:12 +0000 (22:05 +0000)] 
Various factorizations.

15 years agoGeneralized FFI calls.
Jay Freeman (saurik) [Mon, 31 Aug 2009 21:37:08 +0000 (21:37 +0000)] 
Generalized FFI calls.

15 years agoMassive work done on FFI.
Jay Freeman (saurik) [Mon, 31 Aug 2009 20:24:47 +0000 (20:24 +0000)] 
Massive work done on FFI.

15 years agoNaming consistency.
Jay Freeman (saurik) [Mon, 31 Aug 2009 13:24:00 +0000 (13:24 +0000)] 
Naming consistency.

15 years agoImproved exception handling and corrected NO.
Jay Freeman (saurik) [Mon, 31 Aug 2009 13:20:20 +0000 (13:20 +0000)] 
Improved exception handling and corrected NO.

15 years agoThis is getting seriously hot.
Jay Freeman (saurik) [Mon, 31 Aug 2009 13:05:44 +0000 (13:05 +0000)] 
This is getting seriously hot.

15 years agoInitial FFI call success.
Jay Freeman (saurik) [Mon, 31 Aug 2009 10:14:24 +0000 (10:14 +0000)] 
Initial FFI call success.

15 years agoThis is starting to look better.
Jay Freeman (saurik) [Mon, 31 Aug 2009 06:30:37 +0000 (06:30 +0000)] 
This is starting to look better.

15 years agoFirst test version.
Jay Freeman (saurik) [Sun, 30 Aug 2009 08:17:49 +0000 (08:17 +0000)] 
First test version.

15 years agoInitial directory tree.
Jay Freeman (saurik) [Sun, 30 Aug 2009 06:30:34 +0000 (06:30 +0000)] 
Initial directory tree.