From 6aeaa7d219ae9edb737b98f884d8ca5db521554e Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 3 Jun 2012 20:43:59 -0700 Subject: [PATCH] Update the todo list with the new tasks from stash. --- Trampoline.t.cpp | 2 ++ todo.txt | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/Trampoline.t.cpp b/Trampoline.t.cpp index 267a253..f8780bc 100644 --- a/Trampoline.t.cpp +++ b/Trampoline.t.cpp @@ -32,6 +32,8 @@ static _finline void dlset(Baton *baton, Type_ &function, const char *name, void baton->dlerror(); } +// XXX: where you find this needs to be relative to CoreFoundation (or something) +// XXX: this needs to check if the framework is under PrivateFrameworks instead #define Framework(framework) \ "/System/Library/Frameworks/" #framework ".framework/" #framework diff --git a/todo.txt b/todo.txt index 4613d73..1bc7eb2 100644 --- a/todo.txt +++ b/todo.txt @@ -41,3 +41,27 @@ semi-colin insertion warings should mark after the previous token, not on the cu new for pools should take a reference, not a pointer output errors during Trampoline to some kind of log file + +cy# ["" -> {message:"'undefined' is not an object (evaluating '\"\".$cyi.isa')",line:1,sourceId:30583072,name:"TypeError"} + now: cy# ["" -> *** _assert(false):Console.cpp(214):ParseExpression [errno=12] +there is a reinterpret_cast<> that I replaced with an old-style cast on the output of dladdr + +why do I never deallocate ffi closures? + +cy# (function() { for each (var index in [1, 3]) system.print(index); })() +(function(){with({$cys:[1,3],$cyt:undefined})for($cyt in $cys){index=$cys[$cyt];system.print(index)}})() +1 +3 +cy# (function() { var index; for each (var index in [1, 3]) system.print(index); })() +(function(){var e;;with({$cys:[1,3],$cyt:undefined})for($cyt in $cys){e=$cys[$cyt];system.print(e)}})() + +make a reference holder for namearrays +rename names to accumulator when it is a name accumulator, and retake names for subset +I believe calls to mutableCopy will leak memory +consider pointerTo instead of toPointer +store the last exception in a variable +should WebUndefined be @undefined? + +if something is a function, it should be output differently +evaluate usages of CYTry in ObjectiveC/Library for CYObjectiveTry +verify name targets of "incorrect number of arguments to" -- 2.47.2