Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge lines.love | Kartik K. Agaram | 2022-11-03 | 1 | -8/+10 |
|\ | |||||
| * | stop tracking wallclock time | Kartik K. Agaram | 2022-11-03 | 1 | -8/+10 |
| | | | | | | | | We only need time differences. | ||||
* | | Merge lines.love | Kartik K. Agaram | 2022-09-18 | 1 | -0/+1 |
|\| | |||||
| * | some debug prints | Kartik K. Agaram | 2022-09-17 | 1 | -0/+1 |
| | | | | | | | | | | | | I'm starting to edit the sources from within the app in ernest. First question: why does the file navigation menu skip some files? These prints answer the question. | ||||
* | | Merge lines.love | Kartik K. Agaram | 2022-09-06 | 1 | -1/+1 |
|\| | |||||
| * | support selections in the source editor | Kartik K. Agaram | 2022-09-06 | 1 | -1/+1 |
| | | | | | | | | | | I've only tested side A so far, and included a statement of how I want side B to behave. | ||||
* | | Merge lines.love | Kartik K. Agaram | 2022-09-05 | 1 | -1/+8 |
|\| | |||||
| * | . | Kartik K. Agaram | 2022-09-05 | 1 | -1/+3 |
| | | |||||
| * | support drawings in the source editor | Kartik K. Agaram | 2022-09-05 | 1 | -5/+7 |
| | | |||||
* | | Merge lines.love | Kartik K. Agaram | 2022-09-03 | 1 | -2/+0 |
|\| | |||||
| * | set window title within each app | Kartik K. Agaram | 2022-09-03 | 1 | -2/+0 |
| | | | | | | | | The main app shows the file being edited, but the programming environment does not. | ||||
* | | Merge lines.love | Kartik K. Agaram | 2022-09-03 | 1 | -2/+2 |
|\| | |||||
| * | bugfix: window title | Kartik K. Agaram | 2022-09-03 | 1 | -2/+2 |
| | | |||||
| * | editing source code from within the app | Kartik K. Agaram | 2022-09-03 | 1 | -162/+205 |
| | | | | | | | | | | integrated from pong.love via text.love: https://merveilles.town/@akkartik/108933336531898243 | ||||
* | | editing source code from within the app | Kartik K. Agaram | 2022-09-03 | 1 | -158/+200 |
| | | | | | | | | integrated from pong.love: https://merveilles.town/@akkartik/108933336531898243 | ||||
* | | Merge lines.love | Kartik K. Agaram | 2022-08-24 | 1 | -0/+11 |
|\| | |||||
| * | infrastructure for caching LÖVE text objects | Kartik K. Agaram | 2022-08-24 | 1 | -0/+11 |
| | | |||||
* | | Merge lines.love | Kartik K. Agaram | 2022-08-23 | 1 | -1/+0 |
|\| | |||||
| * | stop putting button state in a global | Kartik K. Agaram | 2022-08-23 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Symptom: a test (test_click_to_create_drawing) started randomly failing after I inserted a `return` 2 commits ago. Cause: my tests call edit.draw, but button handlers only get cleared in app.draw. So my tests weren't clearing button handlers, and every call to edit.draw was accumulating states. Still unclear why those were going to different state objects after the `return`, but anyway. I'm not going to understand every last thing that happens when things go wrong, just guarantee they can't go wrong. And the way to do that is to decentralize button handlers to each state that receives them. The State object in buttons.lua doesn't have to be Editor_state. It just has to be some table that provides a Schelling Point for shared state. | ||||
* | | Merge lines.love | Kartik K. Agaram | 2022-08-21 | 1 | -1/+1 |
|\| | | | | | | | Bring forks up to date. | ||||
| * | correct a comment | Kartik K. Agaram | 2022-08-21 | 1 | -1/+1 |
| | | | | | | | | We no longer have undo history directly in globals. | ||||
* | | Merge lines.love | Kartik K. Agaram | 2022-08-19 | 1 | -0/+1 |
|\| | |||||
| * | regression: dropping files on the window | Kartik K. Agaram | 2022-08-19 | 1 | -0/+1 |
| | | | | | | | | Also improve the test to catch this next time. | ||||
* | | title | Kartik K. Agaram | 2022-08-15 | 1 | -2/+2 |
| | | |||||
* | | new fork: rip out drawing support | Kartik K. Agaram | 2022-08-14 | 1 | -5/+1 |
|/ | |||||
* | remove some duplication | Kartik K. Agaram | 2022-08-14 | 1 | -7/+4 |
| | |||||
* | overzealous search-and-replace | Kartik K. Agaram | 2022-08-13 | 1 | -1/+1 |
| | |||||
* | have file API operate on state object | Kartik K. Agaram | 2022-07-25 | 1 | -3/+3 |
| | |||||
* | bugfix: alt-tab shouldn't emit keypress events | Kartik K. Agaram | 2022-07-25 | 1 | -1/+20 |
| | | | | | Looks like this only happens on Linux: https://love2d.org/forums/viewtopic.php?p=249700 | ||||
* | move | Kartik K. Agaram | 2022-07-25 | 1 | -2/+3 |
| | |||||
* | simplify hysteresis logic | Kartik K. Agaram | 2022-07-25 | 1 | -8/+3 |
| | |||||
* | extract method | Kartik K. Agaram | 2022-07-23 | 1 | -14/+2 |
| | |||||
* | separate data structure for each line's cache data | Kartik K. Agaram | 2022-07-17 | 1 | -0/+2 |
| | | | | I have no idea what the performance implications of this are.. | ||||
* | more precise name | Kartik K. Agaram | 2022-07-15 | 1 | -7/+0 |
| | |||||
* | make test initializations a little more obvious | Kartik K. Agaram | 2022-07-15 | 1 | -9/+4 |
| | |||||
* | bugfix: zoom in/out hotkeys | Kartik K. Agaram | 2022-07-13 | 1 | -0/+7 |
| | | | | Broken since commit 3b36093553 5 hours ago. | ||||
* | bugfix: resize | Kartik K. Agaram | 2022-07-13 | 1 | -0/+2 |
| | |||||
* | left/right margin -> left/right coordinates | Kartik K. Agaram | 2022-07-12 | 1 | -21/+20 |
| | | | | | Editor state initialization now depends on window dimensions, so we have to more carefully orchestrate startup. | ||||
* | add state arg to a few functions | Kartik K. Agaram | 2022-07-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | - Text.cursor_at_final_screen_line - Text.move_cursor_down_to_next_text_line_while_scrolling_again_if_necessary - Text.snap_cursor_to_bottom_of_screen - Text.in_line - Text.to_pos_on_line - Text.to2 - Text.to1 - Text.previous_screen_line - Text.tweak_screen_top_and_cursor - Text.redraw_all | ||||
* | start passing in Editor_state explicitly | Kartik K. Agaram | 2022-07-12 | 1 | -8/+8 |
| | | | | | | | | | | | | In this commit, top-level edit functions: - edit.draw - edit.update - edit.quit - edit.mouse_pressed - edit.mouse_released - edit.textinput - edit.keychord_pressed - edit.key_released | ||||
* | initialize contains test state | Kartik K. Agaram | 2022-07-12 | 1 | -0/+3 |
| | |||||
* | group all editor globals | Kartik K. Agaram | 2022-07-12 | 1 | -32/+32 |
| | | | | We're still accessing them through a global. But we'll change that next. | ||||
* | bring couple more globals back to the app level | Kartik K. Agaram | 2022-07-12 | 1 | -1/+21 |
| | |||||
* | button framework is at the app level | Kartik K. Agaram | 2022-07-12 | 1 | -0/+4 |
| | |||||
* | experiment: new edit namespace | Kartik K. Agaram | 2022-07-11 | 1 | -416/+13 |
| | | | | | | | | Still lots to do, but the eventual hope is that this will make this project's code easier to reuse from other LÖVE projects. One gotcha: even as we start putting code more aggressively into nested tables, tests must remain at the top-level. Otherwise they won't run. | ||||
* | stop pretending globals are local | Kartik K. Agaram | 2022-07-11 | 1 | -4/+4 |
| | | | | | One advantage of this approach: we don't end up with multiple lexical scopes containing duplicates of the same modules. | ||||
* | . | Kartik K. Agaram | 2022-07-11 | 1 | -1/+2 |
| | |||||
* | fix a variable name | Kartik K. Agaram | 2022-07-11 | 1 | -3/+3 |
| | |||||
* | add args to some functions | Kartik K. Agaram | 2022-07-08 | 1 | -1/+1 |
| | | | | - Text.snap_cursor_to_bottom_of_screen | ||||
* | add args to some functions | Kartik K. Agaram | 2022-07-08 | 1 | -2/+2 |
| | | | | - Text.to_pos_on_line |