Dataflow visualizer fixes

slava 2006-09-30 04:03:46 +00:00
parent 917d3ebd05
commit db8827d86c
4 changed files with 31 additions and 25 deletions

View File

@ -1,19 +1,13 @@
- auto-invoke code gc
- code gc sig11
- cocoa: support real redefinition
- fix this:
[ 1 2 3 4 5 6 7 8 9 10 10 10 10 10 10 10 10 10 10 11 11 11 113 ] .
[ 1 2 3 4 5 6 7 8 9 10 10 10 10 10 10 10 10 10 10 11 11 11 113
]
- prettier printing of hashtable literals, alists, cond, ...
- ui quick start doc
- x11: scroll up/down wiggles caret
- slider needs to be modelized
- more compact relocation info
- hashed generic method dispatch
- signal 4 on datastack underflow on mac intel??
- fix alien-callback/SEH bug on win32
+ ui:
- nested presentation mouse over is not right
- ui quick start doc
- x11: scroll up/down wiggles caret
- slider needs to be modelized
- [ ] write in the UI breaks stuff
- some way of intercepting all gestures
- pane output in UI should use less memory
@ -28,7 +22,6 @@
- keyboard navigation
- ui browser: show currently selected vocab & words
- keyboard-navigatable list gadget of some kind
- tuple= in dataflow view
- auto-update browser and help when sources reload
- how do we refer to command shortcuts in the docs?
- figure out if we need both set-model and set-model*
@ -43,7 +36,6 @@
- double/triple click
- autoscroll
- transpose char/word/line
- drag scroll
- more efficient multi-line inserts
- write "foo| " and put caret at | then select word element: selects
space
@ -77,6 +69,8 @@
+ compiler/ffi:
- more compact relocation info
- cocoa: support real redefinition
- problem if major gc happens during relocation
- in fact relocation should not cons at all
- stdcall callbacks
@ -102,8 +96,12 @@
+ misc:
- signal 4 on datastack underflow on mac intel??
- fix alien-callback/SEH bug on win32
- hashed generic method dispatch
- fix this:
[ 1 2 3 4 5 6 7 8 9 10 10 10 10 10 10 10 10 10 10 11 11 11 113 ] .
[ 1 2 3 4 5 6 7 8 9 10 10 10 10 10 10 10 10 10 10 11 11 11 113
]
- prettier printing of hashtable literals, alists, cond, ...
- minor GC takes too long now, we should card mark code heap
- buffer-ptr should be an alien
- swap nappend ==> nappend

View File

@ -96,7 +96,7 @@ C: #dispatch make-node ;
TUPLE: #merge ;
C: #merge make-node ;
: #merge ( -- node ) meta-d get clone out-node <#merge> ;
: #merge ( -- node ) meta-d-node <#merge> ;
TUPLE: #terminate ;
C: #terminate make-node ;

View File

@ -148,9 +148,9 @@ DEFER: (compute-heights)
: (compute-heights) ( node -- )
[
d-height get over 2array ,
dup compute-child-heights
dup node-out-d length over node-in-d length -
d-height [ + ] change
dup compute-child-heights
node-successor (compute-heights)
] when* ;

View File

@ -105,6 +105,12 @@ M: operation invoke-command ( target operation -- )
{ +listener+ t }
} define-operation
[ word? ] H{
{ +name+ "Word dataflow" }
{ +keyboard+ T{ key-down f { A+ } "d" } }
{ +quot+ [ word-def show-dataflow ] }
} define-operation
! Vocabularies
[ vocab-link? ] H{
{ +mouse+ T{ button-up f f 1 } }
@ -166,7 +172,7 @@ M: operation invoke-command ( target operation -- )
} define-operation
[ quotation? ] H{
{ +name+ "Dataflow" }
{ +name+ "Quotation dataflow" }
{ +keyboard+ T{ key-down f { C+ A+ } "d" } }
{ +quot+ [ show-dataflow ] }
{ +listener+ t }
@ -187,18 +193,20 @@ M: operation invoke-command ( target operation -- )
} define-operation
! Dataflow nodes
[ word? ] H{
{ +name+ "Dataflow" }
{ +keyboard+ T{ key-down f { A+ } "d" } }
{ +quot+ [ word-def show-dataflow ] }
} define-operation
[ [ node? ] is? ] H{
{ +mouse+ T{ button-up f f 1 } }
{ +name+ "Quotation dataflow" }
{ +name+ "Show dataflow" }
{ +quot+ [ dataflow-gadget call-tool ] }
} define-operation
[ [ node? ] is? ] H{
{ +mouse+ T{ button-up f { S+ } 3 } }
{ +name+ "Inspect" }
{ +quot+ [ inspect ] }
{ +listener+ t }
} define-operation
! Define commands in terms of operations
! Tile commands