Commit Graph

43 Commits (main)

Author SHA1 Message Date
Isaiah Odhner 925d078d05 Make AHK script most robust
- Store window handle and only focus the one window, never switch target
- Focus before every keyboard input
- I tried using ControlSend, but it didn't work
- Improve error message when VS Code window is closed during automation,
  merging two dialog boxes.
2024-01-29 23:02:57 -05:00
Isaiah Odhner 0a47395bd8 Make AHK script more robust
This fixes finickiness around starting the script, needing to focus VS Code manually for some reason, and improves error handling when the VS Code window isn't found.
2024-01-29 23:02:57 -05:00
Isaiah Odhner fa9e4167d5 Clean up AHK script
- Use case consistently
- Make more configurable up top
- Add error handling for VS Code window not being found
- Inline GUI creation code so it's all in one place
2024-01-29 23:02:57 -05:00
Isaiah Odhner 32dc2e3432 Improve AHK script
- Include cypress and help folders while ignoring snapshot images/icons
- Increase delay before and after running command
- Add a popup window to show that you can press Esc to abort,
  as well as the current progress within the files list.
- Add a confirmation with some general info about the script
- Optionally copy the file paths to the clipboard if you say No
2024-01-29 23:02:57 -05:00
Isaiah Odhner 8fe91573a7 Write AHK script to run a VS Code command on all files 2024-01-29 23:02:57 -05:00
Isaiah Odhner ef2393e79d CSpell: separate config file, and set up CLI 2024-01-29 23:02:10 -05:00
Isaiah Odhner e8eb18b968 VS Code: recommend ESLint extension 2024-01-29 01:49:39 -05:00
Isaiah Odhner 2f17b81b3e VS Code: configure readonly files 2024-01-29 01:49:39 -05:00
Isaiah Odhner a09f1d971c VS Code: configure formatting 2024-01-29 00:19:49 -05:00
Isaiah Odhner f771cb36d6 Add PWA section to about page, with install button
Also, improve the electron app section, make the framing more positive.
2023-08-14 19:53:29 -04:00
Isaiah Odhner a70c6c649d Add animated GIF links to more of my projects 2023-08-10 20:53:31 -04:00
Isaiah Odhner 5ad32de21f Add keyboard shortcuts to image attributes dialog
- DANGER: I made $Button treat the label parameter as HTML.
  This is terrible! What am I doing?
- Note: MS Paint actually supports modifier-less shortcuts when no
  textual input is focused. I should do what I did for the Custom Zoom
  window here too, but I haven't yet.
2023-02-14 09:31:56 -05:00
Isaiah Odhner 831662cf48 Add to docs about file loading/saving 2022-08-02 02:58:43 -04:00
Isaiah Odhner 22cec4b76e Add VS Code Chrome debug configuration 2022-02-24 19:54:17 -05:00
Isaiah Odhner 4a9163fb6d Format some last bits of code 2022-01-19 09:59:49 -05:00
Isaiah Odhner 2ca58ca8f2 Enable formatting on save in VS Code 2022-01-18 21:00:33 -05:00
Isaiah Odhner 1aa4a46a66 Accept some spelling 2022-01-18 20:30:25 -05:00
Isaiah Odhner 8502429f31 Fix CSP for Firebase, speculatively
There's a good chance this will run into problems when the database comes back online.
But it would be best to move away from Firebase anyways.
2022-01-15 17:45:36 -05:00
Isaiah Odhner b75f6c31a8 Support CSP in Electron and in browser 2022-01-15 16:54:07 -05:00
Isaiah Odhner 94f15618c2 Handle Xfce specially for setting the wallpaper 2022-01-14 01:09:41 -05:00
Isaiah Odhner be45ba9bc3 Enable sandboxing in electron app
- This was a huge pain in the neck, literally and figuratively.
- Saving: WORKING
- Opening: WORKING
- Overwriting: WORKING
- Wallpaper: (reply was never sent...)
2022-01-14 00:39:38 -05:00
Isaiah Odhner f3bd1ea36d Update comment with alternatives
I'm giving up on this for now I think. It's good enough.
Reloading for changing the language is a very infrequent action,
and reloading for development is frequent but I can live with it.
Detecting fullscreen is NOT what I want to be working on.
2021-12-20 02:20:24 -05:00
Isaiah Odhner 21cf9139d3 Whip that llama 2021-12-07 21:16:11 -05:00
Isaiah Odhner 9734071d2c Add Fullscreen option to View menu, nice for mobile 2021-12-07 16:02:52 -05:00
Isaiah Odhner 2e8f34cc49 Note some improvements 2021-12-07 16:02:52 -05:00
Isaiah Odhner e2cee6eda7 Split and update news update 2021-12-07 16:02:52 -05:00
Isaiah Odhner c20e5f4111 Accept spelling 2021-12-05 12:42:19 -05:00
Isaiah Odhner 83e5b55b31 Make themes handle SVG vs PNG freely
- Modern theme now always uses SVG
- Occult theme now uses SVG for magnification options (not sure about this...)
- Themes can self-actualize
2021-12-02 01:08:17 -05:00
Isaiah Odhner 81a15640f8 Use new SVG for transparency option 2021-12-02 01:08:17 -05:00
Isaiah Odhner 757ca454bd Improve reference screenshot comparison setup 2021-11-26 12:05:28 -05:00
Isaiah Odhner 847fbc394b Update os-gui to 0.3.0, unifying windowing code
Enable resizable windows! And proper dialog window styles!
Tool window titlebar text is truncated with ellipses now instead of making the window ridiculously wide for some languages, e.g. EspaƱol which reads "Herramientas" for "Tools"
2021-11-19 20:31:27 -05:00
Isaiah Odhner 3659ff7877 Disable FS Access API when using accessibility modes, due to user gesture restrictions 2021-11-19 20:31:27 -05:00
Isaiah Odhner 4a760b5b69 Fix: allow tabbing to expandable sections and links in dialogs
Also limit to visible controls.

Note: this functionality only applies to when wrapping around the first/last controls in a window, so tabbing to some expandable sections and links already worked.
2021-11-19 20:31:27 -05:00
Isaiah Odhner a4b7ed989d Accept a spelling 2021-11-19 20:30:42 -05:00
Isaiah Odhner 468b8e659b Expand Extended Editing section of todos
I don't normally add to this todo list, I want it to only get smaller...
I have an external todo list with much more, that always grows,
but this is adding a lot of notes on a stated goal of the project.
2021-08-01 16:34:33 -04:00
Isaiah Odhner 5f98090007 Support RGBA TIFFs 2021-07-29 23:10:25 -04:00
Isaiah Odhner d73223c026 Add support for reading TIFF files 2021-07-29 20:12:56 -04:00
Isaiah Odhner 9d808740e6 Don't fall back to CORS proxy for localhost URLs 2021-07-10 23:37:17 -04:00
Isaiah Odhner 309eb58a07 Support opening PDFs 2021-07-10 23:35:31 -04:00
Isaiah Odhner d92dffdd61 Use UPNG.js for decoding PNGs and getting the palette as well 2021-07-10 16:21:28 -04:00
Isaiah Odhner e786e99139 Use UPNG.js to write tiny PNG files
- Already had UPNG.js for BMP support
- Downloaded pako from https://bundle.run/pako@2.0.3 because I'm too lazy to browserify it myself. I don't really want it minified, but oh well.
2021-07-10 10:29:13 -04:00
Isaiah Odhner 977c8c3b65 Spellcheck 2021-06-19 20:40:30 -04:00
Isaiah Odhner 4fc114ed57 Configure VS Code 2019-12-02 19:57:31 -05:00