Merge upstream into main
[?]
Jul 13, 2022, 10:43 PM
X7IHIK6NHFB633QKWX2XBL5KGF6W6QFKFPQXUESSA73UAUZQIAXACDependencies
- [2]
7CEOB56DMerge upstream into main - [3]
V7LATJC7bugfix: resize - [4]
OGUV4HSAremove some memory leaks from rendered fragments - [5]
UHB4GARJleft/right margin -> left/right coordinates - [6]
AVTNUQYRbasic test-enabled framework - [7]
FS2ITYYHrecord a known issue - [8]
K2X6G75Zstart writing some tests for drawings - [9]
CE4LZV4Tdrop last couple of manual tests - [10]
VHQCNMARseveral more modules - [11]
73OCE2MCafter much struggle, a brute-force undo - [12]
BPWFKBXTnew test: dragging and dropping a file on lines.love - [13]
2L5MEZV3experiment: new edit namespace - [14]
4YDBYBA4clean up memory leak experiments - [15]
LF7BWEG4group all editor globals - [16]
T4FRZSYLdelete an ancient, unused file - [17]
TLOAPLBJadd a license - [18]
27DROQW2Merge upstream into main - [19]
5BJCYYHNconvert videos to gif so they render inline on GitHub - [20]
YIQYNVD2rip out the line-width slider - [21]
OTIBCAUJlove2d scaffold - [22]
LXTTOB33extract a couple of files - [23]
66X36NZNa little more prose describing manual_tests - [24]
7M5PGWKUdrop last couple of manual tests - [25]
VXORMHMEdelete experimental REPL - [26]
BLWAYPKVextract a module - [27]
D2GCFTTTclean up repl functionality - [28]
R5QXEHUIsomebody stop me - [29]
XX7G2FFJintermingle freehand line drawings with text - [30]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [31]
V366JSXAvideos - [32]
BULPIBEGbeginnings of a module for the text editor - [33]
6LJZN727handle chords - [34]
TVCPXAAUrename - [35]
VUVH2XLFMerge upstream into main - [36]
RSZD5A7Gforgot to add json.lua - [37]
3QNOKBFMbeginnings of a test harness
Change contents
- file deletion: main_tests.lua main_tests.lua
check_eq(Editor_state.left, Margin_left, 'F - test_resize_window/left_margin')check_eq(Editor_state.right, 200-Margin_right, 'F - test_resize_window/right_margin')check_eq(Editor_state.width, 200-Margin_right-Margin_left, 'F - test_resize_window/drawing_width')-- TODO: how to make assertions about when App.update got past the early exit?endcheck_eq(Editor_state.left, Margin_left, 'F - test_resize_window/baseline/left_margin')App.resize(200, 400)check_eq(App.screen.width, 200, 'F - test_resize_window/width')check_eq(App.screen.height, 400, 'F - test_resize_window/height')check_eq(App.screen.width, 300, 'F - test_resize_window/baseline/width')check_eq(App.screen.height, 300, 'F - test_resize_window/baseline/height')App.screen.init{width=300, height=300}Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right marginEditor_state.filename = 'foo' - edit in main_tests.lua at line 3
App.screen.init{width=300, height=300}Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin - replacement in main_tests.lua at line 6
App.screen.init{width=Editor_state.left+300, height=300}check_eq(App.screen.width, Editor_state.left+300, 'F - test_resize_window/baseline/width')check_eq(App.screen.width, 300, 'F - test_resize_window/baseline/width') - edit in main_tests.lua at line 8
check_eq(Editor_state.left, Margin_left, 'F - test_resize_window/baseline/left_margin') - edit in main_tests.lua at line 12
check_eq(Editor_state.left, Margin_left, 'F - test_resize_window/left_margin')check_eq(Editor_state.right, 200-Margin_right, 'F - test_resize_window/right_margin')check_eq(Editor_state.width, 200-Margin_right-Margin_left, 'F - test_resize_window/drawing_width')