Commit Graph

314 Commits

Author SHA1 Message Date
j433866 02bda3250b Fix magic button.
Fix download all files not working
2019-05-01 14:46:05 +01:00
j433866 f6f60e8203 Update LoaderWorker to not use messagechannels 2019-05-01 14:13:40 +01:00
j433866 55beb433f3 Go back to sending messages via the main thread.
A MessageChannel is faster on Chrome, but causes issues in Firefox.
Bake button now says "Loading..." when the inputWorker is gathering inputs for baking
2019-05-01 14:12:36 +01:00
j433866 2fff18cb61 Don't create a new loaderWorker until we need one.
This was causing issues on single core systems after I got rid of the active status as we had already reached the max number of workers.
Instead, we just create a loaderWorker when needed as loaderWorkers are small enough!
2019-04-30 15:23:41 +01:00
j433866 6d8bf3a08a Enable filter buttons in manager 2019-04-30 14:45:34 +01:00
j433866 13ee79a06b Add searching for inputs 2019-04-30 14:15:05 +01:00
j433866 b4208ede3b Add clear io button.
Fix some weirdness with removing tabs
2019-04-30 13:34:00 +01:00
j433866 a96cb3f99f Add clear all io button. 2019-04-30 13:18:22 +01:00
j433866 1f39a922d1 Reset bake button background when state changed 2019-04-30 12:58:29 +01:00
j433866 145fba5949 Input pasting now works 2019-04-30 11:48:01 +01:00
j433866 8cb86c364d Increase file limit 2019-04-26 15:19:17 +01:00
j433866 6d98014ad2 New max limit for files 2019-04-26 15:16:15 +01:00
j433866 1cf83c2485 Change baking to send all inputs individually.
Re-enable go to tab button.
Active tab is now autobaked on load completion.
Handle (ish) loaderWorker errors.
Improve load performance.
2019-04-26 15:15:44 +01:00
j433866 7b169fb798 Add css for search box 2019-04-25 16:33:02 +01:00
j433866 406cbb0f41 Move input logic into a new worker (InputWorker)
Change OutputWaiter to use dict of outputs instead of list
LoaderWorker communicates with InputWorker using a messagechannel
2019-04-25 16:32:48 +01:00
j433866 6d8daac5ca Merge remote-tracking branch 'upstream/master' into multiple-input-files 2019-04-23 09:02:04 +01:00
j433866 82186c8592 Add search box for input tabs 2019-04-23 09:02:00 +01:00
j433866 f099a352b3 Change get input function calls 2019-04-23 09:01:25 +01:00
n1474335 8f450501cc Downloadble version is now a .zip file instead of a single .htm file 2019-04-12 18:54:31 +01:00
j433866 bd3777f9de Change maximum file size in readme 2019-04-05 10:51:39 +01:00
j433866 9690ccd8a0 Fix being unable to go to tab 1 2019-04-04 14:42:21 +01:00
j433866 0804647441 Load in the right order 2019-04-04 13:14:45 +01:00
j433866 76da287cca Bake in the right order 2019-04-04 13:13:38 +01:00
j433866 8739dd97d6 Change srcElement to target
(srcElement is non-standard)
2019-04-04 13:13:21 +01:00
j433866 de21f14fd8 Move the tab buttons onto the tab bar 2019-04-04 10:57:01 +01:00
j433866 b90cca77a9 Fix more tab weirdness.
Move tab buttons onto tab bar.
Calculate size of maxTabs automatically on page load.
Display total execution time when a bake finishes.
2019-04-04 10:15:13 +01:00
j433866 1eadc08098 Fix some weirdness with tabs.
Adjust worker logic to avoid closing and reopening a worker as often
2019-04-03 16:05:10 +01:00
j433866 9df26b8c84 Output tabs now (mostly) work.
Add downloading files as an archive (needs work)
Add option for keeping the tabs in sync
2019-04-03 12:00:47 +01:00
j433866 e0c9aba25e Improve WorkerWaiter and OutputWaiter.
- Will run and display outputs in the output area as they're baked
- Creates output tabs
- Can change output tabs (only the first 4 at the moment)
2019-04-02 16:58:36 +01:00
j433866 2cb33bfec4 Bring up to date with master 2019-04-02 16:54:34 +01:00
j433866 2aad7647ef Add tab buttons (don't work yet).
Change some of the HTML around the tab bar
2019-04-02 16:53:15 +01:00
j433866 cd094d1475 Change "input-tabs" id to be for the actual ul element.
Automatically disable auto-bake if more than 20 files are input.
2019-04-01 16:15:09 +01:00
j433866 7bf8467637 Add maximum limit to the thumbnail image size 2019-04-01 08:53:52 +01:00
n1474335 27677adbe8 Fixed option default 2019-04-01 00:29:10 +01:00
n1474335 2385f1cbf8 Updated dependencies 2019-03-30 14:56:43 +00:00
j433866 eb5809fd17 Fix tab info not being updated in refreshTabs() 2019-03-29 14:51:11 +00:00
j433866 f6ab82faaf Fix file preview not working 2019-03-29 13:42:07 +00:00
j433866 0d8584f499 Merge with ui-improvements 2019-03-29 13:35:30 +00:00
j433866 c289e1beef Rewrite InputWaiter to be less messy.
Don't create a DOM element for every tab, just reuse the same ones.
Display file information while the files are loading.
(Output tabs no longer work)
2019-03-29 13:29:24 +00:00
n1474335 bce0895392 Updated helper capabilities 2019-03-27 23:02:10 +00:00
j433866 a2cc7a84db Sync output tabs to input tabs.
Output tabs are created when input tabs are.
Fix initial bake not working
2019-03-27 13:48:54 +00:00
j433866 90dd2b5ac2 Add css for output tabs 2019-03-27 09:39:38 +00:00
j433866 3597aacce9 Add wrapper to output 2019-03-27 09:38:13 +00:00
j433866 61bc5436a2 Fix number of running workers not being correct.
(This needs some work!)
2019-03-27 09:26:01 +00:00
j433866 37428fbe3b Bake all inputs, not just the active tab.
Limits number of workers to number of cpu threads (4 if not supported)
Creates output tabs (switching doesn't work yet)
Disabled some highlighting for now.
2019-03-27 09:05:10 +00:00
n1474335 ef4b977bef Added a cyber helper 2019-03-22 17:10:00 +00:00
j433866 fbe1e2c2cc Show tab number on tab title.
Don't show lines value if tab contents is a file.
2019-03-22 15:55:35 +00:00
j433866 9b86ed7c45 Fix input highlighter size 2019-03-22 15:19:03 +00:00
j433866 c0c83c5cdc Stores inputs in memory instead of in textareas.
Allow selecting multiple files.
Allow drag and dropping multiple files.
Clear all IO button will close all tabs.
Will now spawn multiple loaderworkers simultaneously.
Improve tab logic to break less and work in Firefox.
2019-03-22 15:10:19 +00:00
j433866 37218c1e81 Add UI for input tabs.
Can add, remove and switch tabs
2019-03-21 12:31:01 +00:00