Remove directory. and friends
parent
21de84509f
commit
87332eedad
18
TODO.txt
18
TODO.txt
|
@ -54,12 +54,14 @@
|
||||||
- see should try to not show ; on a line by itself
|
- see should try to not show ; on a line by itself
|
||||||
- IN: on its own line if the entire 'see' form doesn't fit
|
- IN: on its own line if the entire 'see' form doesn't fit
|
||||||
- command buttons: indicate shortcuts
|
- command buttons: indicate shortcuts
|
||||||
|
- test what is done in the case of an invalid declaration on an inline
|
||||||
|
recursive
|
||||||
|
- how do we refer to command shortcuts in the docs?
|
||||||
|
|
||||||
+ ui:
|
+ ui:
|
||||||
|
|
||||||
- browser tool: dropdown menu button for definition operations
|
- browser tool: dropdown menu button for definition operations
|
||||||
- copying pane output
|
- copying pane output
|
||||||
- how do we refer to command shortcuts in the docs?
|
|
||||||
- editor:
|
- editor:
|
||||||
- autoscroll
|
- autoscroll
|
||||||
- transpose char/word/line
|
- transpose char/word/line
|
||||||
|
@ -67,27 +69,18 @@
|
||||||
- see if its possible to only repaint dirty regions
|
- see if its possible to only repaint dirty regions
|
||||||
- structure editor
|
- structure editor
|
||||||
|
|
||||||
+ module system:
|
+ compiler/ffi:
|
||||||
|
|
||||||
- track a list of assets loaded from each module's file
|
|
||||||
- C types should be words
|
- C types should be words
|
||||||
- TYPEDEF: float { ... } { ... } ; ==> \ float T{ c-type ... } "c-type" swp
|
- TYPEDEF: float { ... } { ... } ; ==> \ float T{ c-type ... } "c-type" swp
|
||||||
- TYPEDEF: float FTFloat ; ==> \ float \ FTFloat "c-type" swp
|
- TYPEDEF: float FTFloat ; ==> \ float \ FTFloat "c-type" swp
|
||||||
- make typedef aliasing explicit
|
- make typedef aliasing explicit
|
||||||
- seeing a C struct word should show its def
|
- seeing a C struct word should show its def
|
||||||
- file out
|
|
||||||
|
|
||||||
+ compiler/ffi:
|
|
||||||
|
|
||||||
- amd64 structs-by-value bug
|
- amd64 structs-by-value bug
|
||||||
- %allot-bignum-signed-2 is broken on both platforms
|
- %allot-bignum-signed-2 is broken on both platforms
|
||||||
- we may be able to remove the dlsym primitive
|
|
||||||
- [ [ dup call ] dup call ] infer hangs
|
- [ [ dup call ] dup call ] infer hangs
|
||||||
- stdcall callbacks
|
- stdcall callbacks
|
||||||
- callstack overflow when compiling mutually recursive inline words
|
- callstack overflow when compiling mutually recursive inline words
|
||||||
- test what is done in the case of an invalid declaration on an inline
|
|
||||||
recursive
|
|
||||||
- ppc64 backend
|
|
||||||
- arm backend
|
- arm backend
|
||||||
- float= doesn't consider nans equal
|
- float= doesn't consider nans equal
|
||||||
- C functions returning structs by value
|
- C functions returning structs by value
|
||||||
|
@ -97,7 +90,6 @@
|
||||||
|
|
||||||
- if a word drops the stack pointer below the bottom, then an error
|
- if a word drops the stack pointer below the bottom, then an error
|
||||||
won't be thrown until the next word accesses the stack
|
won't be thrown until the next word accesses the stack
|
||||||
- prettyprinter: clean it up
|
|
||||||
- prettyprinter: don't build entire tree to print first
|
- prettyprinter: don't build entire tree to print first
|
||||||
- automatic help/effects for slot accessors
|
- automatic help/effects for slot accessors
|
||||||
- tuple shape changes
|
- tuple shape changes
|
||||||
|
@ -105,7 +97,6 @@
|
||||||
- minor GC takes too long now, we should card mark code heap
|
- minor GC takes too long now, we should card mark code heap
|
||||||
- buffer-ptr should be an alien
|
- buffer-ptr should be an alien
|
||||||
- swap nappend ==> nappend
|
- swap nappend ==> nappend
|
||||||
- gdb triggers 'multiple i/o ops on port' error
|
|
||||||
- incremental GC
|
- incremental GC
|
||||||
- UDP
|
- UDP
|
||||||
- slice: if sequence or seq start is changed, abstraction violation
|
- slice: if sequence or seq start is changed, abstraction violation
|
||||||
|
@ -114,3 +105,4 @@
|
||||||
+ httpd:
|
+ httpd:
|
||||||
|
|
||||||
- remaining HTML issues need fixing
|
- remaining HTML issues need fixing
|
||||||
|
- embedded.factor is O(n^2)
|
||||||
|
|
|
@ -34,23 +34,7 @@ strings styles arrays ;
|
||||||
|
|
||||||
TUPLE: pathname string ;
|
TUPLE: pathname string ;
|
||||||
|
|
||||||
: (file.) ( name path -- )
|
: write-pathname ( path -- ) dup <pathname> write-object ;
|
||||||
<pathname> write-object ;
|
|
||||||
|
|
||||||
: write-pathname ( path -- ) dup (file.) ;
|
|
||||||
|
|
||||||
DEFER: directory.
|
|
||||||
|
|
||||||
: (directory.) ( name path -- )
|
|
||||||
>r "/" append r> dup <pathname> swap [ directory. ] curry
|
|
||||||
write-outliner terpri ;
|
|
||||||
|
|
||||||
: file. ( dir name -- )
|
|
||||||
tuck path+
|
|
||||||
dup directory? [ (directory.) ] [ (file.) terpri ] if ;
|
|
||||||
|
|
||||||
: directory. ( path -- )
|
|
||||||
dup directory natural-sort [ file. ] each-with ;
|
|
||||||
|
|
||||||
: home ( -- dir )
|
: home ( -- dir )
|
||||||
windows? "USERPROFILE" "HOME" ? os-env [ "." ] unless* ;
|
windows? "USERPROFILE" "HOME" ? os-env [ "." ] unless* ;
|
||||||
|
|
|
@ -48,7 +48,3 @@ HELP: resource-path
|
||||||
|
|
||||||
HELP: pathname
|
HELP: pathname
|
||||||
{ $class-description "Class of path name presentations. Instances can be used passed to " { $link write-object } " to output a clickable path name." } ;
|
{ $class-description "Class of path name presentations. Instances can be used passed to " { $link write-object } " to output a clickable path name." } ;
|
||||||
|
|
||||||
HELP: directory.
|
|
||||||
{ $values { "path" "a string" } }
|
|
||||||
{ $description "Prints a directory listing to the " { $link stdio } " stream. If the stream supports it, subdirectories are shown as expandable outliners." } ;
|
|
||||||
|
|
Loading…
Reference in New Issue