-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTODO
More file actions
124 lines (111 loc) · 5.03 KB
/
TODO
File metadata and controls
124 lines (111 loc) · 5.03 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
OPipe:
✔ Add support for time. @done(25-01-11 12:15)
✔ Store time & date started @done(25-01-11 11:26)
✔ Calc in text generator @done(25-01-11 12:15)
✔ Add support for x out of y. @done(25-01-11 13:19)
✔ Hardcode test count (currently 1466) @done(25-01-11 13:19)
✔ Add to status line @done(25-01-11 13:19)
✔ Calculate percentage completion @done(25-01-11 13:19)
✔ Add support for time remaining estimate. @done(25-01-11 12:53)
✔ Improve time estimation @done(25-01-12 16:13)
✔ Make new time start for estimation after start_int initialized @done(25-01-12 16:13)
✔ Increase decimal precision (average is useless as is) @done(25-01-12 17:40)
✔ Force Refresh every x seconds @done(25-01-17 12:57)
- Get estimated test count from working directory @done
- Start in Character Read Mode and switch to Flush Read Mode once the 1st character comes in to prevent/minimize wheel-spinning at the start of the run.
- Add support for dynamic window resizing.
- Add variable that stops multiple calls to display text from firing at once
- Add variable that caches prior changes when stopped to add them when free
- Add trap for WINdowCHange
- Put main line on hold
- Update status line if necessary
- Read and write statistics to a file (e.g. Avg. Start Time, Avg. Run Time, etc.)
- If fixing a parsing mistake in the prior update, support redrawing w/ the correct color
- Beep on error
- Optionally log prior output to file
Count Ruby Tests:
✔ Analyze the files in the given directory tree to determine how many tests there are. @done
✔ Take in a directory or use the current directory @done
✔ Find the sub-directory named `test` @done
✔ Find the # of files ending in `_test.rb` @done
✔ For each: @done
✔ find each line starting with whitespace, and the word `should` @done
✔ Regex: `(^|$'\n')[[:blank:]]*should (["'])?([_[:print:][:blank:][:punct:]]*?)(\2)? do($|$'\n')` @done
- Count static loops
Print decimal calculations:
✔ Initial implementation @done(25-01-12 17:34)
✔ Customizable decimal separator @done(25-01-12 17:36)
✔ Customizable precision @done(25-01-12 17:37)
✔ Trim trailing zeros @done(25-01-15 15:36)
✔ Carrying the round up @done(25-01-15 16:29)
✔ Add test cases @done(25-01-21 13:58)
✔ Support negatives @done(25-01-24 12:20)
- Customizable formatting
- pad leading/trailing zeros
Format seconds:
✔ Pull initial implementation from opipe @done(25-01-12 17:49)
- Customizable formatting
# A framework to add a status line to anything
Status Report:
- Retrieve old version of opipe and update it/remove contextual elements from newest version
- Allow update mode customization
- Single Char
- Timer
- Flush Output
- Mixed
- Flush output but if timer exceeded force the update
- Allow update throttling
Cursor Position:
- Add help text
Profile Text:
- Allow Outputting multiple values instead of only 1 per run to get the most value out of a single run.
- FIGURE OUT TIES for max_col_at
- Add option - Modify text in accordance w/ control characters like backspace & CR?
- IMPLEMENT max_chars_in_row
- IMPLEMENT rows_where
- IMPLEMENT p_debugLevel
- Finish optimizing for requested values
- Finish unwrapped stuff
- Add option for `final_cursor_position` that finds the resting horizontal and vertical position of the cursor (i.e. accounting for CRs, VTs, Backspaces, etc. )
- Check if CR on wrapped line will return to start of wrapped line or unwrapped line
- Finish handling trailing chars
- Add outputs for new options
Check Number:
- Create option to run test cases
- Add hex support?
- Add octal support?
- Add dynamic base support?
- Add bounds support?
- Add fraction support?
Test Runner:
- Finish Migration to BATS
Typing Test:
- Basic implementation @done
✔ Uses randomly generated words @done
✔ displays the typed characters beneath the prompted characters @done
- shows status line of current stats @done
✔ Uses a resource list of words @done
- Option to use generated words or valid words
Predictive Completion From History:
- Basic Implementation
- Collect prior x commands
- Create 2 collections, 1 sorted by frequency, 1 alphabetically
- Initialize the expected command & its index to the most popular one
- Make the following loop:
- Intercept input (same way my typing test does)
- Print the new input
- Check if new input still matches expected command
- If so, return to start of loop; else...
- Find the 1st case where the input matches the start of a prior command
- Print the remainder of the new projected command in grey
- Return cursor to where user input left off
Caser:
- Basic implementation
Misc:
- Make error_exit w/ call stack using
- https://www.gnu.org/software/bash/manual/bash.html#index-FUNCNAME
- https://www.gnu.org/software/bash/manual/bash.html#index-caller
- https://www.gnu.org/software/bash/manual/bash.html#index-BASH_005fLINENO
- https://www.gnu.org/software/bash/manual/bash.html#index-BASH_005fSOURCE
- https://www.gnu.org/software/bash/manual/bash.html#index-LINENO
Archive: