Commit Graph

221 Commits (5204cb1f14a04dabf1ec0117ccb716b4d4ec45cf)

Author SHA1 Message Date
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
Isaiah Odhner d4a11bbce9 Silly magnification 2014-11-26 22:54:50 -05:00
Isaiah Odhner 05da3c8b94 Double-click to close the polygon 2014-11-26 13:27:00 -05:00
Isaiah Odhner 7d96a178ba Pixel-sharp rectangles at all stroke sizes 2014-11-25 00:40:58 -05:00
Isaiah Odhner f4656448ef Update README and TODO 2014-11-25 00:39:16 -05:00
Isaiah Odhner 8c8d15cafc Fix some global event handlers interfering 2014-11-20 10:11:20 -05:00
Isaiah Odhner f7adb945de Update TODO (and version number) 2014-11-20 08:51:24 -05:00
Isaiah Odhner 3b689b9947 Work around issue where fonts become serif
Avoid using system font keywords due to a bug in chrome (?)
This also should make the fonts more consistent across platforms
Resolves TODO.md item:
* Fonts become serif in the menubar and/or statusbar
To reproduce temporarily, drag the canvas handles twice.
To reproduce persistently, open something from the window.
(Duplicate the tab, go fullscreen, etc.)
2014-11-20 03:23:05 -05:00
Isaiah Odhner fdd53db192 Many minor code changes
I hope this doesn't break anything
2014-10-28 22:54:55 -04:00
Isaiah Odhner f53c8d060e Make the component ghost go in front of the window
If you click on a window 495 times, the component ghost will start going
behind again.
2014-10-28 19:40:23 -04:00
Isaiah Odhner b0a35a133a Drag window and component together seamlessly
I replaced one thing on the todo list with three.
2014-10-28 02:17:17 -04:00
Isaiah Odhner 2194887ef8 Dock component windows with double click on titlebar
Double-click a component window's titlebar to dock the component to its
most recent location.
I also updated the code to attach/detatch event listeners dynamically
instead of checking a variable.
2014-10-28 02:04:41 -04:00
Isaiah Odhner 811085ac0d Show descriptions of menu items in the status bar 2014-10-27 23:07:46 -04:00
Isaiah Odhner 5f5b6e9504 Update TODO and @TODOs and comments 2014-10-26 21:16:43 -04:00
Isaiah Odhner 4d1bd40371 Make transparent/opaque options use canvas 2014-10-25 15:32:39 -04:00
Isaiah Odhner 40d2045856 Invert airbrush size selection in Firefox
Firefox doesn't support filters (yet), so invert the selected tool
options with the canvas.
2014-10-25 14:15:39 -04:00
Isaiah Odhner 9f190ca75a Better magnification chooser 2014-10-25 02:06:20 -04:00
Isaiah Odhner 730e32e9b9 Remove selection.ctx (use selection.canvas.ctx) 2014-10-24 21:24:26 -04:00
Isaiah Odhner 3e925b5a1a Fix dialogue buttons being messed up (with hacks) 2014-10-24 17:38:39 -04:00
Isaiah Odhner 1be2ca535f Free-Form Select 2014-10-24 03:17:24 -04:00
Isaiah Odhner d68b3068ae Make Print Preview and Page Setup just call print()
...even though Page Setup isn't really even...
2014-10-23 21:45:28 -04:00
Isaiah Odhner e6f07034ec Access clipboard from menu items in Chrome app
Also, put commas everywhere.
2014-10-23 21:34:27 -04:00
Isaiah Odhner 9f6c20f3fc Update README and TODO 2014-10-23 20:54:05 -04:00
Isaiah Odhner 62734b3f87 Multiplayer user presence: cursors 2014-10-18 02:34:44 -04:00
Isaiah Odhner ff6db611a1 Update README and TODO and @TODO 2014-10-02 15:29:25 -04:00
Isaiah Odhner 896779b1c4 Color Replacement
Color Replacement with the "Eraser/Color Eraser" tool
2014-10-01 16:51:25 -04:00
Isaiah Odhner dd691793f1 Move fill function out of tools.js 2014-10-01 15:46:35 -04:00
Isaiah Odhner 761f3f4e03 Handle transparency in fill tool 2014-10-01 15:17:40 -04:00
Isaiah Odhner 959e080f64 Better "Help" 2014-10-01 14:45:19 -04:00
Isaiah Odhner 532b9b7b4d Detect transparency in opened images 2014-09-29 17:12:32 -04:00
Isaiah Odhner 9e393b7abb Reorganize and update TODO 2014-09-28 21:19:39 -04:00
Isaiah Odhner 4485ab40fd Window z-indexing 2014-09-26 07:53:00 -04:00
Isaiah Odhner 639f7f35cc Draw Opaque
I don't know what the deal is with this menu item... It seems to just
toggle the transparent/opaque setting which as far I know only applies
to tools that have nice shiny options for that particular setting...
2014-09-26 07:34:40 -04:00
Isaiah Odhner 869321cd51 Flip / Rotate
Flip / Rotate (functionality) ✓
Apply image operations to the selection if there is one ✓
2014-09-26 07:18:52 -04:00
Isaiah Odhner b2ed1292e5 Flip / Rotate form window 2014-09-23 12:22:01 -04:00
Isaiah Odhner 114c571bd0 Finalize selection with Enter or by clicking off of the canvas 2014-09-22 22:10:11 -04:00
Isaiah Odhner 2d4bf6bfe4 Submenu indicator for non-existent Zoom submenu 2014-09-22 20:47:34 -04:00
Isaiah Odhner 961d9e67ea View > Show/Hide stuff 2014-09-22 20:14:34 -04:00
Isaiah Odhner b7a6e7af7b Edit Colors... Implementation One
This commit will be followed by a better implementation.
2014-09-22 19:17:43 -04:00
Isaiah Odhner d2c15bef4b Edit > Copy To... 2014-09-22 13:09:43 -04:00
Isaiah Odhner a5f912b588 Make some menu items DO THINGS 2014-09-22 07:16:04 -04:00
Isaiah Odhner f9b1bc2cb8 Update TODO & README 2014-09-22 06:13:18 -04:00
Isaiah Odhner 525f852ff5 Select the Select tool when pasting 2014-09-21 22:57:24 -04:00
Isaiah Odhner 0a130ba2d6 Image Attributes: Units and Transparency 2014-09-21 20:55:23 -04:00
Isaiah Odhner 45a4194f6b Attributes... Width and Height 2014-09-20 21:27:56 -04:00
Isaiah Odhner f9e17c69ee Update TODO.md 2014-09-20 13:36:56 -04:00
Isaiah Odhner f3c7087f63 Update TODO & README 2014-09-02 19:02:38 -04:00
Isaiah Odhner e8abd090e1 Image Scaling / Selection Scaling 2014-08-19 15:55:06 -04:00
Isaiah Odhner ab3c8d2438 Fix weird offset in Firefox with tool button images
position: "absolute"; Take that, Firefox! WHAT NOW? oh yeah being really
slow
2014-08-18 17:56:07 -04:00
Isaiah Odhner 50d1900dcb Update README 2014-08-18 16:56:16 -04:00
Isaiah Odhner 52196d50c9 Paste From...
I hope I didn't break anything... 😨 😄
2014-08-18 15:40:34 -04:00
Isaiah Odhner ffc34e06a3 Clear Image 2014-08-18 13:34:47 -04:00
Isaiah Odhner 3a41e4cc17 Sort of make polygon tool respond to fill/stroke option
The canvas doesn't get cleared to the previous image before calling
complete, which it should (@TODO)
so it looks like it's stroking the polygon on completion because the
stroke is left over
2014-08-18 13:05:46 -04:00
Isaiah Odhner adc0b665a2 Firefox... Update TODO, mostly 2014-08-18 11:27:39 -04:00
Isaiah Odhner dc15a395aa bold, italic, underline*, size
underline doesn't render
2014-08-16 16:46:30 -04:00
Isaiah Odhner f18671527b Start making the FontBox 2014-08-15 21:57:01 -04:00
Isaiah Odhner 7a46e9933f Update TODO
"Strokes" seems like an odd thing to have a lot of sub items for, but
I've got ~4.5
2014-08-15 15:53:07 -04:00
Isaiah Odhner fd2d28e6e0 Text tool: foreground and background colors 2014-08-10 10:01:26 -04:00
Isaiah Odhner 8e44876332 Fix some issues related to cropping 2014-08-09 23:36:33 -04:00
Isaiah Odhner 721e3593d8 The 'Stamp' Tool (Draw the selection on click, not just drag)
The so-called "Stamp Tool" from
http://www.albinoblacksheep.com/tutorial/mspaint
2014-08-09 22:01:42 -04:00
Isaiah Odhner 803b83d4e7 Add rudimentary polygonics
Also make the curve tool draw lines since that's how you start using the
tool (then you place 2 control points)
Note: issue with extra undoables when using the polygon tool
2014-08-09 21:24:42 -04:00
Isaiah Odhner 2106191ac1 Stuff! 2014-08-08 17:44:46 -04:00
Isaiah Odhner 9eb2c96936 This one's a frame-changer, guys!
This isn't how mspaint handles these edge cases at all. It just disables
any actions while you're drawing. Maybe I should do that.
2014-06-09 18:46:32 -04:00
Isaiah Odhner 28ce35c303 BUGFIX: quick undo gone rouge 2014-06-08 17:31:26 -04:00
Isaiah Odhner 0449e0bb50 drag windows; windows start centered 2014-06-08 15:55:37 -04:00
Isaiah Odhner b975f8f94d FIX old file being saved over and lost
Wow. One line of code that wasn't even there, and it caused all this
trouble...
2014-06-07 12:15:32 -04:00
Isaiah Odhner f860ee08e8 So many bugs... 2014-06-07 12:11:49 -04:00
Isaiah Odhner 2950a5236e Update TODO.md 2014-06-07 11:37:08 -04:00
Isaiah Odhner b2ed52e773 maybe fix a bug with editing ability being lost 2014-06-02 21:38:06 -04:00
Isaiah Odhner fb14ac3d5a Update TODO.md 2014-06-02 20:13:16 -04:00
Isaiah Odhner d873a23696 Add README info 2014-05-30 03:00:01 -04:00
Isaiah Odhner f08b4a3fd4 Update TODO.md 2014-05-29 15:04:47 -04:00
Isaiah Odhner bfd8e5aa8c Update TODO.md 2014-05-22 04:20:59 -04:00
Isaiah Odhner 68a683a943 update todo with items originally outside the repo 2014-05-19 17:04:19 -04:00
Isaiah Odhner b7fa49ea8e todo: add todo items 2014-05-18 01:47:46 -07:00