X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/d15b59f5d4f43d12719c5ce37518246058b405c6..25b7683a3a1c890bd45c0e77f791189227e209a5:/todo.txt?ds=sidebyside diff --git a/todo.txt b/todo.txt index b6ee18d..e5690de 100644 --- a/todo.txt +++ b/todo.txt @@ -1,7 +1,30 @@ unicode identifier support (native and \u) -object literal compilation should use numerify strings support unions (right now 0-1 fields parsed as struct) \\\n escapes in strings aren't handled in the console look into what String is, and whether to bridge it -the console frontend's error handling, well, doesn't -Objective-C needs to be able to hook ffi_call for errors +think about bridging NSNumber with Number prototype +some JS callbacks don't use exception pointers at all... +a newline needs to not be allowed after a unary * +finish implementing default xml namespace statement +encode newlines in history for later reply (psql uses ^A) + +consider replacing regex literals with constructors + https://bugzilla.mozilla.org/show_bug.cgi?id=98409 +numerification needs to use specific precision values + https://bugzilla.mozilla.org/show_bug.cgi?id=5856 +consider a mode where unicode string content is saved + https://bugzilla.mozilla.org/show_bug.cgi?id=274152 + +NSDictionaries that have NSNumber keys don't getProperty +errors in another process aren't displayed; to fix this, parse errors should get converted to exceptions and thrown +CYPoolTry/Catch now carefully save the exception after it /no longer needs the exception/... uhh... wtf? +throw CYJSError should probably be replaced with CYThrow() across the board +figure out what to do about global context refs: I really really want to retain the bastards +the concept of NULL pooling is entirely incorrect and sad... bad... evil... need to work on this... really +NSArray's .toString() and .toLocaleString() fail hard, as Array.prototype.to*String are Array-specific +(4).toString() is legal, but I'm stripping the ()'s somehow in the serializer +applyOnMainThread, when done at console, loops the cyonifier +special work needs to be done to correctly handle the "arguments" symbol: Declare("arguments", ...Special) +at the Program level I seem to be eating away all of the var statements +function pointers are ?; note that blocks are currently block_P = '?' +I should probably attempt to use the auto_ flag somehow to not do contexts_ push when compiling