]> git.saurik.com Git - cycript.git/blob - todo.txt
Update the todo list with the new tasks from stash.
[cycript.git] / todo.txt
1 lol
2 unicode identifier support (native and \u)
3 support unions (right now 0-1 fields parsed as struct)
4 look into what String is, and whether to bridge it
5 think about bridging NSNumber with Number prototype
6 some JS callbacks don't use exception pointers at all...
7 a newline needs to not be allowed after a unary *
8 finish implementing default xml namespace statement
9 encode newlines in history for later replay (psql uses ^A)
10
11 consider replacing regex literals with constructors
12 https://bugzilla.mozilla.org/show_bug.cgi?id=98409
13 numerification needs to use specific precision values
14 https://bugzilla.mozilla.org/show_bug.cgi?id=5856
15 consider a mode where unicode string content is saved
16 https://bugzilla.mozilla.org/show_bug.cgi?id=274152
17
18 NSDictionaries that have NSNumber keys don't getProperty
19 errors in another process aren't displayed; to fix this, parse errors should get converted to exceptions and thrown
20 CYPoolTry/Catch now carefully save the exception after it /no longer needs the exception/... uhh... wtf?
21 throw CYJSError should probably be replaced with CYThrow() across the board
22 figure out what to do about global context refs: I really really want to retain the bastards
23 the concept of NULL pooling is entirely incorrect and sad... bad... evil... need to work on this... really
24 NSArray's .toString() and .toLocaleString() fail hard, as Array.prototype.to*String are Array-specific
25 applyOnMainThread, when done at console, loops the cyonifier
26 special work needs to be done to correctly handle the "arguments" symbol: Declare("arguments", ...Special)
27 at the Program level I seem to be eating away all of the var statements
28 function pointers are ?; note that blocks are currently block_P = '?'
29 I should probably attempt to use the auto_ flag somehow to not do contexts_ push when compiling
30 Object_callAsFunction_toCYON should be implemented
31
32 [NSString stringWithString:""] crashes, on linux, not on mac
33 GS #defines should be _finline
34
35 replace procmod g+s with gdb's macosx_get_task_for_pid_rights
36 non-local return prologue is not being Replace()d: multipass compiler!
37 interpretation of documentation comments should be compiler-only and off by default
38 don't ever generate $ CYWith, in particular for CYLet... use CYFunctionExpression
39
40 semi-colin insertion warings should mark after the previous token, not on the current one: makes a /lot/ more sense
41 new for pools should take a reference, not a pointer
42
43 output errors during Trampoline to some kind of log file
44
45 cy# ["" <TAB> -> {message:"'undefined' is not an object (evaluating '\"\".$cyi.isa')",line:1,sourceId:30583072,name:"TypeError"}
46 now: cy# ["" <TAB> -> *** _assert(false):Console.cpp(214):ParseExpression [errno=12]
47 there is a reinterpret_cast<> that I replaced with an old-style cast on the output of dladdr
48
49 why do I never deallocate ffi closures?
50
51 cy# (function() { for each (var index in [1, 3]) system.print(index); })()
52 (function(){with({$cys:[1,3],$cyt:undefined})for($cyt in $cys){index=$cys[$cyt];system.print(index)}})()
53 1
54 3
55 cy# (function() { var index; for each (var index in [1, 3]) system.print(index); })()
56 (function(){var e;;with({$cys:[1,3],$cyt:undefined})for($cyt in $cys){e=$cys[$cyt];system.print(e)}})()
57
58 make a reference holder for namearrays
59 rename names to accumulator when it is a name accumulator, and retake names for subset
60 I believe calls to mutableCopy will leak memory
61 consider pointerTo instead of toPointer
62 store the last exception in a variable
63 should WebUndefined be @undefined?
64
65 if something is a function, it should be output differently
66 evaluate usages of CYTry in ObjectiveC/Library for CYObjectiveTry
67 verify name targets of "incorrect number of arguments to"