Jake Archibald
0ba3c57f10
Generic options
2018-11-06 13:33:11 +00:00
Jake Archibald
8aca7badbe
These asserts weren't true
2018-11-06 13:33:11 +00:00
Jake Archibald
3f155980f0
OptPNG options
2018-11-06 13:33:11 +00:00
Jake Archibald
112305bf46
MozJPEG options updated
2018-11-06 13:33:10 +00:00
Jake Archibald
093331517e
oops
2018-11-06 13:33:10 +00:00
Jake Archibald
16b59651fc
Large compress select
2018-11-06 13:33:09 +00:00
Jake Archibald
2e65f8ad73
Safari & Firefox fixes
2018-11-06 13:33:09 +00:00
Jake Archibald
e260646940
Text fields with inputs do the right thing
2018-11-06 13:33:08 +00:00
Jake Archibald
97c2302871
Range input styles
2018-11-06 13:33:08 +00:00
Jake Archibald
91d165cab9
Custom select elements & more form work
2018-11-06 13:33:08 +00:00
Jake Archibald
2138154ec5
Revealing sections
2018-11-06 13:33:07 +00:00
Jake Archibald
6ec0349f8f
Commenting stuff to keep the build happy
2018-11-06 13:33:07 +00:00
Jake Archibald
ae904cd07f
wip
2018-11-06 13:33:06 +00:00
Jake Archibald
0cec90c7ca
Main ui ( #214 )
...
* Class for file drop
* OCD
* We don't need the invalid state, as we'll accept all types.
* Flattening CSS
* Fixing zoom input in Firefox
* Fixing 'container' scaleTo
* two-up closer design match & smaller line
* Fixing edge bug
2018-11-06 13:31:58 +00:00
Jake Archibald
43def798e1
Two workers & worker termination ( #198 )
...
* Refactoring codecs
* Plugging in new processor
* Fixing decorator
* MozJPEG free issue
* Better worker aborting, and terminate workers that aren't used for 10 seconds
* Better comment
* Ooops, half-typed comment
* Uncommenting problematic line
* Surma fixed it!
* Abstracting WASM initialisation
* Better comment
* Don't need this.
* Adding ticket
* noInitalRun
* Reverting MozJPEG issue demo
* Making a const for worker timeout
* Inline docs
* Bail early rather than nesting
* Addressing nits
2018-10-28 09:17:43 +00:00
Jake Archibald
02b0c022ca
Edge encode fix ( #211 )
...
* No canvas.toBlob in Edge.
* pffft
2018-10-20 14:50:37 +01:00
Jake Archibald
c82d0d1b88
Fix for loading SVG in Safari. ( #212 )
...
* Fix for loading SVG in Safari.
* Tidier code
2018-10-20 14:50:16 +01:00
Jake Archibald
e24d7865ce
Lazy-loading the main part of the app ( #197 )
...
* Splitting main part of app out of the main bundle.
Also improving the transition from intro to compressor.
* Showing error if app fails to load.
* lol these aren't async
* Please don't tell anyone I did this
* Spinner if user selects a file before the app has loaded. (#208 )
2018-10-20 12:53:36 +01:00
Jason Miller
a79f95b305
Fix <range-input disabled> ( #195 )
...
* Fix .disabled property reflection for range-input (only attribute worked previously)
* Revert "Fix .disabled property reflection for range-input (only attribute worked previously)"
This reverts commit f5964635b2 .
* Fix reflection
* Use hasAttribute()
2018-10-20 12:51:30 +01:00
Surma
49b40b1c3e
Remove virtual files before running ( fixes #217 ) ( #220 )
2018-10-19 12:07:01 +01:00
Jake Archibald
11ee74e224
Edge gets confused about custom properties in @supports. ( #206 )
2018-10-14 14:11:20 +01:00
Surma
f335246673
Use mozjpeg function to free result ( #207 )
2018-10-14 14:10:21 +01:00
Jason Miller
ccb734aec6
Remove firebase travis deploy (for now) ( #196 )
...
* remove firebase (for now)
* Also rm .firebaserc
2018-10-14 09:35:07 +01:00
Jake Archibald
568b9e9459
Styling intro screen and adding demo images.
2018-10-12 14:12:32 +01:00
Jake Archibald
a43ea761f5
Missing bind
2018-10-12 14:04:18 +01:00
Surma
577c77cc30
Codecs cleanup ( #189 )
...
* Update imagequant processor
* Update mozjpeg encoder
* Update optipng encoder
* Update webp decoder
* Update webp encoder
* Remove old codec build tasks
* Add warning about docker image updates
2018-10-12 10:53:33 +01:00
Jake Archibald
d2f60baef9
Handle vectors ( #187 )
...
* Allow loading SVG. Fixes #138 .
I also made the resizer vector-aware, so you can resize the image larger & stay sharp.
* Handling SVG without width/height set.
* Simplifying maths
* Doh, case sensitive
2018-10-11 14:15:01 +01:00
Jake Archibald
64acc08cd7
Improving image open time ( #185 )
...
* Moving intro into its own component
* Tidying JSX, and allowing image to render before first compression. Fixes #164 .
2018-10-11 14:05:18 +01:00
Jake Archibald
a1f0b81dff
Fixing resize again. Fixes #183 . ( #184 )
2018-10-09 13:34:38 +01:00
Jake Archibald
48bb58dc89
Moving range input component
2018-10-09 12:19:24 +01:00
Jake Archibald
765cc213d2
Updating linting rules and fixing bug
2018-10-02 14:56:20 +01:00
Jason Miller
37f5c0dd76
Design review fixes ( #172 )
...
* Design review fixes
* Adding styles for mozjpeg & fixing some merge errors
2018-10-02 14:53:21 +01:00
Jake Archibald
b25d1eaf86
<range-input> ( #171 )
2018-10-02 11:41:07 +01:00
Jake Archibald
248676aa31
Fixing webp sniffing. Fixes #178 . ( #179 )
2018-10-02 11:30:38 +01:00
Ewa
059c80c05d
Center the image canvas in PinchZoom ( #170 )
...
* Center the image canvas in PinchZoom
* Fixing pinch zoom
2018-10-01 13:57:26 +01:00
Jake Archibald
cfd42818b7
Edge file constructor fix ( #180 )
...
* Hacking around lack of `new File` in Edge.
* Less hacky solution - preserves types
2018-09-28 14:44:59 +01:00
Jake Archibald
5e66e0acc4
Adding custom element polyfill ( #177 )
2018-09-27 14:49:45 +01:00
Jake Archibald
c9fe5ffbcf
Creating fallbacks for all ImageBitmap usage & refactoring. ( #175 )
...
Fixes #173
2018-09-27 14:44:54 +01:00
Surma
1b630a092f
Dockerize mozjpeg ( #169 )
...
* Dockerize mozjpeg build process
* Update README
2018-09-26 12:31:26 +01:00
Ewa
09e60284cb
Merge pull request #168 from GoogleChromeLabs/devnook-fix-105
...
Reposition the TwoUp handle on resize
2018-09-18 07:29:21 +02:00
Ewa Gasperowicz
76b34c62db
Review code format fixes
2018-09-18 07:26:51 +02:00
Ewa Gasperowicz
9d7212bc1d
Review code format fixes
2018-09-17 13:25:33 +02:00
Ewa Gasperowicz
1b69c9231d
Keep relative screen division while resizing
2018-09-17 13:21:31 +02:00
Ewa Gasperowicz
bcd88f6356
Add fallback to window.onresize
2018-09-17 11:30:06 +02:00
Ewa Gasperowicz
2a47f67214
Reposition the TwoUp handle on resize
2018-09-17 11:08:54 +02:00
Mariko Kosaka
5e8dc1b26c
Add multi-panel component ( #95 )
...
* add multi-panel component
* make _functions private
* fix spelling errors
* spacing fix
* spelling fix
* store result of _getClosestHeading and avoid calling twice.
* remove returns that are not needed
* move getClosestHeading as separate function
* re-thinking casting and logic
* reflect code review
* do not remove focus when hit spacebar
* add comments and fix type
* handle heading keyevents
* set expanded hight to auto
2018-09-12 14:57:01 +01:00
Jake Archibald
c591f1f37d
Result cache LRU ( #165 )
...
* Give the result cache some LRU love
* Fixing LRU cache move-to-start, and simplifying
2018-09-11 17:31:08 +01:00
Jake Archibald
4db43ccd4e
Button to copy settings to the other side
2018-09-06 13:05:17 +01:00
Jake Archibald
ea5d3c2d78
Adding resize preprocessor ( #152 )
...
* Adding resize preprocessor
* Using ! on form
* Haha oops
* Using createImageBitmapPolyfill
* Updating package.json
* Oops again
* Ooops again
2018-09-05 15:46:26 +01:00
Jake Archibald
700b1f15cd
Pinch-zoom: scale around given origin. ( #139 )
...
Also setting a min scale.
2018-09-05 09:39:26 +01:00