Commit | Line | Data |
---|---|---|
55d2b2c2 KL |
1 | Jexer Work Log |
2 | ============== | |
3 | ||
f6d90207 KL |
4 | August 15, 2017 |
5 | ||
6 | I cut 0.0.5 just now, and also applied for a Sonatype repository. | |
7 | It was a reasonable spot: TEditor was working albeit buggy, and a bug | |
8 | had just come in on the main TApplication run loop. So we are about | |
9 | to embark upon some performance work again, it's been probably version | |
10 | 0.0.2 or so since the last cycle. | |
11 | ||
12 | Code size: 40446 lines. | |
13 | ||
14 | Now switching head to 0.0.6 and taking a small break. | |
15 | ||
df602ccf KL |
16 | August 14, 2017 |
17 | ||
18 | TEditor is basically done. Mouse movement, keyboard movement, | |
19 | backspace / delete / enter / etc. are all in. Things are starting to | |
20 | look pretty good. | |
21 | ||
22 | I'm going to prep for a final cut and release tag tomorrow or the next | |
23 | evening. I need to take a break and get some meatspace life dealt | |
24 | with. | |
25 | ||
e8a11f98 KL |
26 | August 12, 2017 |
27 | ||
28 | TEditor is stubbed in about 50% complete now. I have a Highlighter | |
29 | class that provides different colors based on Word text values, but it | |
30 | is a lot too simple to do true syntax highlighting. I am noodling on | |
31 | the right design that would let TEditor be both a programmer's editor | |
32 | (so Highlighter needs to have state and do a lexical scan) and a word | |
33 | processor (where Word needs to tokenize on whitespace). I estimate | |
34 | probably a good 2-4 weeks left to get the editor behavior where I want | |
35 | it, and then after that will be the 0.0.5 release. | |
36 | ||
37 | Finding more minor paper cuts and fixing them: the mouse cursor being | |
38 | ahead of a window drag event, SwingTerminal resetting blink on new | |
39 | input, prevent TWindow from resizing down into the status bar. | |
40 | ||
3e074355 KL |
41 | August 8, 2017 |
42 | ||
43 | Multiscreen is looking really cool! Demo6 now brings up three | |
44 | screens, including one that is inside a TWindow of a different | |
45 | application. | |
46 | ||
42873e30 KL |
47 | August 7, 2017 |
48 | ||
49 | Had trouble sleeping, what with a bunch of imaginative thoughts for | |
50 | this release. jexer.backend will be the ultimate destination for | |
51 | jexer.session and most of jexer.io. TerminalReader will be the | |
52 | interface for keyboard and mouse events. cmScreenConnected and | |
53 | cmScreenDisconnected will be new events to represent a screen | |
54 | appearing/disappearing, and MultiBackend will be a new backend | |
55 | multiplexer that goes full XRandR. Several new demos demonstrating | |
56 | multi-screen support will be coming along. | |
57 | ||
58 | August 6, 2017 | |
59 | ||
60 | Time to clean up more API, particularly between Backend and Screen. | |
61 | Both of these will be interfaces soon, so that one could easily | |
62 | subclass JComponent and implement both Screen and Backend. The | |
63 | original code evolved out of Qodem, where screen.c and input.c were | |
64 | two different things leading to ECMA48Screen and ECMA48Terminal, but | |
65 | now there is really no need to keep them separate. It also | |
66 | complicates the constructors, as these are basically friend classes | |
67 | that have used package private access to get around their artificial | |
68 | separation. | |
69 | ||
70 | When I get this done it should be a lot easier to do any of: | |
71 | ||
72 | * Pass a JFrame or JComponent to SwingBackend and have it add itself, | |
73 | like any other Swing widget. | |
74 | ||
75 | * Construct a SwingBackend and add it to any regular JComponent. | |
76 | ||
77 | * Have multiple TApplications running inside the same Swing | |
78 | application, including having actions affect each other. (Will also | |
79 | need to ensure that TWidgets/TWindows are not in different | |
80 | TApplication collections.) | |
81 | ||
82 | * Build a Backend/Screen multiplexer, so that one could have a ECMA48 | |
83 | TApplication listening on a port and a local Swing monitor for it. | |
84 | ||
85 | * Build a Backend/Screen manager, so that one could have multiple | |
86 | ECMA48 screens acting as a single large screen (e.g. XRandR). | |
87 | ||
88 | Now I need to decide which package will collect Backend, SessionInfo, | |
89 | and Screen. jexer.io has some java.io stuff, so it stays anyway. | |
90 | ||
2fef9c6e KL |
91 | July 28, 2017 |
92 | ||
93 | Got very busy with my meatspace life, now getting a chance to come | |
94 | back around. | |
95 | ||
96 | I gave up on TEditor knowing about graphemes, instead pulling back to | |
97 | simple Cells. This will be better anyway in the long run, as getting | |
98 | grapheme support in Screen someday will also get it for me in TEditor | |
99 | for free. But it does mean that TEditor will chew through much more | |
100 | RAM than it needs to for a text file. Performance optimization will | |
101 | come someday. But this means I can also go back to gcj, because I | |
102 | really like its warnings about unused imports. | |
103 | ||
104 | I've got a POM stubbed in, and created an account over at sonatype. | |
105 | If it isn't too hard, I will try to get 0.0.5 released into the maven | |
106 | universe. But that is still a bit away, I need TEditor running with | |
107 | syntax highlighting first. | |
108 | ||
109 | July 17, 2017 | |
110 | ||
111 | Focus-follows-mouse is in, as is NOCLOSEBOX. | |
112 | ||
8c236a98 KL |
113 | July 15, 2017 |
114 | ||
115 | I think I have cleaned up most of the window show/hide/activate mess | |
116 | in TApplication. Demo4 has some cool interactions between a | |
117 | background TDesktop and several foreground TWindows, which helped | |
118 | expose bugs. | |
119 | ||
120 | July 9, 2017 | |
121 | ||
122 | While working on TWindow.hide/show I decided that I am sick of | |
123 | TApplication's active window handling. TApplication makes lots of | |
124 | assumptions, things are too fragile between modal and not, and one | |
125 | cannot easily say window.activate(). So I will also be changing that | |
126 | too. ... Code is still a bit of a mess, but hooks are in place at | |
127 | least for show/hide/activate. | |
128 | ||
129 | July 8, 2017 | |
130 | ||
131 | Qodem 1.0.0 released last month, I had a vacation, and a Jexer user | |
132 | (nikiroo) started opening up pull requests. :-) So back unto the | |
133 | breach we go! | |
134 | ||
135 | TButton is now animated so that there is some feedback when selected | |
136 | via keyboard. StringJustifier was written which permits TText's to | |
137 | have left/centered/right and full justification. TDesktop is now in | |
138 | too which can act as a permanent max-sized window without borders. | |
139 | ||
140 | Next up is Viewport, an interface to collect scrollbar API, and then a | |
141 | cleaner API for scrollable widgets and windows. After that is more | |
142 | window API: hide/show/maximize/restore, and unclosable windows. I am | |
143 | cherry-picking bits from @nikiroo's PRs, which will likely break them | |
144 | before it fixes things, but I will find some way to get Niki credited | |
145 | with those pieces. | |
146 | ||
e685a47d KL |
147 | March 21, 2017 |
148 | ||
149 | I am starting to gear up for making Jexer a serious project now. I've | |
150 | created its SourceForge project, linked it back to GitHub, have most | |
151 | of its web page set up (looks like Qodem's), and released 0.0.4. And | |
152 | then this morning saw an out-of-bounds exception if you kill the main | |
153 | demo window. Glad I marked it Alpha on SourceForge... | |
154 | ||
155 | Yesterday I was digging around the other Turbo Vision derived projects | |
156 | while populating the about page, and made a sad/happy-ish realization: | |
157 | Embarcadero could probably get all of them shut down if it really | |
158 | wanted to, including Free Vision. I uncovered some hidden history in | |
159 | Free Vision, such that it appears that Graphics Vision had some | |
160 | licensed Borland code in it, so there might be enough mud in the air | |
161 | that Free Vision could be shut down the same way RHTVision was. But | |
162 | even worse is the SCOTUS ruling on Oracle vs Google: if APIs are | |
163 | copyrighted (regardless of their thoughts on fair use), then any | |
164 | software that matches the API of a proprietary project might find | |
165 | itself subject to an infringement case. So that too could shut down | |
166 | the other API-compatible TV clones. | |
167 | ||
168 | Fortunately, Jexer (and D-TUI) is completely new, and has no API | |
169 | compatibility with Turbo Vision. Jexer could be a new root to a whole | |
170 | generation of TUI applications. | |
171 | ||
a7986f7b KL |
172 | March 18, 2017 |
173 | ||
174 | TStatusBar is working, as is "smart" window placement. Overall this | |
175 | is looking quite nice. Found a lot of other small paper cut items and | |
176 | fixed them. It looks absolutely gorgeous on Mac now. | |
177 | ||
178 | Tomorrow I will get to the public wifi and get this uploaded. | |
179 | ||
180 | Time to call this 0.0.4 now though. We are up to 32,123 lines of | |
181 | code. | |
182 | ||
55d2b2c2 KL |
183 | March 17, 2017 |
184 | ||
185 | Jexer is coming back to active development status. I had a lot of | |
186 | other projects ahead of it in the queue, mostly Qodem but also Jermit | |
187 | and of course lots of actual day job work keeping me too tired for | |
188 | afterhours stuff. But here we are now, and I want to get Jexer to its | |
189 | 1.0.0 release before the end of 2018. After that it will be a | |
190 | critical bit of function for IWP and NIB, if I ever get those going. | |
191 | I need to re-organize the demo app a bit so that it fits within 80x25, | |
192 | and then get to TStatusBar. | |
193 | ||
194 | A status bar will be an optional part of TWindow. If it exists, then | |
195 | it will be drawn last by TApplication and get events routed to it from | |
196 | TWindow's event handlers. This will have the nice effect that the | |
197 | status bar can change depending on which window is active, without any | |
198 | real extra work on TApplication's part. | |
199 | ||
200 | Putting together a proper TODO now, with release and regression | |
201 | checklists. I think I will see if jexer is available at SourceForge, | |
202 | and if so grab it. Perhaps I can put together some good Turbo Vision | |
203 | resources too. At the very least direct people to the Borland-derived | |
204 | C++ releases and Free Vision. |