]> git.saurik.com Git - cycript.git/log
cycript.git
8 years agoOrganize tokens into something more of a database.
Jay Freeman (saurik) [Sat, 28 Nov 2015 12:35:50 +0000 (04:35 -0800)] 
Organize tokens into something more of a database.

8 years agoRemove seemingly-unneccessary CYBlank from parser.
Jay Freeman (saurik) [Sat, 28 Nov 2015 12:25:15 +0000 (04:25 -0800)] 
Remove seemingly-unneccessary CYBlank from parser.

8 years agoCleanly separate words and keywords using grammar.
Jay Freeman (saurik) [Sat, 28 Nov 2015 10:54:35 +0000 (02:54 -0800)] 
Cleanly separate words and keywords using grammar.

8 years agoRemove all (ignored!) destructors from Parser.hpp.
Jay Freeman (saurik) [Sat, 28 Nov 2015 09:18:53 +0000 (01:18 -0800)] 
Remove all (ignored!) destructors from Parser.hpp.

8 years agoMaybe thread local storage is a performance issue.
Jay Freeman (saurik) [Thu, 26 Nov 2015 10:17:14 +0000 (02:17 -0800)] 
Maybe thread local storage is a performance issue.

8 years agoAdd a way to clean all of the Apple architectures.
Jay Freeman (saurik) [Thu, 26 Nov 2015 10:03:36 +0000 (02:03 -0800)] 
Add a way to clean all of the Apple architectures.

8 years agoCYPool's reservation policy was a stub/mistake :/.
Jay Freeman (saurik) [Thu, 26 Nov 2015 10:02:28 +0000 (02:02 -0800)] 
CYPool's reservation policy was a stub/mistake :/.

8 years agoMaintain all the flags through apple-configure.sh.
Jay Freeman (saurik) [Thu, 26 Nov 2015 10:01:05 +0000 (02:01 -0800)] 
Maintain all the flags through apple-configure.sh.

8 years agoCYPool::str*dup was leaking memory via global new.
Jay Freeman (saurik) [Thu, 26 Nov 2015 05:53:39 +0000 (21:53 -0800)] 
CYPool::str*dup was leaking memory via global new.

8 years agoUse -fvisibility=hidden to avoid slow symbol stub.
Jay Freeman (saurik) [Thu, 26 Nov 2015 05:49:01 +0000 (21:49 -0800)] 
Use -fvisibility=hidden to avoid slow symbol stub.

8 years agoStub alternative (vector) implementation of Stack.
Jay Freeman (saurik) [Thu, 26 Nov 2015 03:25:40 +0000 (19:25 -0800)] 
Stub alternative (vector) implementation of Stack.

8 years agoPort to Linux: g++ 4.8 and JavaScriptCoreGTK+ 4.0.
Jay Freeman (saurik) [Thu, 26 Nov 2015 01:50:39 +0000 (17:50 -0800)] 
Port to Linux: g++ 4.8 and JavaScriptCoreGTK+ 4.0.

8 years agoBison does not actually care about the stack size.
Jay Freeman (saurik) [Thu, 26 Nov 2015 00:59:33 +0000 (16:59 -0800)] 
Bison does not actually care about the stack size.

8 years agoBison's stack was using up *half* my parsing time.
Jay Freeman (saurik) [Thu, 26 Nov 2015 00:03:14 +0000 (16:03 -0800)] 
Bison's stack was using up *half* my parsing time.

8 years agoProvide an easier way to run the debugger on OS X.
Jay Freeman (saurik) [Thu, 26 Nov 2015 00:02:12 +0000 (16:02 -0800)] 
Provide an easier way to run the debugger on OS X.

8 years agoFix =>, yield, and throw with respect to newlines.
Jay Freeman (saurik) [Wed, 25 Nov 2015 14:32:27 +0000 (06:32 -0800)] 
Fix =>, yield, and throw with respect to newlines.

8 years agoSupport most of the Unicode stuff in ECMAScript 6.
Jay Freeman (saurik) [Wed, 25 Nov 2015 13:54:12 +0000 (05:54 -0800)] 
Support most of the Unicode stuff in ECMAScript 6.

8 years agoAvoid syntax error on alphabetic @box expressions.
Jay Freeman (saurik) [Wed, 25 Nov 2015 01:34:08 +0000 (17:34 -0800)] 
Avoid syntax error on alphabetic @box expressions.

9 years agoOutput a smaller representation of true and false.
Jay Freeman (saurik) [Tue, 24 Nov 2015 11:08:12 +0000 (03:08 -0800)] 
Output a smaller representation of true and false.

9 years agoBlock lambda functions should output |parameters|.
Jay Freeman (saurik) [Tue, 24 Nov 2015 10:30:07 +0000 (02:30 -0800)] 
Block lambda functions should output |parameters|.

9 years agoDrastically improve pretty printed code structure.
Jay Freeman (saurik) [Tue, 24 Nov 2015 10:21:23 +0000 (02:21 -0800)] 
Drastically improve pretty printed code structure.

9 years agoRegular expressions cannot have alphabetic follow.
Jay Freeman (saurik) [Tue, 24 Nov 2015 08:41:46 +0000 (00:41 -0800)] 
Regular expressions cannot have alphabetic follow.

9 years agoImplement all of the crazy ECMAScript octal stuff.
Jay Freeman (saurik) [Tue, 24 Nov 2015 08:20:06 +0000 (00:20 -0800)] 
Implement all of the crazy ECMAScript octal stuff.

9 years agoSupport implicit return from block_lambda_revival.
Jay Freeman (saurik) [Tue, 24 Nov 2015 00:33:49 +0000 (16:33 -0800)] 
Support implicit return from block_lambda_revival.

9 years agoSimplify Block, Compound, and (new) Parenthetical.
Jay Freeman (saurik) [Mon, 23 Nov 2015 23:56:10 +0000 (15:56 -0800)] 
Simplify Block, Compound, and (new) Parenthetical.

9 years agoConfigure a better trade-off in lexer compression.
Jay Freeman (saurik) [Mon, 23 Nov 2015 11:39:12 +0000 (03:39 -0800)] 
Configure a better trade-off in lexer compression.

9 years agoThe scanner maintains the Bison location manually.
Jay Freeman (saurik) [Mon, 23 Nov 2015 11:26:40 +0000 (03:26 -0800)] 
The scanner maintains the Bison location manually.

9 years agoOptimize for lexer performance: stop backtracking.
Jay Freeman (saurik) [Mon, 23 Nov 2015 11:11:12 +0000 (03:11 -0800)] 
Optimize for lexer performance: stop backtracking.

9 years agoI noticed this file today: it has never been used.
Jay Freeman (saurik) [Sat, 21 Nov 2015 12:15:48 +0000 (04:15 -0800)] 
I noticed this file today: it has never been used.

9 years agoSimplify CYScope's declaration by embracing Close.
Jay Freeman (saurik) [Sat, 21 Nov 2015 09:32:33 +0000 (01:32 -0800)] 
Simplify CYScope's declaration by embracing Close.

9 years agoIdentifiers that contain $ should tab-complete :(.
Jay Freeman (saurik) [Sat, 21 Nov 2015 09:01:35 +0000 (01:01 -0800)] 
Identifiers that contain $ should tab-complete :(.

9 years agoAutomatic semi-colon insertion broke with Bison 3.
Jay Freeman (saurik) [Thu, 19 Nov 2015 09:36:46 +0000 (01:36 -0800)] 
Automatic semi-colon insertion broke with Bison 3.

9 years agoRename CYField to CYClassField, for CYStructField.
Jay Freeman (saurik) [Thu, 19 Nov 2015 09:14:09 +0000 (01:14 -0800)] 
Rename CYField to CYClassField, for CYStructField.

9 years agoYYABORT does not actually lead to a parse failure.
Jay Freeman (saurik) [Wed, 18 Nov 2015 23:07:49 +0000 (15:07 -0800)] 
YYABORT does not actually lead to a parse failure.

9 years agoSupport parenthesized "fat arrow" parameter lists.
Jay Freeman (saurik) [Wed, 18 Nov 2015 23:06:59 +0000 (15:06 -0800)] 
Support parenthesized "fat arrow" parameter lists.

9 years agoSome old syntax to parse Swift's named parameters.
Jay Freeman (saurik) [Wed, 18 Nov 2015 08:31:06 +0000 (00:31 -0800)] 
Some old syntax to parse Swift's named parameters.

9 years agoAvoid leaking lots of symbols into static library.
Jay Freeman (saurik) [Wed, 18 Nov 2015 08:22:04 +0000 (00:22 -0800)] 
Avoid leaking lots of symbols into static library.

9 years agoWe should not explicitly cast pointers to doubles.
Jay Freeman (saurik) [Wed, 18 Nov 2015 08:12:10 +0000 (00:12 -0800)] 
We should not explicitly cast pointers to doubles.

9 years agoScavenge all of my old todo lists, from git stash.
Jay Freeman (saurik) [Wed, 18 Nov 2015 08:02:45 +0000 (00:02 -0800)] 
Scavenge all of my old todo lists, from git stash.

9 years agoOn Mac OS X, detect -framework JavaVM for CY_JAVA.
Jay Freeman (saurik) [Wed, 18 Nov 2015 07:49:01 +0000 (23:49 -0800)] 
On Mac OS X, detect -framework JavaVM for CY_JAVA.

9 years agoPut the filename in _trace to make it more useful.
Jay Freeman (saurik) [Wed, 18 Nov 2015 07:48:28 +0000 (23:48 -0800)] 
Put the filename in _trace to make it more useful.

9 years agoApply SO_REUSEADDR to make CYListenServer simpler.
Jay Freeman (saurik) [Wed, 18 Nov 2015 07:46:03 +0000 (23:46 -0800)] 
Apply SO_REUSEADDR to make CYListenServer simpler.

9 years agoAdd some flex %options I had in a long dead stash.
Jay Freeman (saurik) [Tue, 17 Nov 2015 05:37:21 +0000 (21:37 -0800)] 
Add some flex %options I had in a long dead stash.

9 years agoImplement Ctrl-C "cancel" with ExecutionTimeLimit.
Jay Freeman (saurik) [Tue, 17 Nov 2015 05:09:18 +0000 (21:09 -0800)] 
Implement Ctrl-C "cancel" with ExecutionTimeLimit.

9 years agoProvide toCYON for NSOrderedSet (just like NSSet).
Jay Freeman (saurik) [Tue, 17 Nov 2015 03:25:09 +0000 (19:25 -0800)] 
Provide toCYON for NSOrderedSet (just like NSSet).

9 years agoJavaScriptCore assumes delete callback isn't NULL. v0.9.505
Jay Freeman (saurik) [Fri, 13 Nov 2015 10:51:11 +0000 (02:51 -0800)] 
JavaScriptCore assumes delete callback isn't NULL.

9 years agoMove message parameter name into typed identifier. v0.9.504
Jay Freeman (saurik) [Wed, 11 Nov 2015 09:50:03 +0000 (01:50 -0800)] 
Move message parameter name into typed identifier.

9 years agoMerge adapter into callback, removing indirection.
Jay Freeman (saurik) [Wed, 11 Nov 2015 09:10:44 +0000 (01:10 -0800)] 
Merge adapter into callback, removing indirection.

9 years agoIsolate ffi_call uses to only one common function.
Jay Freeman (saurik) [Wed, 11 Nov 2015 09:08:17 +0000 (01:08 -0800)] 
Isolate ffi_call uses to only one common function.

9 years agoPromote all warnings from bison to full-on errors.
Jay Freeman (saurik) [Wed, 11 Nov 2015 08:58:07 +0000 (00:58 -0800)] 
Promote all warnings from bison to full-on errors.

9 years agoRemove the dirty flag on libffi submodule (dunno).
Jay Freeman (saurik) [Wed, 11 Nov 2015 00:36:49 +0000 (16:36 -0800)] 
Remove the dirty flag on libffi submodule (dunno).

9 years agoTry harder to use trampoline tables (for iOS 9.0).
Jay Freeman (saurik) [Wed, 11 Nov 2015 00:24:16 +0000 (16:24 -0800)] 
Try harder to use trampoline tables (for iOS 9.0).

9 years agoFix build of cycript using clang++-3.7, from Fink.
Jay Freeman (saurik) [Tue, 10 Nov 2015 09:34:51 +0000 (01:34 -0800)] 
Fix build of cycript using clang++-3.7, from Fink.

9 years agoUpgrading to clang++-3.7 found infinite recursion.
Jay Freeman (saurik) [Tue, 10 Nov 2015 09:33:50 +0000 (01:33 -0800)] 
Upgrading to clang++-3.7 found infinite recursion.

9 years agoFix build of cycript when using g++-fsf from Fink.
Jay Freeman (saurik) [Tue, 10 Nov 2015 08:58:35 +0000 (00:58 -0800)] 
Fix build of cycript when using g++-fsf from Fink.

9 years agoUpdate copyright for 2015 (and it is almost 2016).
Jay Freeman (saurik) [Tue, 10 Nov 2015 08:10:39 +0000 (00:10 -0800)] 
Update copyright for 2015 (and it is almost 2016).

9 years agoRemove CY_ARCH (Substrate now handles this quirk).
Jay Freeman (saurik) [Tue, 10 Nov 2015 08:06:34 +0000 (00:06 -0800)] 
Remove CY_ARCH (Substrate now handles this quirk).

9 years agoUpgrade to automake 1.15 (the latest one in Fink).
Jay Freeman (saurik) [Tue, 10 Nov 2015 08:04:51 +0000 (00:04 -0800)] 
Upgrade to automake 1.15 (the latest one in Fink).

9 years agoGNUstep does not export object_getClass *sigh* :(.
Jay Freeman (saurik) [Mon, 9 Nov 2015 09:41:39 +0000 (09:41 +0000)] 
GNUstep does not export object_getClass *sigh* :(.

9 years agoRemove lots of now-obsolete GNUstep compatibility.
Jay Freeman (saurik) [Mon, 9 Nov 2015 06:06:53 +0000 (22:06 -0800)] 
Remove lots of now-obsolete GNUstep compatibility.

9 years agoRemove everything obsoleted by just using cynject.
Jay Freeman (saurik) [Mon, 9 Nov 2015 04:50:30 +0000 (20:50 -0800)] 
Remove everything obsoleted by just using cynject.

9 years agoUse CoreFoundation in Handler to #ifdef __APPLE__.
Jay Freeman (saurik) [Mon, 9 Nov 2015 04:44:13 +0000 (20:44 -0800)] 
Use CoreFoundation in Handler to #ifdef __APPLE__.

9 years agoAvoid error caused by passing -pthread to libtool.
Jay Freeman (saurik) [Thu, 5 Nov 2015 09:43:38 +0000 (01:43 -0800)] 
Avoid error caused by passing -pthread to libtool.

9 years agoPort to the now modern version of GNUstep (Linux).
Jay Freeman (saurik) [Thu, 5 Nov 2015 08:48:44 +0000 (08:48 +0000)] 
Port to the now modern version of GNUstep (Linux).

9 years agoLinux requires AX_PTHREAD to autodetect -lpthread.
Jay Freeman (saurik) [Wed, 4 Nov 2015 11:37:33 +0000 (03:37 -0800)] 
Linux requires AX_PTHREAD to autodetect -lpthread.

9 years agoFix object reference comparisons (and remove nil).
Jay Freeman (saurik) [Wed, 4 Nov 2015 11:11:24 +0000 (03:11 -0800)] 
Fix object reference comparisons (and remove nil).

9 years agoAvoid duplicating calls for getting type encoding.
Jay Freeman (saurik) [Wed, 4 Nov 2015 08:30:56 +0000 (00:30 -0800)] 
Avoid duplicating calls for getting type encoding.

9 years agoDo not crash if ivar has no type encoding (Swift).
Jay Freeman (saurik) [Wed, 4 Nov 2015 08:29:32 +0000 (00:29 -0800)] 
Do not crash if ivar has no type encoding (Swift).

9 years agoFix a few poor syntax assumptions in C-like types.
Jay Freeman (saurik) [Mon, 2 Nov 2015 13:22:28 +0000 (05:22 -0800)] 
Fix a few poor syntax assumptions in C-like types.

9 years agoLocation step should come before sliding position.
Jay Freeman (saurik) [Mon, 2 Nov 2015 13:18:38 +0000 (05:18 -0800)] 
Location step should come before sliding position.

9 years agoAvoid dependency hell by overriding location type.
Jay Freeman (saurik) [Mon, 2 Nov 2015 13:15:18 +0000 (05:15 -0800)] 
Avoid dependency hell by overriding location type.

9 years agoUpgrade to Bison 3.0.4 (Apple is never upgrading).
Jay Freeman (saurik) [Mon, 2 Nov 2015 12:34:08 +0000 (04:34 -0800)] 
Upgrade to Bison 3.0.4 (Apple is never upgrading).

9 years agoUpgrade to a more recent build of libtool in Fink.
Jay Freeman (saurik) [Mon, 2 Nov 2015 11:58:57 +0000 (03:58 -0800)] 
Upgrade to a more recent build of libtool in Fink.

9 years agoConsistently pass -g0 -O3 through Apple configure.
Jay Freeman (saurik) [Mon, 2 Nov 2015 10:54:48 +0000 (02:54 -0800)] 
Consistently pass -g0 -O3 through Apple configure.

9 years agoSet .SECONDARY to stop deletion of .libs/cycript_.
Jay Freeman (saurik) [Mon, 2 Nov 2015 09:50:34 +0000 (01:50 -0800)] 
Set .SECONDARY to stop deletion of .libs/cycript_.

9 years agoDelay expansion of MAKE, to allow using jobserver.
Jay Freeman (saurik) [Mon, 2 Nov 2015 09:32:59 +0000 (01:32 -0800)] 
Delay expansion of MAKE, to allow using jobserver.

9 years agoThe RuntimeProperty callback is now long obsolete.
Jay Freeman (saurik) [Sun, 1 Nov 2015 22:05:01 +0000 (14:05 -0800)] 
The RuntimeProperty callback is now long obsolete.

9 years agoRely on (automatic) weak symbols instead of dlsym.
Jay Freeman (saurik) [Sun, 1 Nov 2015 22:04:14 +0000 (14:04 -0800)] 
Rely on (automatic) weak symbols instead of dlsym.

9 years agoRename Instance::Transient to Instance::Permament.
Jay Freeman (saurik) [Sun, 1 Nov 2015 22:00:28 +0000 (14:00 -0800)] 
Rename Instance::Transient to Instance::Permament.

9 years agoCorrect a stupid mistake (!= 0 without _assert()).
Jay Freeman (saurik) [Wed, 28 Oct 2015 15:10:24 +0000 (08:10 -0700)] 
Correct a stupid mistake (!= 0 without _assert()).

9 years agoCobble injection into heavily sandboxed processes. v0.9.503
Jay Freeman (saurik) [Wed, 28 Oct 2015 13:48:34 +0000 (06:48 -0700)] 
Cobble injection into heavily sandboxed processes.

9 years agoPort to Substrate: use cynject (this is GPL-safe).
Jay Freeman (saurik) [Wed, 28 Oct 2015 12:18:00 +0000 (05:18 -0700)] 
Port to Substrate: use cynject (this is GPL-safe).

9 years agoOn iOS 9 Apple broke pre-existing 32-bit binaries.
Jay Freeman (saurik) [Thu, 15 Oct 2015 07:38:12 +0000 (00:38 -0700)] 
On iOS 9 Apple broke pre-existing 32-bit binaries.

9 years agoMove to an unknown/different version of autotools.
Jay Freeman (saurik) [Thu, 15 Oct 2015 07:30:35 +0000 (00:30 -0700)] 
Move to an unknown/different version of autotools.

9 years agoFix for-of loops (an internal variable was wrong).
Jay Freeman (saurik) [Mon, 12 Oct 2015 09:26:00 +0000 (02:26 -0700)] 
Fix for-of loops (an internal variable was wrong).

9 years agoI don't think the Types_ TypeMap was ever used :/.
Jay Freeman (saurik) [Mon, 12 Oct 2015 09:25:37 +0000 (02:25 -0700)] 
I don't think the Types_ TypeMap was ever used :/.

9 years agoPrefer JSValueIsStrictEqual to compare prototypes.
Jay Freeman (saurik) [Mon, 12 Oct 2015 09:24:30 +0000 (02:24 -0700)] 
Prefer JSValueIsStrictEqual to compare prototypes.

9 years agoOn iOS 9, JSObjectGetPrototype changes JSValueRef.
Jay Freeman (saurik) [Tue, 15 Sep 2015 04:11:42 +0000 (21:11 -0700)] 
On iOS 9, JSObjectGetPrototype changes JSValueRef.

9 years agoGuarantee hooks_ is initialized before CYRegister.
Jay Freeman (saurik) [Tue, 15 Sep 2015 04:10:29 +0000 (21:10 -0700)] 
Guarantee hooks_ is initialized before CYRegister.

10 years agoSupport extern "C" syntax to FFI via C prototypes.
Jay Freeman (saurik) [Fri, 31 Oct 2014 09:50:48 +0000 (02:50 -0700)] 
Support extern "C" syntax to FFI via C prototypes.

10 years agoCYMessage syntax should not be using CYEncodedType.
Jay Freeman (saurik) [Fri, 31 Oct 2014 08:42:04 +0000 (01:42 -0700)] 
CYMessage syntax should not be using CYEncodedType.

10 years agoC++11 now defaults destructors to noexcept(true).
Jay Freeman (saurik) [Mon, 13 Oct 2014 12:20:02 +0000 (05:20 -0700)] 
C++11 now defaults destructors to noexcept(true).

10 years agoDirectly use primitives to construct class types.
Jay Freeman (saurik) [Mon, 13 Oct 2014 11:16:16 +0000 (04:16 -0700)] 
Directly use primitives to construct class types.

10 years agoDirectly create types for Objective-C field types.
Jay Freeman (saurik) [Mon, 13 Oct 2014 11:09:26 +0000 (04:09 -0700)] 
Directly create types for Objective-C field types.

10 years agoRemove duplicated manually-pooled Type constructor.
Jay Freeman (saurik) [Mon, 13 Oct 2014 11:07:03 +0000 (04:07 -0700)] 
Remove duplicated manually-pooled Type constructor.

10 years agoAllow HOME in environment to override passwd file.
Jay Freeman (saurik) [Sat, 11 Oct 2014 22:29:26 +0000 (15:29 -0700)] 
Allow HOME in environment to override passwd file.

10 years agoSupport having multiple language hooks registered.
Jay Freeman (saurik) [Sat, 11 Oct 2014 22:15:16 +0000 (15:15 -0700)] 
Support having multiple language hooks registered.

10 years agoSetup for adding code to Bison implementation file.
Jay Freeman (saurik) [Sat, 11 Oct 2014 21:56:44 +0000 (14:56 -0700)] 
Setup for adding code to Bison implementation file.

10 years agoPass -std=c++11 in both CXXFLAGS and OBCJXXFLAGS.
Jay Freeman (saurik) [Sat, 11 Oct 2014 21:54:38 +0000 (14:54 -0700)] 
Pass -std=c++11 in both CXXFLAGS and OBCJXXFLAGS.

10 years ago/System/Library/Frameworks is an Apple-only path.
Jay Freeman (saurik) [Sat, 11 Oct 2014 20:48:54 +0000 (13:48 -0700)] 
/System/Library/Frameworks is an Apple-only path.