Isaiah Odhner
25ee7513a7
Activate labels with speech recognition
2022-02-25 11:06:30 -05:00
Isaiah Odhner
e304f8ae71
Add speech recognition alternatives for Select
2022-02-25 11:06:30 -05:00
Isaiah Odhner
87fcb55405
Add to speech recognition fixes list
2022-02-25 11:06:30 -05:00
Isaiah Odhner
dfabe4041c
Don't attempt dictation into non-textual inputs
...
- Dictating into a checkbox, for example, is nonsensical.
- Inputting into a color picker with voice is not supported.
- Inputting into number fields is not supported yet, although there is some very limited natural language number parsing for changing brush sizes.
2022-02-25 11:06:30 -05:00
Isaiah Odhner
714696e8c9
Improve global error handling resiliency
2022-02-24 21:14:20 -05:00
Isaiah Odhner
e054b561c0
Add unhandledrejection handling
2022-02-24 20:43:46 -05:00
Isaiah Odhner
2141a67664
Fix Colors > Save Colors
...
Fixes #276
2022-02-24 20:28:12 -05:00
Isaiah Odhner
22cec4b76e
Add VS Code Chrome debug configuration
2022-02-24 19:54:17 -05:00
Isaiah Odhner
ce8b7664e2
Fix error when shrinking selection with Numpad Subtract
...
Fixes #278
2022-02-24 17:50:32 -05:00
Isaiah Odhner
4a9163fb6d
Format some last bits of code
2022-01-19 09:59:49 -05:00
Isaiah Odhner
5ff5f8b0c4
Adapt some modules less well because they have public state
...
These two modules were designed to handle cleanup upon repeated execution, i.e. via the JS Console, for development.
Simply changing `window` to `exports` here is a little weird, as it obscures this intent (without technically invalidating that aspect).
2022-01-19 00:17:32 -05:00
Isaiah Odhner
a0e119ba8e
Adapt some existing IIFEs to match
2022-01-19 00:17:32 -05:00
Isaiah Odhner
355fba3ee2
Wrap many modules in IIFEs to track their exports
2022-01-19 00:17:32 -05:00
Isaiah Odhner
4fdd061507
Delete some commented out code
...
It's better to show what you need to type, not just what you weren't supposed to.
2022-01-19 00:14:26 -05:00
Isaiah Odhner
8b8032920a
Fix case-sensitive regexp in speech module
2022-01-18 23:58:11 -05:00
Isaiah Odhner
3126e42acb
Relax img-src to fix speech recognition image search
2022-01-18 23:47:40 -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
0f0fd2f92b
Indent code in IIFEs
2022-01-18 20:16:20 -05:00
Isaiah Odhner
955df74aec
Format code in some comments
2022-01-18 20:16:20 -05:00
Isaiah Odhner
27d81db92b
Fix stray curly
2022-01-18 20:10:37 -05:00
Isaiah Odhner
028c1198d8
Fix code formatting after auto-format
2022-01-18 20:10:37 -05:00
Isaiah Odhner
8053b38e58
Auto-format code with VS Code
...
Format JS and HTML using VS Code extension: https://marketplace.visualstudio.com/items?itemName=jbockle.jbockle-format-files
Dedented some files for now to make the diff intelligible:
- tools.js
- menus.js
- speech-recognition.js
- simulate-random-gestures.js
2022-01-18 19:40:58 -05:00
Antonio Adame
5f64f1c251
Fix curve preview color while mouse is up
...
Fixes #157
2022-01-18 12:43:19 -05:00
Isaiah Odhner
32fdf2a28f
Bookmarklets that inject scripts no longer work (due to CSP)
2022-01-17 23:30:47 -05:00
Isaiah Odhner
f0913ff9d0
Fix links in file format support tables
2022-01-17 21:54:35 -05:00
Isaiah Odhner
90394c2e07
Organize improvements/features list!
...
- There's way too many improvements at this point for an unstructured list! A good problem to have :)
- Mention Imgur uploading, and pasting images from URLs.
- Remove mention of GIF smearing, which hasn't worked for a long time, and opening SVG files, which is included in the file format support table.
2022-01-17 21:54:35 -05:00
Isaiah Odhner
539d743f90
Mention Load From URL features
2022-01-17 21:54:35 -05:00
Isaiah Odhner
10224567ee
Clarify some old news
2022-01-17 21:54:35 -05:00
Isaiah Odhner
72f5151851
Fix capitalization
...
Closes #239
2022-01-17 21:54:35 -05:00
Isaiah Odhner
1cd13c3662
Update readme
2022-01-17 21:54:35 -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
e6967d2105
Switch to a forked live-server for CSP support
2022-01-15 16:54:07 -05:00
Isaiah Odhner
b75f6c31a8
Support CSP in Electron and in browser
2022-01-15 16:54:07 -05:00
Isaiah Odhner
c6c8c0c991
Add unsaved changes dialog when closing electron app
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
9762d25868
Handle the other error code just in case
2022-01-14 00:40:11 -05:00
Isaiah Odhner
9e835a57a7
Refactor a little better
2022-01-14 00:40:11 -05:00
Isaiah Odhner
751ece6a9e
Questionably refactor
2022-01-14 00:40:05 -05:00
Isaiah Odhner
7e2e46a57e
Simplify
2022-01-14 00:39:38 -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
7167b4822e
Fix duplicate Buffer.from
2022-01-13 19:11:01 -05:00
Isaiah Odhner
fde33a73ed
TODO
2022-01-13 19:08:18 -05:00
Isaiah Odhner
ec81e6aca8
Set up Content-Security-Policy for Electron app
2022-01-13 19:08:18 -05:00
Isaiah Odhner
5cc6d0f291
Fix dormant confirmation dialog
...
- Fix checkbox visibility (98.css requires label as sibling of input)
- Fix cancel button functionality
2022-01-13 19:08:18 -05:00
Isaiah Odhner
47932d428e
Clean up some dead commented out code
2022-01-13 19:08:18 -05:00
Isaiah Odhner
71d0c150c4
Rename
2022-01-13 19:08:18 -05:00
Isaiah Odhner
b39ce8e476
Fix electron file dialogs
...
- Fix code I somehow left using the function image_format_categories, but without the function being defined anywhere.
- Attach to the browser window, so they work modally.
- Provide window titles. They were named "Untitled window" (in XFCE) before.
- Dialogs have been freezing up the app sometimes indefinitely, sometimes for like ten seconds. I don't think this is fixed.
2022-01-13 19:08:18 -05:00
Isaiah Odhner
6d4e98e23e
Move from "new-window" event to setWindowOpenHandler
2022-01-12 21:08:14 -05:00
Isaiah Odhner
c432fb59f2
Move from "remote" to "@electron/remote"
2022-01-12 20:09:42 -05:00