Commit Graph

224 Commits (f3e30580b7bf55d924cc2e3241c86acf5e8a55ce)

Author SHA1 Message Date
Isaiah Odhner ec213c8f93 Add icon to window 2018-08-23 22:50:10 -04:00
Isaiah Odhner 135d49a155 Remove native menu in Electron 2018-08-23 22:23:43 -04:00
Isaiah Odhner 198427accb Add Electron Forge 2018-08-23 21:59:00 -04:00
Isaiah Odhner 6f85eb8d53 Remove NW.js 2018-08-23 21:58:59 -04:00
Isaiah Odhner dc6068a8df Use primary color for fill-only mode 2018-06-29 00:42:20 -04:00
Isaiah Odhner c530418b67 Chrome apps are dead (basically) 2018-06-29 00:22:50 -04:00
Isaiah Odhner 500224662d Support pencil size adjustment
🍆? ✏?

...🍆?
2018-06-29 00:13:14 -04:00
Isaiah Odhner 1748fd7e16 Remove shape styles warning! 2018-06-28 20:44:12 -04:00
Isaiah Odhner 3fce1757a2 Draw rectangle stroke inside bounds 2018-06-28 20:42:10 -04:00
Isaiah Odhner c0cf1b2788 Implement line width for ellipses
- Simplify and improve brush size handling
2018-06-28 20:18:47 -04:00
Isaiah Odhner d89b66efcb Implement line width for rounded rectangles 2018-06-28 19:14:32 -04:00
Isaiah Odhner 029a556ab5 For rectangle tool, draw stroke inside bounds 2018-06-28 14:46:25 -04:00
Isaiah Odhner 7417a82e0c Support patterns for line & curve tools 2018-06-27 17:11:36 -04:00
Isaiah Odhner b739751976 Load About Paint content from HTML
This probably won't help SEO (even in the limited way that I want (a better description, rather than ranking which is what most SEO is focused on)), but it should improve the site for Lynx users 🙃 and make it easier to update (HTML highlighting etc.)
2018-06-21 02:23:18 +00:00
Isaiah Odhner 75d81b7913 Fix performance for polygons and curves 2018-06-18 01:12:08 -04:00
Isaiah Odhner f12b36c671 Align patterns for polygon tool 2018-06-17 17:52:53 -04:00
Isaiah Odhner 725d2bc66b Enable patterns for polygon strokes and fills 2018-06-17 17:52:53 -04:00
Isaiah Odhner 92feca2abc Support line width for polygon tool 2018-06-17 17:52:53 -04:00
Isaiah Odhner 747bf8c4f5 Use WebGL for polygon tool preview 2018-06-17 17:52:53 -04:00
Isaiah Odhner e5b3c5be8b Use WebGL for Polygon tool 2018-06-17 17:52:53 -04:00
Isaiah Odhner 3b06cb91ce HTTPS all the way!
Closes https://github.com/1j01/jspaint/issues/108
2018-05-05 12:33:45 -04:00
Isaiah Odhner 26c1b56b5f Fix z-indexing issues
(And introduce at least one, but document it)
2018-01-25 09:15:03 +00:00
Isaiah Odhner a31c2d2872 Add secret 10x zoom 2018-01-25 00:06:38 +00:00
Isaiah Odhner 28167e3f82 Rename multiplayer to multi-user
Is this some kind of game to you?? 😉
2018-01-20 22:45:19 +00:00
Isaiah Odhner 7e6cc52f44 Deselect before saving
Fixes #14
2018-01-18 02:37:47 -05:00
Isaiah Odhner d274679c01 Update TODOs 2018-01-18 01:56:44 -05:00
Isaiah Odhner e251945f38 Allow switching transparency option of active selection
Also add some cleanup code to TextBox, while I'm at it
2018-01-17 20:13:02 -05:00
Isaiah Odhner 263e53c91a Implement better selection cutting
- Fix stupid selection behavior with partially transparent images (nonbinary transparency)
- Implement tool options for Select and Free-Form Select, but only when cutting the selection (and it doesn't support treating partially transparent background colors as transparency)
- Fix broken OK buttons on error messages if multiple opened, due to an accidental global variable
2018-01-13 18:02:50 -05:00
Isaiah Odhner f86234c051 Allow middle-click scrolling 2018-01-11 18:17:01 -05:00
Isaiah Odhner 2832f37358 Add Load From URL 2018-01-09 22:42:38 -05:00
Isaiah Odhner e5da341d48 Add missing canvas resize triggers
Fixes #8

For some of these times, it would already resize, but not immediately; there would be a frame where it was shown stretched.
2017-10-30 17:02:45 -04:00
Isaiah Odhner 5bdcd9a19e Fix unguarded localStorage access 2017-10-30 15:36:29 -04:00
Isaiah Odhner c3742cdad3 Fix unspecified file extension when saving
File was saved without an extension in Firefox, and Edge even added a txt extension by default!

Also make some other extension handling hopefully more robust or at least consistent.
2017-10-30 01:27:25 -04:00
Isaiah Odhner 2f7c985713 Update TODO 2017-10-30 01:23:01 -04:00
Isaiah Odhner 2832598fb3 Update TODO
(including formatting)
2017-10-26 00:02:46 -04:00
Isaiah Odhner 949b18d23b Partially implement B&W mode 2017-06-24 06:22:29 +00:00
Isaiah Odhner 2aec89d0a2 Rename help page files 2017-06-02 05:21:50 +00:00
Isaiah Odhner 00c2dc6911 Update TODO and README 2017-06-02 04:59:44 +00:00
Isaiah Odhner 6c65c0cb80 Add checkered background for transparency
Resolves https://github.com/1j01/jspaint/issues/11
2017-05-30 23:07:02 +00:00
Isaiah Odhner 7d22db9caa Fix flood fill algorithm
Fixes #10
2017-05-25 03:07:10 +00:00
Isaiah Odhner d92054dfd1 Remove all .jspaint-* prefixes 2017-05-23 06:04:23 +00:00
Isaiah Odhner c05eaf0547 Remove other button classes 2017-05-23 05:50:17 +00:00
Isaiah Odhner 5d919a32de Remove .jspaint-button class 2017-05-23 03:58:35 +00:00
Isaiah Odhner 6fe7aaa0e4 Fix extra scrollbar buttons on textbox 2017-05-23 02:54:26 +00:00
Isaiah Odhner 557923391b Update scrollbars
And the selection color
2017-05-18 18:29:26 +00:00
Isaiah Odhner 8f66c81d1e Pixelate when zoomed in 2017-05-18 06:20:46 +00:00
Isaiah Odhner ba1392ea3c Add Extras menu 2017-01-29 20:19:43 +00:00
Isaiah Odhner 5f664f7719 Add and fix some shape styles
Implement support for line widths in the Line and Polygon tools, and fix the coloring of the shape tools (Polygon etc.)
2016-11-06 00:13:54 +00:00
Isaiah Odhner 401fa043b6 Wrap when rasterizing text 2016-11-05 19:52:44 +00:00
Isaiah Odhner 28af0c02e8 Update TODO 2016-09-24 02:03:50 -04:00
Isaiah Odhner e17112baba Fix <input> elements getting in the way 2016-09-19 17:05:49 -04:00
Isaiah Odhner d4da7987e0 Update TODO 2016-09-19 16:11:44 -04:00
Isaiah Odhner f6fd425e1b Fix app layout in Firefox and Edge 2016-05-04 18:37:54 -04:00
Isaiah Odhner 08f15a0e5f Fix zooming in Firefox and Edge
by avoiding the non-standard CSS zoom property
2016-05-04 18:12:46 -04:00
Isaiah Odhner b34c255414 Inherit Selection and TextBox from a base class
TODO: merge instantiation methods
2016-03-25 10:55:53 -04:00
Isaiah Odhner 17c5001a04 No more _x/_y/_w/_h nonsense
refactor'd
2016-03-24 20:50:49 -04:00
Isaiah Odhner e2f184499f Rename $ghost to $el 2016-03-24 14:32:10 -04:00
Isaiah Odhner cdc5196ca4 Rename multiplayer.js to sessions.js 2016-03-24 12:38:37 -04:00
Isaiah Odhner fa9a0f4e31 Update README and TODO 2016-03-24 12:00:40 -04:00
Isaiah Odhner 698849caa5 Fix layout in chrome
Chrome keeps changing things.
2016-01-05 09:02:31 -05:00
Isaiah Odhner bd7820f24d Copy To and Set As Wallpaper: saveAs 2015-10-19 16:15:01 -04:00
Isaiah Odhner acb9aad521 Fix missing GIF extension 2015-10-19 15:22:29 -04:00
Isaiah Odhner f558323dff Update README and TODO 2015-10-19 15:11:10 -04:00
Isaiah Odhner f9ec861def Fixed sidebar width 2015-10-17 20:43:21 -04:00
Isaiah Odhner 83894dffdd Fix empty bits in help text
Where normally there are "links" that are supposed to open popups, at
least display the text that they're supposed to pop up with information
about.
2015-10-17 20:15:29 -04:00
Isaiah Odhner 83dedc5f44 Enable text selection in help in Chrome app 2015-10-17 14:27:38 -04:00
Isaiah Odhner 866b4087f6 Update help topics 2015-10-17 13:10:33 -04:00
Isaiah Odhner 4624f13c50 Manage storage and fix the Chrome app
TODO: manage storage IN the Chrome app
2015-10-14 19:30:46 -04:00
Isaiah Odhner e7b0bd7bb1 Clean up 2015-10-13 22:36:25 -04:00
Isaiah Odhner 7db5e03666 Handle invalid values in Rotate by angle
Also, saving large images doesn't crash anymore
2015-10-12 12:14:25 -04:00
Isaiah Odhner 4f191dc797 Fix UI getting hidden
The bottom component area would get pushed down based on the canvas
size. (flexbox changes in at least chrome)
2015-09-20 13:43:33 -04:00
Isaiah Odhner 1bae623c7c Fix keyboard navigation of menus 2015-06-29 00:33:22 -04:00
Isaiah Odhner 5e13c1116f Improve GIF rendering window 2015-06-29 00:19:22 -04:00
Isaiah Odhner 204f4b44ac Use Font Detective
font-detective@1.1.0
2015-06-28 14:16:55 -04:00
Isaiah Odhner 034e75c459 Add missing touch-action attributes 2015-06-28 12:54:50 -04:00
Isaiah Odhner 6f9899fbe3 Fix global event handlers interfering
I read https://css-tricks.com/dangers-stopping-event-propagation/ and
this eventually (pun intended!) led to me fixing my event handlers.
I got rid of instances where false (or true, for some reason) was
returned from event handlers, because that's even worse than
stopPropagation (and does also stop propagation (except when true is
returned, which surely does nothing)).
2015-06-21 21:05:48 -04:00
Isaiah Odhner df0218a3c4 Mobile support 2015-06-21 20:01:12 -04:00
Isaiah Odhner 92c6d12e90 Add PEP but don't use it 2015-06-20 21:02:47 -04:00
Isaiah Odhner 05449000c2 Hide parts of the UI as the window gets smaller 2015-06-19 15:52:31 -04:00
Isaiah Odhner 5a73ce18c4 Some keyboard support in the menus 2015-06-19 15:29:49 -04:00
Isaiah Odhner 96f9f5442a Keyboard interaction with dialogues 2015-06-18 21:11:40 -04:00
Isaiah Odhner 3f0cbc32f7 Colors > Get Colors 2015-06-15 21:29:30 -04:00
Isaiah Odhner fe13c3bf2e Update TODO and stuff 2015-06-15 19:50:31 -04:00
Isaiah Odhner 4c99759ac5 Make Edit Colors work when the Colors box is hidden 2015-06-14 22:47:08 -04:00
Isaiah Odhner d2d90aebc8 Update menu checkboxes when value changed externally 2015-06-14 17:31:30 -04:00
Isaiah Odhner 362a4c2199 Allow bringing back a component that was closed 2015-06-14 16:36:52 -04:00
Isaiah Odhner 79e33c0faa Fix component windows not hiding 2015-06-14 16:18:49 -04:00
Isaiah Odhner b828a6e9bc Update README (and TODO) 2015-02-23 19:39:43 -05:00
Isaiah Odhner 3b33e7c2ff Store current colors in an object (not an array) 2015-02-23 19:18:07 -05:00
Isaiah Odhner 6ba8038acf Fix pixelization 2015-02-23 18:12:43 -05:00
Isaiah Odhner 8d65395842 WIP Savedness handling 2015-02-23 16:16:21 -05:00
Isaiah Odhner 04deab1a87 Crash handling with local storage 2015-02-23 13:44:58 -05:00
Isaiah Odhner bfb7d93f61 WIP Crash handling 2015-02-23 12:46:57 -05:00
Isaiah Odhner 15b038e502 Update README and TODO and add .gitignore 2015-02-12 23:34:26 -05:00
Isaiah Odhner 8fa3c01d0d Move render_brush to image-manipulation.js 2014-12-11 16:36:48 -05:00
Isaiah Odhner 30f70bf1de Multiplayer: playback recorded mouse operations 2014-12-08 20:00:16 -05:00
Isaiah Odhner 9a95ed67b3 Update TODO 2014-11-29 12:53:26 -05:00
Isaiah Odhner 3747145521 Refactor
"Refactor early, refactor often"
"Better late than never"
2014-11-28 21:27:51 -05:00
Isaiah Odhner 2f1f4cd830 Non-silly magnification 2014-11-27 21:53:34 -05:00
Isaiah Odhner 6fa4f6d4f2 Update TODOs 2014-11-27 11:27:58 -05:00