]>
git.saurik.com Git - cycript.git/log
Jay Freeman (saurik) [Tue, 8 Dec 2015 05:42:09 +0000 (21:42 -0800)]
Move LexSetRegEx to new "post-lookahead" paradigm.
Jay Freeman (saurik) [Mon, 7 Dec 2015 10:35:12 +0000 (02:35 -0800)]
Support tab completion on unenumerable properties.
Jay Freeman (saurik) [Mon, 7 Dec 2015 10:13:33 +0000 (02:13 -0800)]
Remove CYLetStatement and provide a stub of CYLet.
Jay Freeman (saurik) [Mon, 7 Dec 2015 09:22:20 +0000 (01:22 -0800)]
Use Object.defineProperty as ES6 class visibility.
Jay Freeman (saurik) [Mon, 7 Dec 2015 08:49:07 +0000 (00:49 -0800)]
Implement ECMAScript 6 class syntax (sort of?...).
Jay Freeman (saurik) [Sun, 6 Dec 2015 22:27:43 +0000 (14:27 -0800)]
Fix support for multiple "block lambda" arguments.
Jay Freeman (saurik) [Fri, 4 Dec 2015 09:35:12 +0000 (01:35 -0800)]
Slightly improve syntax hierarchy near CYFunction.
Jay Freeman (saurik) [Thu, 3 Dec 2015 05:14:39 +0000 (21:14 -0800)]
Avoid crashing when the user types a mismatched }.
Jay Freeman (saurik) [Thu, 3 Dec 2015 04:22:05 +0000 (20:22 -0800)]
Add libuv to the build (static linking for Apple).
Jay Freeman (saurik) [Wed, 2 Dec 2015 11:19:38 +0000 (03:19 -0800)]
Fix "fat arrow" functions that have no parameters.
Jay Freeman (saurik) [Wed, 2 Dec 2015 10:30:22 +0000 (02:30 -0800)]
Finally implemented *entire* ECMAScript 6 grammar.
Jay Freeman (saurik) [Wed, 2 Dec 2015 09:11:18 +0000 (01:11 -0800)]
Use fauxsu (from DHowett) to fix .deb permissions.
Jay Freeman (saurik) [Wed, 2 Dec 2015 08:59:09 +0000 (00:59 -0800)]
Compress lexer tables for usual download in Cydia.
Jay Freeman (saurik) [Wed, 2 Dec 2015 08:58:31 +0000 (00:58 -0800)]
The grammar and lexer should not share a filename.
Jay Freeman (saurik) [Wed, 2 Dec 2015 07:43:24 +0000 (23:43 -0800)]
Flex drove me crazy with "you just got jammed" :/.
Jay Freeman (saurik) [Wed, 2 Dec 2015 07:32:39 +0000 (23:32 -0800)]
Use start conditions to parse regular expressions.
Jay Freeman (saurik) [Wed, 2 Dec 2015 03:09:29 +0000 (19:09 -0800)]
Limit recompilation of files upon changed grammar.
Jay Freeman (saurik) [Wed, 2 Dec 2015 01:29:51 +0000 (17:29 -0800)]
Stub all of ECMAScript 6, but leave unimplemented.
Jay Freeman (saurik) [Wed, 2 Dec 2015 00:44:37 +0000 (16:44 -0800)]
Avoid ECMAScript6 conflicts with RubyBlock syntax.
Jay Freeman (saurik) [Tue, 1 Dec 2015 23:47:19 +0000 (15:47 -0800)]
OS X 10.11 on 64-bit now supports non-pointer isa.
Jay Freeman (saurik) [Tue, 1 Dec 2015 21:56:01 +0000 (13:56 -0800)]
Fix lexer hack correctness check when more spaces.
Jay Freeman (saurik) [Tue, 1 Dec 2015 21:53:34 +0000 (13:53 -0800)]
Put back YYABORT, just after we've called error().
Jay Freeman (saurik) [Tue, 1 Dec 2015 00:13:18 +0000 (16:13 -0800)]
Use forced lookahead to move "No" hacks to parser.
Jay Freeman (saurik) [Mon, 30 Nov 2015 21:27:16 +0000 (13:27 -0800)]
Drop support for ObjC @implementation expressions.
Jay Freeman (saurik) [Mon, 30 Nov 2015 21:20:35 +0000 (13:20 -0800)]
Parse (but ignore) ECMAScript 6 "spread elements".
Jay Freeman (saurik) [Mon, 30 Nov 2015 14:16:22 +0000 (06:16 -0800)]
Massive changes to lexer to get template literals.
Jay Freeman (saurik) [Sun, 29 Nov 2015 21:41:18 +0000 (13:41 -0800)]
Move tokens that aren't Words into IdentifierName.
Jay Freeman (saurik) [Sun, 29 Nov 2015 21:38:02 +0000 (13:38 -0800)]
Reorganize grammar to match the ECMAScript 6 spec.
Jay Freeman (saurik) [Sun, 29 Nov 2015 19:11:16 +0000 (11:11 -0800)]
Remove all non-%union fields from semantic values.
Jay Freeman (saurik) [Sun, 29 Nov 2015 10:53:01 +0000 (10:53 +0000)]
Attempt to make all the identifiers look the same.
Jay Freeman (saurik) [Sun, 29 Nov 2015 09:42:48 +0000 (09:42 +0000)]
This %union field has been obsolete for six years.
Jay Freeman (saurik) [Sun, 29 Nov 2015 09:24:50 +0000 (09:24 +0000)]
Move non-tk::Identifier_ CYIdentifiers to grammar.
Jay Freeman (saurik) [Sun, 29 Nov 2015 08:31:41 +0000 (00:31 -0800)]
Commit a generally useful -gtiming implementation.
Jay Freeman (saurik) [Sun, 29 Nov 2015 07:14:11 +0000 (23:14 -0800)]
Remove flex/gperf hacks (this was fixed upstream).
Jay Freeman (saurik) [Sat, 28 Nov 2015 12:35:50 +0000 (04:35 -0800)]
Organize tokens into something more of a database.
Jay Freeman (saurik) [Sat, 28 Nov 2015 12:25:15 +0000 (04:25 -0800)]
Remove seemingly-unneccessary CYBlank from parser.
Jay Freeman (saurik) [Sat, 28 Nov 2015 10:54:35 +0000 (02:54 -0800)]
Cleanly separate words and keywords using grammar.
Jay Freeman (saurik) [Sat, 28 Nov 2015 09:18:53 +0000 (01:18 -0800)]
Remove all (ignored!) destructors from Parser.hpp.
Jay Freeman (saurik) [Thu, 26 Nov 2015 10:17:14 +0000 (02:17 -0800)]
Maybe thread local storage is a performance issue.
Jay Freeman (saurik) [Thu, 26 Nov 2015 10:03:36 +0000 (02:03 -0800)]
Add a way to clean all of the Apple architectures.
Jay Freeman (saurik) [Thu, 26 Nov 2015 10:02:28 +0000 (02:02 -0800)]
CYPool's reservation policy was a stub/mistake :/.
Jay Freeman (saurik) [Thu, 26 Nov 2015 10:01:05 +0000 (02:01 -0800)]
Maintain all the flags through apple-configure.sh.
Jay Freeman (saurik) [Thu, 26 Nov 2015 05:53:39 +0000 (21:53 -0800)]
CYPool::str*dup was leaking memory via global new.
Jay Freeman (saurik) [Thu, 26 Nov 2015 05:49:01 +0000 (21:49 -0800)]
Use -fvisibility=hidden to avoid slow symbol stub.
Jay Freeman (saurik) [Thu, 26 Nov 2015 03:25:40 +0000 (19:25 -0800)]
Stub alternative (vector) implementation of Stack.
Jay Freeman (saurik) [Thu, 26 Nov 2015 01:50:39 +0000 (17:50 -0800)]
Port to Linux: g++ 4.8 and JavaScriptCoreGTK+ 4.0.
Jay Freeman (saurik) [Thu, 26 Nov 2015 00:59:33 +0000 (16:59 -0800)]
Bison does not actually care about the stack size.
Jay Freeman (saurik) [Thu, 26 Nov 2015 00:03:14 +0000 (16:03 -0800)]
Bison's stack was using up *half* my parsing time.
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.
Jay Freeman (saurik) [Wed, 25 Nov 2015 14:32:27 +0000 (06:32 -0800)]
Fix =>, yield, and throw with respect to newlines.
Jay Freeman (saurik) [Wed, 25 Nov 2015 13:54:12 +0000 (05:54 -0800)]
Support most of the Unicode stuff in ECMAScript 6.
Jay Freeman (saurik) [Wed, 25 Nov 2015 01:34:08 +0000 (17:34 -0800)]
Avoid syntax error on alphabetic @box expressions.
Jay Freeman (saurik) [Tue, 24 Nov 2015 11:08:12 +0000 (03:08 -0800)]
Output a smaller representation of true and false.
Jay Freeman (saurik) [Tue, 24 Nov 2015 10:30:07 +0000 (02:30 -0800)]
Block lambda functions should output |parameters|.
Jay Freeman (saurik) [Tue, 24 Nov 2015 10:21:23 +0000 (02:21 -0800)]
Drastically improve pretty printed code structure.
Jay Freeman (saurik) [Tue, 24 Nov 2015 08:41:46 +0000 (00:41 -0800)]
Regular expressions cannot have alphabetic follow.
Jay Freeman (saurik) [Tue, 24 Nov 2015 08:20:06 +0000 (00:20 -0800)]
Implement all of the crazy ECMAScript octal stuff.
Jay Freeman (saurik) [Tue, 24 Nov 2015 00:33:49 +0000 (16:33 -0800)]
Support implicit return from block_lambda_revival.
Jay Freeman (saurik) [Mon, 23 Nov 2015 23:56:10 +0000 (15:56 -0800)]
Simplify Block, Compound, and (new) Parenthetical.
Jay Freeman (saurik) [Mon, 23 Nov 2015 11:39:12 +0000 (03:39 -0800)]
Configure a better trade-off in lexer compression.
Jay Freeman (saurik) [Mon, 23 Nov 2015 11:26:40 +0000 (03:26 -0800)]
The scanner maintains the Bison location manually.
Jay Freeman (saurik) [Mon, 23 Nov 2015 11:11:12 +0000 (03:11 -0800)]
Optimize for lexer performance: stop backtracking.
Jay Freeman (saurik) [Sat, 21 Nov 2015 12:15:48 +0000 (04:15 -0800)]
I noticed this file today: it has never been used.
Jay Freeman (saurik) [Sat, 21 Nov 2015 09:32:33 +0000 (01:32 -0800)]
Simplify CYScope's declaration by embracing Close.
Jay Freeman (saurik) [Sat, 21 Nov 2015 09:01:35 +0000 (01:01 -0800)]
Identifiers that contain $ should tab-complete :(.
Jay Freeman (saurik) [Thu, 19 Nov 2015 09:36:46 +0000 (01:36 -0800)]
Automatic semi-colon insertion broke with Bison 3.
Jay Freeman (saurik) [Thu, 19 Nov 2015 09:14:09 +0000 (01:14 -0800)]
Rename CYField to CYClassField, for CYStructField.
Jay Freeman (saurik) [Wed, 18 Nov 2015 23:07:49 +0000 (15:07 -0800)]
YYABORT does not actually lead to a parse failure.
Jay Freeman (saurik) [Wed, 18 Nov 2015 23:06:59 +0000 (15:06 -0800)]
Support parenthesized "fat arrow" parameter lists.
Jay Freeman (saurik) [Wed, 18 Nov 2015 08:31:06 +0000 (00:31 -0800)]
Some old syntax to parse Swift's named parameters.
Jay Freeman (saurik) [Wed, 18 Nov 2015 08:22:04 +0000 (00:22 -0800)]
Avoid leaking lots of symbols into static library.
Jay Freeman (saurik) [Wed, 18 Nov 2015 08:12:10 +0000 (00:12 -0800)]
We should not explicitly cast pointers to doubles.
Jay Freeman (saurik) [Wed, 18 Nov 2015 08:02:45 +0000 (00:02 -0800)]
Scavenge all of my old todo lists, from git stash.
Jay Freeman (saurik) [Wed, 18 Nov 2015 07:49:01 +0000 (23:49 -0800)]
On Mac OS X, detect -framework JavaVM for CY_JAVA.
Jay Freeman (saurik) [Wed, 18 Nov 2015 07:48:28 +0000 (23:48 -0800)]
Put the filename in _trace to make it more useful.
Jay Freeman (saurik) [Wed, 18 Nov 2015 07:46:03 +0000 (23:46 -0800)]
Apply SO_REUSEADDR to make CYListenServer simpler.
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.
Jay Freeman (saurik) [Tue, 17 Nov 2015 05:09:18 +0000 (21:09 -0800)]
Implement Ctrl-C "cancel" with ExecutionTimeLimit.
Jay Freeman (saurik) [Tue, 17 Nov 2015 03:25:09 +0000 (19:25 -0800)]
Provide toCYON for NSOrderedSet (just like NSSet).
Jay Freeman (saurik) [Fri, 13 Nov 2015 10:51:11 +0000 (02:51 -0800)]
JavaScriptCore assumes delete callback isn't NULL.
Jay Freeman (saurik) [Wed, 11 Nov 2015 09:50:03 +0000 (01:50 -0800)]
Move message parameter name into typed identifier.
Jay Freeman (saurik) [Wed, 11 Nov 2015 09:10:44 +0000 (01:10 -0800)]
Merge adapter into callback, removing indirection.
Jay Freeman (saurik) [Wed, 11 Nov 2015 09:08:17 +0000 (01:08 -0800)]
Isolate ffi_call uses to only one common function.
Jay Freeman (saurik) [Wed, 11 Nov 2015 08:58:07 +0000 (00:58 -0800)]
Promote all warnings from bison to full-on errors.
Jay Freeman (saurik) [Wed, 11 Nov 2015 00:36:49 +0000 (16:36 -0800)]
Remove the dirty flag on libffi submodule (dunno).
Jay Freeman (saurik) [Wed, 11 Nov 2015 00:24:16 +0000 (16:24 -0800)]
Try harder to use trampoline tables (for iOS 9.0).
Jay Freeman (saurik) [Tue, 10 Nov 2015 09:34:51 +0000 (01:34 -0800)]
Fix build of cycript using clang++-3.7, from Fink.
Jay Freeman (saurik) [Tue, 10 Nov 2015 09:33:50 +0000 (01:33 -0800)]
Upgrading to clang++-3.7 found infinite recursion.
Jay Freeman (saurik) [Tue, 10 Nov 2015 08:58:35 +0000 (00:58 -0800)]
Fix build of cycript when using g++-fsf from Fink.
Jay Freeman (saurik) [Tue, 10 Nov 2015 08:10:39 +0000 (00:10 -0800)]
Update copyright for 2015 (and it is almost 2016).
Jay Freeman (saurik) [Tue, 10 Nov 2015 08:06:34 +0000 (00:06 -0800)]
Remove CY_ARCH (Substrate now handles this quirk).
Jay Freeman (saurik) [Tue, 10 Nov 2015 08:04:51 +0000 (00:04 -0800)]
Upgrade to automake 1.15 (the latest one in Fink).
Jay Freeman (saurik) [Mon, 9 Nov 2015 09:41:39 +0000 (09:41 +0000)]
GNUstep does not export object_getClass *sigh* :(.
Jay Freeman (saurik) [Mon, 9 Nov 2015 06:06:53 +0000 (22:06 -0800)]
Remove lots of now-obsolete GNUstep compatibility.
Jay Freeman (saurik) [Mon, 9 Nov 2015 04:50:30 +0000 (20:50 -0800)]
Remove everything obsoleted by just using cynject.
Jay Freeman (saurik) [Mon, 9 Nov 2015 04:44:13 +0000 (20:44 -0800)]
Use CoreFoundation in Handler to #ifdef __APPLE__.
Jay Freeman (saurik) [Thu, 5 Nov 2015 09:43:38 +0000 (01:43 -0800)]
Avoid error caused by passing -pthread to libtool.
Jay Freeman (saurik) [Thu, 5 Nov 2015 08:48:44 +0000 (08:48 +0000)]
Port to the now modern version of GNUstep (Linux).
Jay Freeman (saurik) [Wed, 4 Nov 2015 11:37:33 +0000 (03:37 -0800)]
Linux requires AX_PTHREAD to autodetect -lpthread.
Jay Freeman (saurik) [Wed, 4 Nov 2015 11:11:24 +0000 (03:11 -0800)]
Fix object reference comparisons (and remove nil).