-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
42 lines (30 loc) · 1.83 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Goals for next release
* Add exclusion conditions
* Make it configurable what conditions make a URI match PARTIALY DONE
* Make !name match the exclusion condition for that name ?
* Reduce the logical clause to it's simplest form ? Might be hard
* Notify the user if they defined a condition but it has no effet in the
clause (will need the previous point to be doable)
* Add lazy evaluation of the match_expression clauses
* This will probably need a patch to gVal
* I want to be able to have a function attached to the value of a variable,
this function would have to be called when gVal uses the variable.
* This would be especially usefull for the mime type that can do an HTTP
request to determine it
Goals for later:
* Open a file to the right line when it has the format PATH:lineno
* Should be doable with a filter and mutations
* Make MatchExpression a shadowable parameter?
* Each MatchExpression would be ored together to make the final expression
BUG:
* Segfault when handling the output of `ls -ld --hyperlink=always .`
* There is no way for the program to handle it correctly, but it should fail gracefully
* Also happens when there are tabs in the data ?
* Investigate to really understand why this kind of input crashes the hanlder
* Somehow I must detect if the data is something I can hanlde or not probably
* If a path contains a non-existant directory, get_mime_type will segfault
NOTICE:
* Due to golang being very dumb in many ways, I will probably rewrite the project in some other language.
rust comes to mind, but maybe I'll use hare instead to see how it fares (that might be anoying for
handling the logical expressions though since the language is so young and no library for it exists
yet - probably, but I would be shocked if any did)