From 813c545e066049418b1093fea9a92f67d57fee4b Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 11 May 2022 18:48:55 -0400 Subject: [PATCH] misc --- Cargo.lock | 12 ++++++------ TODO.md | 18 ++++++++---------- src/misc.rs | 1 - 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ee5f700..79d3424 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -669,7 +669,7 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" [[package]] name = "eframe" version = "0.18.0" -source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936" +source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0" dependencies = [ "bytemuck", "egui", @@ -689,7 +689,7 @@ dependencies = [ [[package]] name = "egui" version = "0.18.1" -source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936" +source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0" dependencies = [ "ahash", "epaint", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "egui-winit" version = "0.18.0" -source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936" +source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0" dependencies = [ "arboard", "egui", @@ -713,7 +713,7 @@ dependencies = [ [[package]] name = "egui_glow" version = "0.18.1" -source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936" +source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0" dependencies = [ "bytemuck", "egui", @@ -733,7 +733,7 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" [[package]] name = "emath" version = "0.18.0" -source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936" +source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0" dependencies = [ "bytemuck", "serde", @@ -742,7 +742,7 @@ dependencies = [ [[package]] name = "epaint" version = "0.18.1" -source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936" +source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0" dependencies = [ "ab_glyph", "ahash", diff --git a/TODO.md b/TODO.md index ca48f8a..fb71278 100644 --- a/TODO.md +++ b/TODO.md @@ -13,13 +13,11 @@ 3. Allow constants in min/max integral input (like pi or euler's number) 4. Sliding values for functions (like a user-interactable slider that adjusts a variable in the function, like desmos) 5. Fix integral display -6. Better handling of panics and errors to display to the user -7. Turn Dynamic Iterator functions into traits -8. Better handling of roots and extrema finding -9. Add closing animation for function entry -10. Create actual icon(s) for PWA/favicon (using placeholder from eframe_template) -11. Fix mobile text input -12. Don't use json for text storage -13. Write custom plotter -14. Cache decompressed data in browser's [Local Storage](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Storage.html) -15. Add Url hashes loading and setting +6. Turn Dynamic Iterator functions into traits +7. Better handling of roots and extrema finding +8. Add closing animation for function entry +9. Create actual icon(s) for PWA/favicon (using placeholder from eframe_template) +10. Fix mobile text input +11. Write custom plotter +12. Add Url hashes loading and setting +13. Store settings in LocalStorage/Cookies diff --git a/src/misc.rs b/src/misc.rs index 6286716..41ca3b7 100644 --- a/src/misc.rs +++ b/src/misc.rs @@ -289,7 +289,6 @@ pub fn storage_create(commit: &[u8], data: &[u8]) -> String { assert_eq!(commit.len(), 8); let mut new_data = commit.to_vec(); - // new_data.push(20); // push 'space' let mut data = data.to_vec(); new_data.append(&mut data); base64::encode(new_data)