Commit Graph

1386 Commits

Author SHA1 Message Date
Isaiah Odhner
925b0a1372 Remove duplicate link 2023-07-22 01:20:34 -04:00
Isaiah Odhner
24bcdd0d39 Ensure spaces after commas 2023-07-22 01:17:44 -04:00
Isaiah Odhner
5ec9518ff3 Add spaces around equality operators 2023-07-22 01:16:22 -04:00
Isaiah Odhner
35893c987d Unify to double quotes 2023-07-22 01:12:13 -04:00
Isaiah Odhner
03c910af31 Ensure spaces at start of comments 2023-07-22 01:07:05 -04:00
Isaiah Odhner
2b9e377d7d Check spelling of wallpaper setting code 2023-07-22 01:06:04 -04:00
Isaiah Odhner
7481750633 Fix dumb string interpolation 2023-07-22 00:43:28 -04:00
Isaiah Odhner
6af1497771 Note gsettings CLI fallback works on Ubuntu 2023-07-22 00:43:28 -04:00
Isaiah Odhner
0193773928 Avoid shell code injection in some disabled code 2023-07-22 00:13:30 -04:00
Isaiah Odhner
440fab6a53 Protect against command injection in osascript fallback 2023-07-22 00:05:35 -04:00
Isaiah Odhner
4ae4d71075 Fix osascript fallback for setting wallpaper on macOS 2023-07-21 23:55:34 -04:00
Isaiah Odhner
efba3fb54c Use absolute URL to fix screenshot on PyPI 2023-07-21 21:33:12 -04:00
Isaiah Odhner
da0e5e52da Make watchdog properly optional 2023-07-21 21:31:40 -04:00
Isaiah Odhner
ed675b0df1 Pin versions in install_requires
> It is not considered best practice to use install_requires to pin dependencies to specific versions, or to specify sub-dependencies (i.e. dependencies of your dependencies). This is overly-restrictive, and prevents the user from gaining the benefit of dependency upgrades.

It seems more important to install working versions than to allow other versions.
2023-07-21 18:40:57 -04:00
Isaiah Odhner
26778c2ffd Update setup.cfg 2023-07-21 18:30:17 -04:00
Isaiah Odhner
08efd46aeb Hide --recode-samples testing info on readme 2023-07-21 16:43:43 -04:00
Isaiah Odhner
9f0ea03114 Skip .gpl files during --recode-samples 2023-07-21 16:35:08 -04:00
Isaiah Odhner
b4f425ee3f Prepare for first release 2023-07-21 16:30:49 -04:00
Isaiah Odhner
e42060981c Remove "Update Dependencies" section
I used this command for a while, but ended up manually maintaining `requirements.txt`, in order to specify platform-specific dependencies.

I don't have a clear answer to dependency management; maybe a tool like `poetry` will help, but for now, this section is useless.
2023-07-21 15:11:59 -04:00
Isaiah Odhner
e14df9d4bc Shorten a sentence 2023-07-21 15:11:59 -04:00
Isaiah Odhner
c5809c3695 Confirm Ctrl+V fix for Windows Terminal, and list steps 2023-07-21 14:58:31 -04:00
Isaiah Odhner
a44d5b7695 Use alternative tool icons for Windows Terminal 2023-07-21 13:08:36 -04:00
Isaiah Odhner
bc3dba29fc Reword prompt/TUI clash bug description and clarify cmd vs conhost 2023-07-21 13:03:18 -04:00
Isaiah Odhner
c70f3e35e3 Note powershell prompt/TUI clashing bugginess 2023-07-21 01:18:22 -04:00
Isaiah Odhner
aad51d2978 Note Ctrl+V issue in Windows Terminal app 2023-07-20 20:52:44 -04:00
Isaiah Odhner
4383a882ee Use alternative tool icons for iTerm2 2023-07-20 19:44:47 -04:00
Isaiah Odhner
9f305a2f44 Ignore missing appscript dependency (outside macOS) in a different way 2023-07-20 18:05:23 -04:00
Isaiah Odhner
4d52257497 Clarify what feature is affected by font fallback
Truetype fonts are used for rasterizing ANSI art for Set As Wallpaper.
There are also FIGlet fonts in this app, for magnification.
2023-07-20 17:52:38 -04:00
Isaiah Odhner
5bee7f4819 Accept spelling
This is already accepted by the VS Code extension but not by cspell-cli.
I hate when these inscrutable differences crop up.
2023-07-20 17:52:38 -04:00
Isaiah Odhner
ebab889eaf Ignore 'Type of "get_current_worker" is partially unknown'
$ PYRIGHT_PYTHON_FORCE_VERSION=1.1.316 pyright
WARNING: there is a new pyright version available (v1.1.316 -> v1.1.317).
Please install the new version or set PYRIGHT_PYTHON_FORCE_VERSION to `latest`

/home/io/Projects/textual-paint/src/textual_paint/paint.py
  /home/io/Projects/textual-paint/src/textual_paint/paint.py:39:28 - error: Type of "get_current_worker" is partially unknown
    Type of "get_current_worker" is "() -> Worker[Unknown]" (reportUnknownVariableType)
1 error, 0 warnings, 0 informations
2023-07-20 17:52:38 -04:00
Isaiah Odhner
e0e0ce3cb1 Fix deprecation warning, when specifying text layout engine 2023-07-20 17:50:16 -04:00
Isaiah Odhner
9aadcd7db3 Use Size type, just for fun, in get_screen_size 2023-07-20 16:47:16 -04:00
Isaiah Odhner
86c99b9186 Merge Quartz import statements 2023-07-20 16:41:48 -04:00
Isaiah Odhner
6864790efb Improve error message when opening binary file in Get Colors dialog 2023-07-20 16:40:23 -04:00
Isaiah Odhner
288774aeaa Art tweaks 2023-07-20 15:57:52 -04:00
Isaiah Odhner
f666bfb704 Center image in View Bitmap mode, and restore scroll position
- Center the canvas (when it's smaller than the viewport).
- Adjust the scroll position when entering View Bitmap mode to anchor
  the top/left (when the image is larger than the viewport).
- Restore the scroll position when exiting View Bitmap mode.
2023-07-20 02:34:36 -04:00
Isaiah Odhner
68b92ff946 Zoom out temporarily for View Bitmap mode 2023-07-20 01:59:09 -04:00
Isaiah Odhner
7eff7d0476 Add meta-glyph rendering for corner triangle characters 2023-07-19 22:57:04 -04:00
Isaiah Odhner
3269d545c1 Note more alternatives 2023-07-19 22:30:49 -04:00
Isaiah Odhner
8b79dd98a9 Tweak grid style to be more like MS Paint
Avoid the cell background showing past the left/top of the border of the cell, by using left/top-aligned characters (▛▌▀) rather than centered border characters (┼┆┄).
2023-07-19 22:28:19 -04:00
Isaiah Odhner
507470ad10 Make grid more subtle by showing cell background underneath border 2023-07-19 22:15:15 -04:00
Isaiah Odhner
6a9e8703a6 Improve grid style 2023-07-19 21:59:47 -04:00
Isaiah Odhner
bf7fdac01d Implement View > Zoom > Show Grid 2023-07-19 21:53:10 -04:00
Isaiah Odhner
52a9425b36 Try to allow canceling Set As Wallpaper (probably silly) 2023-07-19 20:45:25 -04:00
Isaiah Odhner
f865acd56c Fix error handling for Set As Wallpaper worker thread 2023-07-19 13:58:31 -04:00
Isaiah Odhner
8e7113e1b5 Match font names case-insensitively and ignoring spaces 2023-07-19 01:44:20 -04:00
Isaiah Odhner
ec7986f9dd Add font names for Windows 2023-07-19 01:31:57 -04:00
Isaiah Odhner
b63f303cf4 Set wallpaper in a worker, to keep UI responsive 2023-07-19 01:26:33 -04:00
Isaiah Odhner
1c64fdb78c Fix Python rocket icon showing in dock on macOS after Set As Wallpaper 2023-07-18 18:32:32 -04:00
Isaiah Odhner
5c7272db91 Clean up Tk root widget
I was hoping this would fix the Python rocket icon showing in the dock on macOS, but it doesn't. It still stays until the program exits.
Might still be good to do though.
2023-07-18 18:32:32 -04:00