X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/953647c120fbe1d8b7c59941ef5df5d35031c2af..5b1f57ee9241221a5c4a40a6d0cb50fa4ccf679e:/todo.txt diff --git a/todo.txt b/todo.txt index d3f6a4e..4613d73 100644 --- a/todo.txt +++ b/todo.txt @@ -1,3 +1,43 @@ -labelled statements don't get labelled -blocks and empty statements are poorly factored -functors use both ffiData and ffoData... +lol +unicode identifier support (native and \u) +support unions (right now 0-1 fields parsed as struct) +look into what String is, and whether to bridge it +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 replay (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 +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 +Object_callAsFunction_toCYON should be implemented + +[NSString stringWithString:""] crashes, on linux, not on mac +GS #defines should be _finline + +replace procmod g+s with gdb's macosx_get_task_for_pid_rights +non-local return prologue is not being Replace()d: multipass compiler! +interpretation of documentation comments should be compiler-only and off by default +don't ever generate $ CYWith, in particular for CYLet... use CYFunctionExpression + +semi-colin insertion warings should mark after the previous token, not on the current one: makes a /lot/ more sense +new for pools should take a reference, not a pointer + +output errors during Trampoline to some kind of log file