Commit Graph

1541 Commits

Author SHA1 Message Date
Isaiah Odhner
652c2138e5 Fix missing import (and missing spelling) for test mark 2024-11-08 11:29:57 -05:00
Isaiah Odhner
2d659ef478 Fix missing word 2024-11-07 14:20:25 -05:00
Isaiah Odhner
a31e6a8f06 Organize Known Issues section 2024-11-07 14:16:11 -05:00
Isaiah Odhner
993bb03719 Note Edit > Paste file format limitation 2024-11-07 13:56:55 -05:00
Isaiah Odhner
688cb2f86f Mark incompatibility with Python 3.13 2024-11-07 13:40:27 -05:00
Isaiah Odhner
7ced8fc50b Add launch configuration to debug pip install 2024-11-05 16:02:42 -05:00
Isaiah Odhner
a2d117cd69 Add test for pasting emoji into CharInput 2024-11-05 16:01:40 -05:00
Isaiah Odhner
81ea6867c0 Add snapshot test for loading a PNG file
This regressed previously. Never again!
2024-11-05 11:08:20 -05:00
Isaiah Odhner
dcfb05c58a Use a separate folder for ANSI art for tests; add more gallery tests 2024-11-05 09:07:40 -05:00
Isaiah Odhner
4387c07e7b Save plain text with CRLF on Windows, fixing round-trip tests
The line endings of *.txt files are currently managed by git,
as specified in `.gitattributes`, which means they're checked out as
CRLF on Windows. I could either change the test to replace CRLF with LF
in the expected file content, or change `.gitattributes`, or change the
file saving itself to save different line endings per platform, and
the latter feels a bit better to me. Eventually it would be good to
support different line endings per file as well as different encodings,
with some auto-detection and a way to override the settings and reload.
2024-11-05 07:27:52 -05:00
Isaiah Odhner
0a0d509cd2 Update test snapshots
I added another ANSI art sample, which now shows up in the gallery app's
snapshot, invalidating the test. Maybe I should stop adding sample art.
Or better yet, I should create a separate folder with just two files
so that I can add sample art freely without breaking the tests:
  - one file that's small and centered
  - one file that's large with scrollbars

`pytest --snapshot-update`
2024-11-05 07:27:52 -05:00
Isaiah Odhner
d5448db34e Mark *.ambr as text 2024-11-04 23:47:16 -05:00
Isaiah Odhner
4994719f67 Restart cursor blink cycle when moving cursor or typing 2024-11-04 22:59:50 -05:00
Isaiah Odhner
788ce400bf Implement cursor blinking effect 2024-11-04 22:52:31 -05:00
Isaiah Odhner
4edd5ab4d7 Note worse variation of menu scrolling issue 2024-11-04 21:52:20 -05:00
Isaiah Odhner
24ea6ea260 Fix image files opening as blank white
Broken in: 00bd187d5a (diff-6e80bd629f0b2c3bd31e0cab96633495ea700649c14f5b147beac856bf5d61b3R648)
2024-11-04 21:52:20 -05:00
Isaiah Odhner
93abb6f871 Remove todo for issue that I can't reproduce 2024-11-04 21:20:48 -05:00
Isaiah Odhner
35860fbe1b Note errant commit found with git bisect 2024-11-04 21:20:25 -05:00
Isaiah Odhner
e519ad4613 Add to known issues list 2024-11-04 15:10:33 -05:00
Isaiah Odhner
1a4eab97de Add pyright to requirements.txt 2024-11-04 13:44:04 -05:00
Isaiah Odhner
d384f54d48 Configure pyright to check for Python 3.10 compatibility 2024-11-04 13:33:25 -05:00
Isaiah Odhner
00f249595e Fix compatibility with Python < 3.12
Prior to Python 3.12, f-string interpolations cannot contain the quote
character used to delimit the f-string.
2024-11-04 11:58:41 -05:00
Isaiah Odhner
dd331812eb Reset focus when pressing Escape 2024-11-04 01:09:52 -05:00
Isaiah Odhner
0a715fff5d Fix double-acting arrow keys with dialog open 2024-11-04 01:02:15 -05:00
Isaiah Odhner
b0e478cae0 Fix errors when interacting with command palette 2024-11-04 01:02:15 -05:00
Isaiah Odhner
9f285f2d9d Add sample text art of text 2024-11-04 01:02:15 -05:00
Isaiah Odhner
ce9b9d6fcb Create initial cursor with keyboard 2024-11-04 01:02:15 -05:00
Isaiah Odhner
637284fe71 Restore cursor position after redoing free-typing 2024-11-03 23:16:14 -05:00
Isaiah Odhner
8b6462ba44 Restore cursor position after undoing free-typing 2024-11-03 23:03:37 -05:00
Isaiah Odhner
b5ea2e5970 Make backspace delete to left in free typing mode
I reworked this so it edits the image directly, creating undo states
immediately when you type instead of when the textbox is later melded.
Now it can edit a different cell without complicating the code, as the
edits are done directly within the cursor movement code instead of
later when the 1x1 textbox is melded into the canvas.
2024-11-03 23:00:31 -05:00
Isaiah Odhner
c7a6bc112b Switch to RegexMatchingEventHandler 2024-11-02 13:23:07 -04:00
Isaiah Odhner
fc269f3a90 Update watchdog to 6.0.0
Doesn't fix ignore patterns not working on Windows.
2024-11-02 11:49:54 -04:00
Isaiah Odhner
2a3c3f2d1d Skip invalid file descriptors 2024-11-02 11:43:49 -04:00
Isaiah Odhner
00decf8217 Add notes about annoying things detracting from real work 2024-11-02 11:43:49 -04:00
Isaiah Odhner
f7b94181bc Override launch task program paths for Windows 2024-11-02 11:01:19 -04:00
Isaiah Odhner
0a48cb499e Update deprecated launch config type 2024-11-01 11:54:39 -04:00
Isaiah Odhner
40b2b1b1a1 Catch ImportError to tweak error message 2024-10-31 23:40:51 -04:00
Isaiah Odhner
c88812ff57 Handle Windows argument escaping bullshit 2024-10-31 23:36:08 -04:00
Isaiah Odhner
68e52ec30e Rename file to avoid pytest discovery
This file was being automatically executed on (unrelated) file changes,
via this command line:
    .venv\Scripts\python.exe -m pytest -p vscode_pytest --collect-only
2024-10-31 20:59:15 -04:00
Isaiah Odhner
ade8d115cf Write same newlines across operating systems for gradient_test.ans 2024-10-31 20:55:27 -04:00
Isaiah Odhner
33650e4dd0 Handle boundaries and more keys in free typing mode 2024-10-31 18:27:36 -04:00
Isaiah Odhner
657a13b830 Add free typing support to Text tool 2024-10-31 18:17:17 -04:00
Isaiah Odhner
3154ba45a3 Note about activating virtualenv in Bash on Windows 2024-02-01 18:00:00 -05:00
Isaiah Odhner
0baed2d819 VS Code: disable indentation detection to avoid future inconsistency 2024-01-11 20:15:47 -05:00
Isaiah Odhner
4375c518e4 Replace all tabs with spaces for consistency 2024-01-11 20:14:43 -05:00
Isaiah Odhner
2f5d708f4e Clarify a comment 2024-01-11 19:54:27 -05:00
Isaiah Odhner
c2f0435d36 Prepare v0.4.0 2024-01-11 17:44:00 -05:00
Isaiah Odhner
37d38d1509 Add dependencies for release process 2024-01-11 17:43:53 -05:00
Isaiah Odhner
cb5f708c16 Fix typo 2024-01-11 17:15:45 -05:00
Isaiah Odhner
6539dde40e Couch performance claims 2024-01-11 17:13:40 -05:00