From 01a629d46bc91d8c15874f743ae67c0ddc2bcf06 Mon Sep 17 00:00:00 2001 From: creating2morrow Date: Sat, 3 Jun 2023 10:17:58 -0400 Subject: [PATCH] migrate nevmes -> neveko --- .github/workflows/release.yml | 4 +- .github/workflows/rust.yml | 2 +- Cargo.lock | 36 +++++------ Cargo.toml | 14 ++--- README.md | 35 ++++++----- docs/man.md | 10 +-- {nevmes-auth => neveko-auth}/.gitignore | 0 {nevmes-auth => neveko-auth}/.rustfmt.toml | 0 {nevmes-auth => neveko-auth}/Cargo.lock | 6 +- {nevmes-auth => neveko-auth}/Cargo.toml | 4 +- .../src/controller.rs | 2 +- {nevmes-auth => neveko-auth}/src/lib.rs | 0 {nevmes-auth => neveko-auth}/src/main.rs | 6 +- {nevmes-contact => neveko-contact}/.gitignore | 0 .../.rustfmt.toml | 0 {nevmes-contact => neveko-contact}/Cargo.lock | 6 +- {nevmes-contact => neveko-contact}/Cargo.toml | 4 +- .../src/controller.rs | 2 +- {nevmes-contact => neveko-contact}/src/lib.rs | 0 .../src/main.rs | 6 +- {nevmes-core => neveko-core}/.rustfmt.toml | 0 {nevmes-core => neveko-core}/Cargo.lock | 2 +- {nevmes-core => neveko-core}/Cargo.toml | 2 +- {nevmes-core => neveko-core}/src/args.rs | 0 {nevmes-core => neveko-core}/src/auth.rs | 0 {nevmes-core => neveko-core}/src/contact.rs | 8 +-- {nevmes-core => neveko-core}/src/db.rs | 6 +- {nevmes-core => neveko-core}/src/gpg.rs | 6 +- {nevmes-core => neveko-core}/src/i2p.rs | 2 +- {nevmes-core => neveko-core}/src/lib.rs | 4 +- {nevmes-core => neveko-core}/src/message.rs | 2 +- {nevmes-core => neveko-core}/src/models.rs | 0 {nevmes-core => neveko-core}/src/monero.rs | 4 +- {nevmes-core => neveko-core}/src/proof.rs | 2 +- {nevmes-core => neveko-core}/src/reqres.rs | 0 {nevmes-core => neveko-core}/src/user.rs | 0 {nevmes-core => neveko-core}/src/utils.rs | 58 +++++++++--------- {nevmes-gui => neveko-gui}/.gitignore | 2 +- {nevmes-gui => neveko-gui}/.rustfmt.toml | 0 {nevmes-gui => neveko-gui}/Cargo.lock | 6 +- {nevmes-gui => neveko-gui}/Cargo.toml | 6 +- {nevmes-gui => neveko-gui}/LICENSE-APACHE | 0 {nevmes-gui => neveko-gui}/LICENSE-MIT | 0 neveko-gui/README.md | 7 +++ {nevmes-gui => neveko-gui}/assets/i2p.png | Bin {nevmes-gui => neveko-gui}/assets/qr.png | Bin {nevmes-gui => neveko-gui}/assets/xmr.png | Bin .../crates/ecolor/CHANGELOG.md | 0 .../crates/ecolor/Cargo.toml | 0 .../crates/ecolor/README.md | 0 .../crates/ecolor/src/cint_impl.rs | 0 .../crates/ecolor/src/color32.rs | 0 .../crates/ecolor/src/hex_color_macro.rs | 0 .../crates/ecolor/src/hsva.rs | 0 .../crates/ecolor/src/hsva_gamma.rs | 0 .../crates/ecolor/src/lib.rs | 0 .../crates/ecolor/src/rgba.rs | 0 .../crates/eframe/CHANGELOG.md | 0 .../crates/eframe/Cargo.toml | 0 .../crates/eframe/README.md | 0 .../crates/eframe/src/epi.rs | 0 .../crates/eframe/src/lib.rs | 0 .../eframe/src/native/epi_integration.rs | 0 .../crates/eframe/src/native/file_storage.rs | 0 .../crates/eframe/src/native/mod.rs | 0 .../crates/eframe/src/native/run.rs | 0 .../crates/eframe/src/web/backend.rs | 0 .../crates/eframe/src/web/events.rs | 0 .../crates/eframe/src/web/input.rs | 0 .../crates/eframe/src/web/mod.rs | 0 .../crates/eframe/src/web/screen_reader.rs | 0 .../crates/eframe/src/web/storage.rs | 0 .../crates/eframe/src/web/text_agent.rs | 0 .../crates/eframe/src/web/web_painter.rs | 0 .../crates/eframe/src/web/web_painter_glow.rs | 0 .../crates/eframe/src/web/web_painter_wgpu.rs | 0 .../crates/egui-wgpu/CHANGELOG.md | 0 .../crates/egui-wgpu/Cargo.toml | 0 .../crates/egui-wgpu/README.md | 0 .../crates/egui-wgpu/src/egui.wgsl | 0 .../crates/egui-wgpu/src/lib.rs | 0 .../crates/egui-wgpu/src/renderer.rs | 0 .../crates/egui-wgpu/src/winit.rs | 0 .../crates/egui-winit/CHANGELOG.md | 0 .../crates/egui-winit/Cargo.toml | 0 .../crates/egui-winit/README.md | 0 .../crates/egui-winit/src/clipboard.rs | 0 .../crates/egui-winit/src/lib.rs | 0 .../crates/egui-winit/src/window_settings.rs | 0 .../crates/egui/Cargo.toml | 0 .../crates/egui/README.md | 0 .../crates/egui/examples/README.md | 2 +- .../crates/egui/src/animation_manager.rs | 0 .../crates/egui/src/containers/area.rs | 0 .../egui/src/containers/collapsing_header.rs | 0 .../crates/egui/src/containers/combo_box.rs | 0 .../crates/egui/src/containers/frame.rs | 0 .../crates/egui/src/containers/mod.rs | 0 .../crates/egui/src/containers/panel.rs | 0 .../crates/egui/src/containers/popup.rs | 0 .../crates/egui/src/containers/resize.rs | 0 .../crates/egui/src/containers/scroll_area.rs | 0 .../crates/egui/src/containers/window.rs | 0 .../crates/egui/src/context.rs | 0 .../crates/egui/src/data/input.rs | 0 .../crates/egui/src/data/mod.rs | 0 .../crates/egui/src/data/output.rs | 0 .../crates/egui/src/frame_state.rs | 0 .../crates/egui/src/grid.rs | 0 .../crates/egui/src/gui_zoom.rs | 0 .../crates/egui/src/id.rs | 0 .../crates/egui/src/input_state.rs | 0 .../egui/src/input_state/touch_state.rs | 0 .../crates/egui/src/introspection.rs | 0 .../crates/egui/src/layers.rs | 0 .../crates/egui/src/layout.rs | 0 .../crates/egui/src/lib.rs | 4 +- .../crates/egui/src/memory.rs | 0 .../crates/egui/src/menu.rs | 0 .../crates/egui/src/os.rs | 0 .../crates/egui/src/painter.rs | 0 .../crates/egui/src/placer.rs | 0 .../crates/egui/src/response.rs | 0 .../crates/egui/src/sense.rs | 0 .../crates/egui/src/style.rs | 0 .../crates/egui/src/ui.rs | 0 .../crates/egui/src/util/cache.rs | 0 .../crates/egui/src/util/fixed_cache.rs | 0 .../crates/egui/src/util/id_type_map.rs | 0 .../crates/egui/src/util/mod.rs | 0 .../crates/egui/src/util/undoer.rs | 0 .../crates/egui/src/widget_text.rs | 0 .../crates/egui/src/widgets/button.rs | 0 .../crates/egui/src/widgets/color_picker.rs | 0 .../crates/egui/src/widgets/drag_value.rs | 0 .../crates/egui/src/widgets/hyperlink.rs | 0 .../crates/egui/src/widgets/image.rs | 0 .../crates/egui/src/widgets/label.rs | 0 .../crates/egui/src/widgets/mod.rs | 0 .../crates/egui/src/widgets/plot/items/bar.rs | 0 .../egui/src/widgets/plot/items/box_elem.rs | 0 .../crates/egui/src/widgets/plot/items/mod.rs | 0 .../egui/src/widgets/plot/items/rect_elem.rs | 0 .../egui/src/widgets/plot/items/values.rs | 0 .../crates/egui/src/widgets/plot/legend.rs | 0 .../crates/egui/src/widgets/plot/mod.rs | 0 .../crates/egui/src/widgets/plot/transform.rs | 0 .../crates/egui/src/widgets/progress_bar.rs | 0 .../crates/egui/src/widgets/selected_label.rs | 0 .../crates/egui/src/widgets/separator.rs | 0 .../crates/egui/src/widgets/slider.rs | 0 .../crates/egui/src/widgets/spinner.rs | 0 .../egui/src/widgets/text_edit/builder.rs | 0 .../src/widgets/text_edit/cursor_range.rs | 0 .../crates/egui/src/widgets/text_edit/mod.rs | 0 .../egui/src/widgets/text_edit/output.rs | 0 .../egui/src/widgets/text_edit/state.rs | 0 .../egui/src/widgets/text_edit/text_buffer.rs | 0 .../crates/egui_extras/CHANGELOG.md | 0 .../crates/egui_extras/Cargo.toml | 0 .../crates/egui_extras/README.md | 0 .../egui_extras/src/datepicker/button.rs | 0 .../crates/egui_extras/src/datepicker/mod.rs | 0 .../egui_extras/src/datepicker/popup.rs | 0 .../crates/egui_extras/src/image.rs | 0 .../crates/egui_extras/src/layout.rs | 0 .../crates/egui_extras/src/lib.rs | 0 .../crates/egui_extras/src/sizing.rs | 0 .../crates/egui_extras/src/strip.rs | 0 .../crates/egui_extras/src/table.rs | 0 .../crates/egui_glium/CHANGELOG.md | 0 .../crates/egui_glium/Cargo.toml | 2 +- .../crates/egui_glium/README.md | 0 .../egui_glium/examples/native_texture.rs | 0 .../crates/egui_glium/examples/pure_glium.rs | 2 +- .../crates/egui_glium/src/lib.rs | 0 .../crates/egui_glium/src/painter.rs | 0 .../egui_glium/src/shader/fragment_100es.glsl | 0 .../egui_glium/src/shader/fragment_120.glsl | 0 .../egui_glium/src/shader/fragment_140.glsl | 0 .../egui_glium/src/shader/fragment_300es.glsl | 0 .../egui_glium/src/shader/vertex_100es.glsl | 0 .../egui_glium/src/shader/vertex_120.glsl | 0 .../egui_glium/src/shader/vertex_140.glsl | 0 .../egui_glium/src/shader/vertex_300es.glsl | 0 .../crates/egui_glow/CHANGELOG.md | 0 .../crates/egui_glow/Cargo.toml | 0 .../crates/egui_glow/README.md | 0 .../crates/egui_glow/examples/pure_glow.rs | 0 .../crates/egui_glow/src/lib.rs | 0 .../crates/egui_glow/src/misc_util.rs | 0 .../crates/egui_glow/src/painter.rs | 0 .../crates/egui_glow/src/shader/fragment.glsl | 0 .../crates/egui_glow/src/shader/vertex.glsl | 0 .../crates/egui_glow/src/shader_version.rs | 0 .../crates/egui_glow/src/vao.rs | 0 .../crates/egui_glow/src/winit.rs | 0 .../crates/egui_web/CHANGELOG.md | 0 neveko-gui/crates/egui_web/README.md | 1 + .../crates/emath/Cargo.toml | 0 .../crates/emath/README.md | 0 .../crates/emath/src/align.rs | 0 .../crates/emath/src/history.rs | 0 .../crates/emath/src/lib.rs | 0 .../crates/emath/src/numeric.rs | 0 .../crates/emath/src/pos2.rs | 0 .../crates/emath/src/rect.rs | 0 .../crates/emath/src/rect_transform.rs | 0 .../crates/emath/src/rot2.rs | 0 .../crates/emath/src/smart_aim.rs | 0 .../crates/emath/src/vec2.rs | 0 .../crates/epaint/CHANGELOG.md | 0 .../crates/epaint/Cargo.toml | 0 .../crates/epaint/README.md | 0 .../crates/epaint/benches/benchmark.rs | 0 .../crates/epaint/fonts/Hack-Regular.ttf | Bin .../crates/epaint/fonts/Hack-Regular.txt | 0 .../crates/epaint/fonts/NotoEmoji-Regular.ttf | Bin .../crates/epaint/fonts/OFL.txt | 0 .../crates/epaint/fonts/UFL.txt | 0 .../crates/epaint/fonts/Ubuntu-Light.ttf | Bin .../fonts/emoji-icon-font-mit-license.txt | 0 .../crates/epaint/fonts/emoji-icon-font.ttf | Bin .../crates/epaint/fonts/list_fonts.py | 0 .../crates/epaint/src/bezier.rs | 0 .../crates/epaint/src/image.rs | 0 .../crates/epaint/src/lib.rs | 0 .../crates/epaint/src/mesh.rs | 0 .../crates/epaint/src/mutex.rs | 0 .../crates/epaint/src/shadow.rs | 0 .../crates/epaint/src/shape.rs | 0 .../crates/epaint/src/shape_transform.rs | 0 .../crates/epaint/src/stats.rs | 0 .../crates/epaint/src/stroke.rs | 0 .../crates/epaint/src/tessellator.rs | 0 .../crates/epaint/src/text/cursor.rs | 0 .../crates/epaint/src/text/font.rs | 0 .../crates/epaint/src/text/fonts.rs | 0 .../crates/epaint/src/text/mod.rs | 0 .../crates/epaint/src/text/text_layout.rs | 0 .../epaint/src/text/text_layout_types.rs | 0 .../crates/epaint/src/texture_atlas.rs | 0 .../crates/epaint/src/texture_handle.rs | 0 .../crates/epaint/src/textures.rs | 0 .../crates/epaint/src/util/mod.rs | 0 .../crates/epaint/src/util/ordered_float.rs | 0 .../src/apps/address_book.rs | 8 +-- {nevmes-gui => neveko-gui}/src/apps/home.rs | 8 +-- .../src/apps/lock_screen.rs | 2 +- .../src/apps/mailbox.rs | 2 +- {nevmes-gui => neveko-gui}/src/apps/mod.rs | 0 .../src/apps/settings.rs | 2 +- {nevmes-gui => neveko-gui}/src/apps/wallet.rs | 4 +- {nevmes-gui => neveko-gui}/src/lib.rs | 4 +- {nevmes-gui => neveko-gui}/src/login.rs | 2 +- {nevmes-gui => neveko-gui}/src/main.rs | 6 +- {nevmes-gui => neveko-gui}/src/wrap_app.rs | 4 +- {nevmes-market => neveko-market}/.gitignore | 0 {nevmes-market => neveko-market}/Cargo.lock | 6 +- {nevmes-market => neveko-market}/Cargo.toml | 4 +- {nevmes-market => neveko-market}/LICENSE | 0 {nevmes-market => neveko-market}/README.md | 2 +- {nevmes-market => neveko-market}/curl.md | 0 .../src/controller.rs | 2 +- .../src/dispute.rs | 2 +- {nevmes-market => neveko-market}/src/lib.rs | 0 {nevmes-market => neveko-market}/src/main.rs | 6 +- {nevmes-market => neveko-market}/src/order.rs | 2 +- .../src/product.rs | 2 +- .../.rustfmt.toml | 0 {nevmes-message => neveko-message}/Cargo.lock | 6 +- {nevmes-message => neveko-message}/Cargo.toml | 4 +- .../src/controller.rs | 2 +- {nevmes-message => neveko-message}/src/lib.rs | 0 .../src/main.rs | 6 +- nevmes-gui/README.md | 7 --- nevmes-gui/crates/egui_web/README.md | 1 - scripts/build_all_and_run.sh | 12 ++-- scripts/build_release.sh | 18 +++--- scripts/cleanall.sh | 14 ++--- scripts/fmtall.sh | 14 ++--- src/controller.rs | 6 +- src/main.rs | 4 +- 283 files changed, 214 insertions(+), 213 deletions(-) rename {nevmes-auth => neveko-auth}/.gitignore (100%) rename {nevmes-auth => neveko-auth}/.rustfmt.toml (100%) rename {nevmes-auth => neveko-auth}/Cargo.lock (99%) rename {nevmes-auth => neveko-auth}/Cargo.toml (80%) rename {nevmes-auth => neveko-auth}/src/controller.rs (96%) rename {nevmes-auth => neveko-auth}/src/lib.rs (100%) rename {nevmes-auth => neveko-auth}/src/main.rs (81%) rename {nevmes-contact => neveko-contact}/.gitignore (100%) rename {nevmes-contact => neveko-contact}/.rustfmt.toml (100%) rename {nevmes-contact => neveko-contact}/Cargo.lock (99%) rename {nevmes-contact => neveko-contact}/Cargo.toml (79%) rename {nevmes-contact => neveko-contact}/src/controller.rs (98%) rename {nevmes-contact => neveko-contact}/src/lib.rs (100%) rename {nevmes-contact => neveko-contact}/src/main.rs (86%) rename {nevmes-core => neveko-core}/.rustfmt.toml (100%) rename {nevmes-core => neveko-core}/Cargo.lock (99%) rename {nevmes-core => neveko-core}/Cargo.toml (96%) rename {nevmes-core => neveko-core}/src/args.rs (100%) rename {nevmes-core => neveko-core}/src/auth.rs (100%) rename {nevmes-core => neveko-core}/src/contact.rs (97%) rename {nevmes-core => neveko-core}/src/db.rs (96%) rename {nevmes-core => neveko-core}/src/gpg.rs (97%) rename {nevmes-core => neveko-core}/src/i2p.rs (99%) rename {nevmes-core => neveko-core}/src/lib.rs (90%) rename {nevmes-core => neveko-core}/src/message.rs (99%) rename {nevmes-core => neveko-core}/src/models.rs (100%) rename {nevmes-core => neveko-core}/src/monero.rs (99%) rename {nevmes-core => neveko-core}/src/proof.rs (99%) rename {nevmes-core => neveko-core}/src/reqres.rs (100%) rename {nevmes-core => neveko-core}/src/user.rs (100%) rename {nevmes-core => neveko-core}/src/utils.rs (93%) rename {nevmes-gui => neveko-gui}/.gitignore (82%) rename {nevmes-gui => neveko-gui}/.rustfmt.toml (100%) rename {nevmes-gui => neveko-gui}/Cargo.lock (99%) rename {nevmes-gui => neveko-gui}/Cargo.toml (94%) rename {nevmes-gui => neveko-gui}/LICENSE-APACHE (100%) rename {nevmes-gui => neveko-gui}/LICENSE-MIT (100%) create mode 100644 neveko-gui/README.md rename {nevmes-gui => neveko-gui}/assets/i2p.png (100%) rename {nevmes-gui => neveko-gui}/assets/qr.png (100%) rename {nevmes-gui => neveko-gui}/assets/xmr.png (100%) rename {nevmes-gui => neveko-gui}/crates/ecolor/CHANGELOG.md (100%) rename {nevmes-gui => neveko-gui}/crates/ecolor/Cargo.toml (100%) rename {nevmes-gui => neveko-gui}/crates/ecolor/README.md (100%) rename {nevmes-gui => neveko-gui}/crates/ecolor/src/cint_impl.rs (100%) rename {nevmes-gui => neveko-gui}/crates/ecolor/src/color32.rs (100%) rename {nevmes-gui => neveko-gui}/crates/ecolor/src/hex_color_macro.rs (100%) rename {nevmes-gui => neveko-gui}/crates/ecolor/src/hsva.rs (100%) rename {nevmes-gui => neveko-gui}/crates/ecolor/src/hsva_gamma.rs (100%) rename {nevmes-gui => neveko-gui}/crates/ecolor/src/lib.rs (100%) rename {nevmes-gui => neveko-gui}/crates/ecolor/src/rgba.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/CHANGELOG.md (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/Cargo.toml (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/README.md (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/epi.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/lib.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/native/epi_integration.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/native/file_storage.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/native/mod.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/native/run.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/web/backend.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/web/events.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/web/input.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/web/mod.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/web/screen_reader.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/web/storage.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/web/text_agent.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/web/web_painter.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/web/web_painter_glow.rs (100%) rename {nevmes-gui => neveko-gui}/crates/eframe/src/web/web_painter_wgpu.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui-wgpu/CHANGELOG.md (100%) rename {nevmes-gui => neveko-gui}/crates/egui-wgpu/Cargo.toml (100%) rename {nevmes-gui => neveko-gui}/crates/egui-wgpu/README.md (100%) rename {nevmes-gui => neveko-gui}/crates/egui-wgpu/src/egui.wgsl (100%) rename {nevmes-gui => neveko-gui}/crates/egui-wgpu/src/lib.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui-wgpu/src/renderer.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui-wgpu/src/winit.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui-winit/CHANGELOG.md (100%) rename {nevmes-gui => neveko-gui}/crates/egui-winit/Cargo.toml (100%) rename {nevmes-gui => neveko-gui}/crates/egui-winit/README.md (100%) rename {nevmes-gui => neveko-gui}/crates/egui-winit/src/clipboard.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui-winit/src/lib.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui-winit/src/window_settings.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/Cargo.toml (100%) rename {nevmes-gui => neveko-gui}/crates/egui/README.md (100%) rename {nevmes-gui => neveko-gui}/crates/egui/examples/README.md (87%) rename {nevmes-gui => neveko-gui}/crates/egui/src/animation_manager.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/containers/area.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/containers/collapsing_header.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/containers/combo_box.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/containers/frame.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/containers/mod.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/containers/panel.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/containers/popup.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/containers/resize.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/containers/scroll_area.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/containers/window.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/context.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/data/input.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/data/mod.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/data/output.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/frame_state.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/grid.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/gui_zoom.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/id.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/input_state.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/input_state/touch_state.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/introspection.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/layers.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/layout.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/lib.rs (99%) rename {nevmes-gui => neveko-gui}/crates/egui/src/memory.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/menu.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/os.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/painter.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/placer.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/response.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/sense.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/style.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/ui.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/util/cache.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/util/fixed_cache.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/util/id_type_map.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/util/mod.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/util/undoer.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widget_text.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/button.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/color_picker.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/drag_value.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/hyperlink.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/image.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/label.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/mod.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/plot/items/bar.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/plot/items/box_elem.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/plot/items/mod.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/plot/items/rect_elem.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/plot/items/values.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/plot/legend.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/plot/mod.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/plot/transform.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/progress_bar.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/selected_label.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/separator.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/slider.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/spinner.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/text_edit/builder.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/text_edit/cursor_range.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/text_edit/mod.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/text_edit/output.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/text_edit/state.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui/src/widgets/text_edit/text_buffer.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_extras/CHANGELOG.md (100%) rename {nevmes-gui => neveko-gui}/crates/egui_extras/Cargo.toml (100%) rename {nevmes-gui => neveko-gui}/crates/egui_extras/README.md (100%) rename {nevmes-gui => neveko-gui}/crates/egui_extras/src/datepicker/button.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_extras/src/datepicker/mod.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_extras/src/datepicker/popup.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_extras/src/image.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_extras/src/layout.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_extras/src/lib.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_extras/src/sizing.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_extras/src/strip.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_extras/src/table.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/CHANGELOG.md (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/Cargo.toml (96%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/README.md (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/examples/native_texture.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/examples/pure_glium.rs (98%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/src/lib.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/src/painter.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/src/shader/fragment_100es.glsl (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/src/shader/fragment_120.glsl (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/src/shader/fragment_140.glsl (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/src/shader/fragment_300es.glsl (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/src/shader/vertex_100es.glsl (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/src/shader/vertex_120.glsl (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/src/shader/vertex_140.glsl (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glium/src/shader/vertex_300es.glsl (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glow/CHANGELOG.md (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glow/Cargo.toml (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glow/README.md (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glow/examples/pure_glow.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glow/src/lib.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glow/src/misc_util.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glow/src/painter.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glow/src/shader/fragment.glsl (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glow/src/shader/vertex.glsl (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glow/src/shader_version.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glow/src/vao.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_glow/src/winit.rs (100%) rename {nevmes-gui => neveko-gui}/crates/egui_web/CHANGELOG.md (100%) create mode 100644 neveko-gui/crates/egui_web/README.md rename {nevmes-gui => neveko-gui}/crates/emath/Cargo.toml (100%) rename {nevmes-gui => neveko-gui}/crates/emath/README.md (100%) rename {nevmes-gui => neveko-gui}/crates/emath/src/align.rs (100%) rename {nevmes-gui => neveko-gui}/crates/emath/src/history.rs (100%) rename {nevmes-gui => neveko-gui}/crates/emath/src/lib.rs (100%) rename {nevmes-gui => neveko-gui}/crates/emath/src/numeric.rs (100%) rename {nevmes-gui => neveko-gui}/crates/emath/src/pos2.rs (100%) rename {nevmes-gui => neveko-gui}/crates/emath/src/rect.rs (100%) rename {nevmes-gui => neveko-gui}/crates/emath/src/rect_transform.rs (100%) rename {nevmes-gui => neveko-gui}/crates/emath/src/rot2.rs (100%) rename {nevmes-gui => neveko-gui}/crates/emath/src/smart_aim.rs (100%) rename {nevmes-gui => neveko-gui}/crates/emath/src/vec2.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/CHANGELOG.md (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/Cargo.toml (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/README.md (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/benches/benchmark.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/fonts/Hack-Regular.ttf (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/fonts/Hack-Regular.txt (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/fonts/NotoEmoji-Regular.ttf (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/fonts/OFL.txt (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/fonts/UFL.txt (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/fonts/Ubuntu-Light.ttf (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/fonts/emoji-icon-font-mit-license.txt (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/fonts/emoji-icon-font.ttf (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/fonts/list_fonts.py (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/bezier.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/image.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/lib.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/mesh.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/mutex.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/shadow.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/shape.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/shape_transform.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/stats.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/stroke.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/tessellator.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/text/cursor.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/text/font.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/text/fonts.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/text/mod.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/text/text_layout.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/text/text_layout_types.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/texture_atlas.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/texture_handle.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/textures.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/util/mod.rs (100%) rename {nevmes-gui => neveko-gui}/crates/epaint/src/util/ordered_float.rs (100%) rename {nevmes-gui => neveko-gui}/src/apps/address_book.rs (99%) rename {nevmes-gui => neveko-gui}/src/apps/home.rs (99%) rename {nevmes-gui => neveko-gui}/src/apps/lock_screen.rs (99%) rename {nevmes-gui => neveko-gui}/src/apps/mailbox.rs (99%) rename {nevmes-gui => neveko-gui}/src/apps/mod.rs (100%) rename {nevmes-gui => neveko-gui}/src/apps/settings.rs (98%) rename {nevmes-gui => neveko-gui}/src/apps/wallet.rs (98%) rename {nevmes-gui => neveko-gui}/src/lib.rs (87%) rename {nevmes-gui => neveko-gui}/src/login.rs (98%) rename {nevmes-gui => neveko-gui}/src/main.rs (93%) rename {nevmes-gui => neveko-gui}/src/wrap_app.rs (99%) rename {nevmes-market => neveko-market}/.gitignore (100%) rename {nevmes-market => neveko-market}/Cargo.lock (99%) rename {nevmes-market => neveko-market}/Cargo.toml (74%) rename {nevmes-market => neveko-market}/LICENSE (100%) rename {nevmes-market => neveko-market}/README.md (99%) rename {nevmes-market => neveko-market}/curl.md (100%) rename {nevmes-market => neveko-market}/src/controller.rs (99%) rename {nevmes-market => neveko-market}/src/dispute.rs (98%) rename {nevmes-market => neveko-market}/src/lib.rs (100%) rename {nevmes-market => neveko-market}/src/main.rs (90%) rename {nevmes-market => neveko-market}/src/order.rs (99%) rename {nevmes-market => neveko-market}/src/product.rs (99%) rename {nevmes-message => neveko-message}/.rustfmt.toml (100%) rename {nevmes-message => neveko-message}/Cargo.lock (99%) rename {nevmes-message => neveko-message}/Cargo.toml (79%) rename {nevmes-message => neveko-message}/src/controller.rs (98%) rename {nevmes-message => neveko-message}/src/lib.rs (100%) rename {nevmes-message => neveko-message}/src/main.rs (85%) delete mode 100644 nevmes-gui/README.md delete mode 100644 nevmes-gui/crates/egui_web/README.md diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52f6b0e..6aa5b71 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,5 +23,5 @@ jobs: - run: ./scripts/build_release.sh ${{ steps.extract_branch.outputs.branch }} - uses: actions/upload-artifact@v3 with: - name: nevmes-x86_64-linux-gnu-${{ steps.extract_branch.outputs.branch }} - path: nevmes-x86_64-linux-gnu-${{ steps.extract_branch.outputs.branch }}.tar.bz2 + name: neveko-x86_64-linux-gnu-${{ steps.extract_branch.outputs.branch }} + path: neveko-x86_64-linux-gnu-${{ steps.extract_branch.outputs.branch }}.tar.bz2 diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2f6a2dd..b11d209 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -25,4 +25,4 @@ jobs: - name: Build run: cargo build --verbose - name: Run tests - run: cd nevmes-core && RUST_TEST_THREADS=1 cargo test --verbose + run: cd neveko-core && RUST_TEST_THREADS=1 cargo test --verbose diff --git a/Cargo.lock b/Cargo.lock index 92573c4..5b96dfe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1926,41 +1926,41 @@ dependencies = [ ] [[package]] -name = "nevmes" +name = "neveko" version = "0.5.0-alpha" dependencies = [ "env_logger", - "nevmes_auth", - "nevmes_contact", - "nevmes_core", - "nevmes_gui", - "nevmes_market", - "nevmes_message", + "neveko_auth", + "neveko_contact", + "neveko_core", + "neveko_gui", + "neveko_market", + "neveko_message", "rocket", ] [[package]] -name = "nevmes_auth" +name = "neveko_auth" version = "0.5.0-alpha" dependencies = [ "env_logger", "log 0.4.17", - "nevmes_core", + "neveko_core", "rocket", ] [[package]] -name = "nevmes_contact" +name = "neveko_contact" version = "0.5.0-alpha" dependencies = [ "env_logger", "log 0.4.17", - "nevmes_core", + "neveko_core", "rocket", ] [[package]] -name = "nevmes_core" +name = "neveko_core" version = "0.5.0-alpha" dependencies = [ "chrono", @@ -1985,7 +1985,7 @@ dependencies = [ ] [[package]] -name = "nevmes_gui" +name = "neveko_gui" version = "0.5.0-alpha" dependencies = [ "chrono", @@ -1996,7 +1996,7 @@ dependencies = [ "hex", "image", "log 0.4.17", - "nevmes_core", + "neveko_core", "qrcode", "reqwest", "serde", @@ -2009,23 +2009,23 @@ dependencies = [ ] [[package]] -name = "nevmes_market" +name = "neveko_market" version = "0.5.0-alpha" dependencies = [ "chrono", "env_logger", "log 0.4.17", - "nevmes_core", + "neveko_core", "rocket", ] [[package]] -name = "nevmes_message" +name = "neveko_message" version = "0.5.0-alpha" dependencies = [ "env_logger", "log 0.4.17", - "nevmes_core", + "neveko_core", "rocket", ] diff --git a/Cargo.toml b/Cargo.toml index 8668b1b..cf1f193 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "nevmes" +name = "neveko" version = "0.5.0-alpha" edition = "2021" @@ -7,10 +7,10 @@ edition = "2021" [dependencies] env_logger = "0.10.0" -nevmes_auth = { path = "./nevmes-auth" } -nevmes_contact = { path = "./nevmes-contact" } -nevmes_core = { path = "./nevmes-core" } -nevmes_gui = { path = "./nevmes-gui" } -nevmes_market = { path = "./nevmes-market" } -nevmes_message = { path = "./nevmes-message" } +neveko_auth = { path = "./neveko-auth" } +neveko_contact = { path = "./neveko-contact" } +neveko_core = { path = "./neveko-core" } +neveko_gui = { path = "./neveko-gui" } +neveko_market = { path = "./neveko-market" } +neveko_message = { path = "./neveko-message" } rocket = { version = "0.5.0-rc.2", features = ["json"] } diff --git a/README.md b/README.md index d5dc203..3fba5c1 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,19 @@ -# NEVMES +# NEVEKO -NEVidebla-MESago (invisible message) +NEVidebla-EKOnomia (invisible economy) -[![cargo-build](https://github.com/creating2morrow/nevmes/actions/workflows/rust.yml/badge.svg?branch=main)](https://github.com/creating2morrow/nevmes/actions/workflows/rust.yml) -[![cargo-audit](https://github.com/creating2morrow/nevmes/actions/workflows/audit.yml/badge.svg?branch=main)](https://github.com/creating2morrow/nevmes/actions/workflows/audit.yml) +[![cargo-build](https://github.com/creating2morrow/neveko/actions/workflows/rust.yml/badge.svg?branch=main)](https://github.com/creating2morrow/neveko/actions/workflows/rust.yml) +[![cargo-audit](https://github.com/creating2morrow/neveko/actions/workflows/audit.yml/badge.svg?branch=main)](https://github.com/creating2morrow/neveko/actions/workflows/audit.yml) -### gpg and i2p made simple for end-to-end encrypted, secure comms +### gpg and i2p made simple for end-to-end encrypted, secure marketplace, messaging and more ## About * send messages over the invisible internet * vanity base32 addresses (advanced) * automated mandatory gpg key encryption -* xmr payment integration +* self-hosted i2p marketplace +* xmr multisig / payment integration ## Dev @@ -20,14 +21,14 @@ NEVidebla-MESago (invisible message) * install dependencies * ubuntu example: `sudo apt update -y && sudo apt upgrade -y` * `sudo apt install -y libssl-dev build-essential libgpgme-dev` -* `git clone https://github.com/creating2morrow/nevmes` -* `cd nevmes && ./scripts/build_all_and_run.sh "-- -h"` +* `git clone https://github.com/creating2morrow/neveko` +* `cd neveko && ./scripts/build_all_and_run.sh "-- -h"` * gui built with rust [egui](https://docs.rs/egui/latest/egui/) ## Installation Mananger * additional required software can be downloaded from the gui home or `Binaries` links below -* hashes are in core [lib.rs](./nevmes-core/src/lib.rs) +* hashes are in core [lib.rs](./neveko-core/src/lib.rs) * download i2p-zero, put the path in the connection manager or cli `--i2p-zero-dir` flag * download monero, update connection manager or cli * `--monero-blockchain-dir`, where to put lmdb for monero (e.g. path/to/ssd) @@ -72,19 +73,19 @@ NEVidebla-MESago (invisible message) ## Binaries -* nevmes-auth - `internal` auth server -* nevmes-contact - `internal` add contacts server -* nevmes-gui - primary user interface -* nevmes-market - `internal` marketplace admin server -* nevmes-message - `internal` message tx/read etc. server -* nevmes - `external` primary server for contact share, payment, market, message rx etc. +* neveko-auth - `internal` auth server +* neveko-contact - `internal` add contacts server +* neveko-gui - primary user interface +* neveko-market - `internal` marketplace admin server +* neveko-message - `internal` message tx/read etc. server +* neveko - `external` primary server for contact share, payment, market, message rx etc. * [monerod](https://www.getmonero.org/downloads/#cli) - (not included) monero-wallet-rpc needs this * can be overriden with remote node * use the `--remote-node` flag * [monero-wallet-rpc](https://www.getmonero.org/downloads/#cli) - (not included) interface for xmr wallet ops -* [i2p-zero](https://github.com/creating2morrow/i2p-zero/releases/tag/v1.21-nevmes) - (not included) tunnel creation and http proxy +* [i2p-zero](https://github.com/creating2morrow/i2p-zero/releases/tag/v1.21-neveko) - (not included) tunnel creation and http proxy -most of the complex logic stays in nevmes-core, exported from [lib.rs](./nevmes-core/src/lib.rs) +most of the complex logic stays in neveko-core, exported from [lib.rs](./neveko-core/src/lib.rs) ## Manual diff --git a/docs/man.md b/docs/man.md index a8eab8c..52808d1 100644 --- a/docs/man.md +++ b/docs/man.md @@ -10,10 +10,10 @@ ### JWP (JSON Web Proof) -* utilizes some external blockchain (nevmes uses monero) for authorization of auth tokens +* utilizes some external blockchain (neveko uses monero) for authorization of auth tokens * 32 byte random signing keys generated on app start-up * `Hmac` internal, `Hmac` external (jwp) -* see [proof.rs](../nevmes-core/src/proof.rs) +* see [proof.rs](../neveko-core/src/proof.rs) `eyJhbGciOiJIUzUxMiJ9.eyJhZGRyZXNzIjoiNThvaUJMQUtBQ3JaeTRqVnRYdUFXMzlCOW1zR3dlbVVkSm9HVlozcGdSY1RoWHZqWjZ0RERqRGpuOE1mTUZ5cEtZMlU1U1B6SkE3NnFHeHhDdjJzd1Y0NjhFYkI2dEsiLCJoYXNoIjoiNzRhOTM5NTU1Y2EyMWJmY2MxYzlhMjhlYjFkN2M5MWZiMjRhYzRiOTY4MDk2Yzg4ODU1ODA3ODcwMDA1NmQ2NiIsIm1lc3NhZ2UiOiIiLCJzaWduYXR1cmUiOiJPdXRQcm9vZlYyWHdYTEJYV0VtbXlWd3YyOHFQRWQ0Mk14bm1FNTU3aUFEVHFGNjZDWG9LQ1ZFeFBqTVU4NFNIeWprZmdLd01WZEI4OUZkTkJ5QUxyeU1ZamVxQlY1U0VtU0V4MUJWWE1ITVJNWHVuMzh5aWVtcWhCcmVSWUdpRGdMN1lmRmVmemJSTnhlIn0.gH4RlLrxu3xqxNvsHv7lX1yYomg07yTlv6VEKpDfXwbDV4O267CXzm30G4YBQOfuDf3xpegUmeVXOScPvIZVRw` * contents be decoded by 3rd parties but only the owner of the signing key can finalize the validation * should be kept secret @@ -24,7 +24,7 @@ * go to `AddressBook` in the gui * enter .b32.i2p address of contact and click add -* if all goes well you will have imported their public nevmes gpg app key +* if all goes well you will have imported their public neveko gpg app key * dont reuse the app gpg keys anywhere else! * don't forget to trust the contact with `sign key` in the `check status` window @@ -32,7 +32,7 @@ * getting started the app will automatically generate an account and associated monero PRIMARY address. Only use it here to maintain privacy * deposit some stagenet monero in your xmr account (address at top of gui screen) -* once unlocked nevmes xmr balance will display +* once unlocked neveko xmr balance will display * click `check status` and `Create JWP` * when authorizing to send to contact an invoice will be generated * authorize payment and tx proof generation in the prompt @@ -46,7 +46,7 @@ * the `check status` button will show current jwp for each contact * `clear stale jwp` will purge data in case of timeout issues -* don't keep large amounts in nevmes just enough for fees and jwps +* don't keep large amounts in neveko just enough for fees and jwps * once a valid jwp is created (takes a few minutes) the `compose` button will be visible * you need to click `check status` on contacts before sending to refresh jwp expiration check * draft a plain text message, dont be shy diff --git a/nevmes-auth/.gitignore b/neveko-auth/.gitignore similarity index 100% rename from nevmes-auth/.gitignore rename to neveko-auth/.gitignore diff --git a/nevmes-auth/.rustfmt.toml b/neveko-auth/.rustfmt.toml similarity index 100% rename from nevmes-auth/.rustfmt.toml rename to neveko-auth/.rustfmt.toml diff --git a/nevmes-auth/Cargo.lock b/neveko-auth/Cargo.lock similarity index 99% rename from nevmes-auth/Cargo.lock rename to neveko-auth/Cargo.lock index 5fc0afe..7fa1cf8 100644 --- a/nevmes-auth/Cargo.lock +++ b/neveko-auth/Cargo.lock @@ -1188,17 +1188,17 @@ dependencies = [ ] [[package]] -name = "nevmes_auth" +name = "neveko_auth" version = "0.5.0-alpha" dependencies = [ "env_logger", "log 0.4.17", - "nevmes_core", + "neveko_core", "rocket", ] [[package]] -name = "nevmes_core" +name = "neveko_core" version = "0.5.0-alpha" dependencies = [ "chrono", diff --git a/nevmes-auth/Cargo.toml b/neveko-auth/Cargo.toml similarity index 80% rename from nevmes-auth/Cargo.toml rename to neveko-auth/Cargo.toml index 7c737f2..e84891e 100644 --- a/nevmes-auth/Cargo.toml +++ b/neveko-auth/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "nevmes_auth" +name = "neveko_auth" version = "0.5.0-alpha" edition = "2021" @@ -7,6 +7,6 @@ edition = "2021" [dependencies] env_logger = "0.10.0" -nevmes_core = { path = "../nevmes-core" } +neveko_core = { path = "../neveko-core" } log = "0.4" rocket = { version = "0.5.0-rc.2", features = ["json"] } diff --git a/nevmes-auth/src/controller.rs b/neveko-auth/src/controller.rs similarity index 96% rename from nevmes-auth/src/controller.rs rename to neveko-auth/src/controller.rs index 145016e..f52e013 100644 --- a/nevmes-auth/src/controller.rs +++ b/neveko-auth/src/controller.rs @@ -5,7 +5,7 @@ use rocket::{ serde::json::Json, }; -use nevmes_core::{ +use neveko_core::{ auth, models::*, }; diff --git a/nevmes-auth/src/lib.rs b/neveko-auth/src/lib.rs similarity index 100% rename from nevmes-auth/src/lib.rs rename to neveko-auth/src/lib.rs diff --git a/nevmes-auth/src/main.rs b/neveko-auth/src/main.rs similarity index 81% rename from nevmes-auth/src/main.rs rename to neveko-auth/src/main.rs index c267207..eb9b47b 100644 --- a/nevmes-auth/src/main.rs +++ b/neveko-auth/src/main.rs @@ -1,8 +1,8 @@ #[macro_use] extern crate rocket; -use nevmes_auth::*; -use nevmes_core::*; +use neveko_auth::*; +use neveko_core::*; // The only changes in here should be mounting new controller methods @@ -13,6 +13,6 @@ async fn rocket() -> _ { ..rocket::Config::debug_default() }; env_logger::init(); - log::info!("nevmes-auth is online"); + log::info!("neveko-auth is online"); rocket::custom(&config).mount("/", routes![controller::login]) } diff --git a/nevmes-contact/.gitignore b/neveko-contact/.gitignore similarity index 100% rename from nevmes-contact/.gitignore rename to neveko-contact/.gitignore diff --git a/nevmes-contact/.rustfmt.toml b/neveko-contact/.rustfmt.toml similarity index 100% rename from nevmes-contact/.rustfmt.toml rename to neveko-contact/.rustfmt.toml diff --git a/nevmes-contact/Cargo.lock b/neveko-contact/Cargo.lock similarity index 99% rename from nevmes-contact/Cargo.lock rename to neveko-contact/Cargo.lock index 14b87e1..9ce99b3 100644 --- a/nevmes-contact/Cargo.lock +++ b/neveko-contact/Cargo.lock @@ -1188,17 +1188,17 @@ dependencies = [ ] [[package]] -name = "nevmes_contact" +name = "neveko_contact" version = "0.5.0-alpha" dependencies = [ "env_logger", "log 0.4.17", - "nevmes_core", + "neveko_core", "rocket", ] [[package]] -name = "nevmes_core" +name = "neveko_core" version = "0.5.0-alpha" dependencies = [ "chrono", diff --git a/nevmes-contact/Cargo.toml b/neveko-contact/Cargo.toml similarity index 79% rename from nevmes-contact/Cargo.toml rename to neveko-contact/Cargo.toml index 3001719..124fdeb 100644 --- a/nevmes-contact/Cargo.toml +++ b/neveko-contact/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "nevmes_contact" +name = "neveko_contact" version = "0.5.0-alpha" edition = "2021" @@ -7,6 +7,6 @@ edition = "2021" [dependencies] env_logger = "0.10.0" -nevmes_core = { path = "../nevmes-core" } +neveko_core = { path = "../neveko-core" } log = "0.4" rocket = { version = "0.5.0-rc.2", features = ["json"] } diff --git a/nevmes-contact/src/controller.rs b/neveko-contact/src/controller.rs similarity index 98% rename from nevmes-contact/src/controller.rs rename to neveko-contact/src/controller.rs index a85964f..4323688 100644 --- a/nevmes-contact/src/controller.rs +++ b/neveko-contact/src/controller.rs @@ -6,7 +6,7 @@ use rocket::{ serde::json::Json, }; -use nevmes_core::{ +use neveko_core::{ auth, contact, models::*, diff --git a/nevmes-contact/src/lib.rs b/neveko-contact/src/lib.rs similarity index 100% rename from nevmes-contact/src/lib.rs rename to neveko-contact/src/lib.rs diff --git a/nevmes-contact/src/main.rs b/neveko-contact/src/main.rs similarity index 86% rename from nevmes-contact/src/main.rs rename to neveko-contact/src/main.rs index 78f1f3b..1db83a6 100644 --- a/nevmes-contact/src/main.rs +++ b/neveko-contact/src/main.rs @@ -1,8 +1,8 @@ #[macro_use] extern crate rocket; -use nevmes_contact::*; -use nevmes_core::*; +use neveko_contact::*; +use neveko_core::*; // The only changes in here should be mounting new controller methods @@ -13,7 +13,7 @@ async fn rocket() -> _ { ..rocket::Config::debug_default() }; env_logger::init(); - log::info!("nevmes-contact is online"); + log::info!("neveko-contact is online"); rocket::custom(&config) .mount("/trust", routes![controller::trust_contact]) .mount("/prove", routes![controller::prove_payment]) diff --git a/nevmes-core/.rustfmt.toml b/neveko-core/.rustfmt.toml similarity index 100% rename from nevmes-core/.rustfmt.toml rename to neveko-core/.rustfmt.toml diff --git a/nevmes-core/Cargo.lock b/neveko-core/Cargo.lock similarity index 99% rename from nevmes-core/Cargo.lock rename to neveko-core/Cargo.lock index fa18525..99c445d 100644 --- a/nevmes-core/Cargo.lock +++ b/neveko-core/Cargo.lock @@ -1188,7 +1188,7 @@ dependencies = [ ] [[package]] -name = "nevmes_core" +name = "neveko_core" version = "0.5.0-alpha" dependencies = [ "chrono", diff --git a/nevmes-core/Cargo.toml b/neveko-core/Cargo.toml similarity index 96% rename from nevmes-core/Cargo.toml rename to neveko-core/Cargo.toml index e42e468..01ae4d2 100644 --- a/nevmes-core/Cargo.toml +++ b/neveko-core/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "nevmes_core" +name = "neveko_core" version = "0.5.0-alpha" edition = "2021" diff --git a/nevmes-core/src/args.rs b/neveko-core/src/args.rs similarity index 100% rename from nevmes-core/src/args.rs rename to neveko-core/src/args.rs diff --git a/nevmes-core/src/auth.rs b/neveko-core/src/auth.rs similarity index 100% rename from nevmes-core/src/auth.rs rename to neveko-core/src/auth.rs diff --git a/nevmes-core/src/contact.rs b/neveko-core/src/contact.rs similarity index 97% rename from nevmes-core/src/contact.rs rename to neveko-core/src/contact.rs index 76203ea..901c0b8 100644 --- a/nevmes-core/src/contact.rs +++ b/neveko-core/src/contact.rs @@ -17,7 +17,7 @@ use rocket::serde::json::Json; use std::error::Error; /// Environment variable for activating vendor functionality -pub const NEVMES_VENDOR_ENABLED: &str = "NEVMES_VENDOR_ENABLED"; +pub const NEVEKO_VENDOR_ENABLED: &str = "NEVEKO_VENDOR_ENABLED"; /// Create a new contact pub async fn create(c: &Json) -> Contact { @@ -99,7 +99,7 @@ async fn validate_contact(j: &Json) -> bool { /// Send our information pub async fn share() -> Contact { - let vendor_env = std::env::var(NEVMES_VENDOR_ENABLED).unwrap_or(String::from("0")); + let vendor_env = std::env::var(NEVEKO_VENDOR_ENABLED).unwrap_or(String::from("0")); let is_vendor = vendor_env == String::from("1"); let m_address: reqres::XmrRpcAddressResponse = monero::get_address().await; let gpg_key = gpg::export_key().unwrap_or(Vec::new()); @@ -123,11 +123,11 @@ pub fn exists(from: &String) -> bool { return addresses.contains(from); } -/// Sign for trusted nevmes contacts +/// Sign for trusted neveko contacts /// /// UI/UX should have some prompt about the implication of trusting keys /// -/// however that is beyond the scope of this app. nevmes assumes contacts +/// however that is beyond the scope of this app. neveko assumes contacts /// /// using the app already have some level of knowledge about each other. /// diff --git a/nevmes-core/src/db.rs b/neveko-core/src/db.rs similarity index 96% rename from nevmes-core/src/db.rs rename to neveko-core/src/db.rs index 33ac6b7..21a447f 100644 --- a/nevmes-core/src/db.rs +++ b/neveko-core/src/db.rs @@ -29,7 +29,7 @@ impl Interface { pub fn open() -> Self { let release_env = utils::get_release_env(); let file_path = format!( - "/home/{}/.nevmes/", + "/home/{}/.neveko/", std::env::var("USER").unwrap_or(String::from("user")) ); let mut env_str: &str = "test-lmdb"; @@ -46,7 +46,7 @@ impl Interface { tokio::time::sleep(std::time::Duration::from_micros(1)).await; self::Interface::open() } - /// Write a key-value to LMDB. NEVMES does not currently support + /// Write a key-value to LMDB. NEVEKO does not currently support /// /// writing multiple key value pairs. pub fn write(e: &Environment, h: &DbHandle, k: &str, v: &str) { @@ -72,7 +72,7 @@ impl Interface { /// /// string. If the value does not exist an empty string is /// - /// returned. NEVMES does not currently support duplicate keys. + /// returned. NEVEKO does not currently support duplicate keys. pub fn read(e: &Environment, h: &DbHandle, k: &str) -> String { let reader = e.get_reader().unwrap(); let db = reader.bind(&h); diff --git a/nevmes-core/src/gpg.rs b/neveko-core/src/gpg.rs similarity index 97% rename from nevmes-core/src/gpg.rs rename to neveko-core/src/gpg.rs index f51f20e..cc329f6 100644 --- a/nevmes-core/src/gpg.rs +++ b/neveko-core/src/gpg.rs @@ -75,7 +75,7 @@ pub fn export_key() -> Result, Box> { /// Import gpg keys from contacts pub fn import_key(cid: String, key: Vec) -> Result<(), Box> { info!("importing key: {}", hex::encode(&key)); - let filename = format!("{}.nevmes", &cid); + let filename = format!("{}.neveko", &cid); let mut f = File::create(&filename)?; f.write_all(&key)?; let mut ctx = Context::from_protocol(gpgme::Protocol::OpenPgp)?; @@ -99,7 +99,7 @@ pub fn encrypt(name: String, body: &Vec) -> Result, Box> .filter_map(|x| x.ok()) .filter(|k| k.can_encrypt()) .collect(); - let filename = format!("{}.nevmes", name); + let filename = format!("{}.neveko", name); let mut f = File::create(&filename)?; f.write_all(body)?; let mut input = @@ -119,7 +119,7 @@ pub fn decrypt(mid: &String, body: &Vec) -> Result, Box> let proto = Protocol::OpenPgp; let mut ctx = Context::from_protocol(proto)?; ctx.set_armor(true); - let filename = format!("{}.nevmes", mid); + let filename = format!("{}.neveko", mid); let mut f = File::create(&filename)?; f.write_all(&body)?; let mut input = diff --git a/nevmes-core/src/i2p.rs b/neveko-core/src/i2p.rs similarity index 99% rename from nevmes-core/src/i2p.rs rename to neveko-core/src/i2p.rs index 51fca88..0c5f84a 100644 --- a/nevmes-core/src/i2p.rs +++ b/neveko-core/src/i2p.rs @@ -113,7 +113,7 @@ pub async fn start() { } } -/// Create an i2p tunnel for the NEVMES application +/// Create an i2p tunnel for the NEVEKO application fn create_tunnel() { info!("creating tunnel"); let args = args::Args::parse(); diff --git a/nevmes-core/src/lib.rs b/neveko-core/src/lib.rs similarity index 90% rename from nevmes-core/src/lib.rs rename to neveko-core/src/lib.rs index 9990dcb..519228f 100644 --- a/nevmes-core/src/lib.rs +++ b/neveko-core/src/lib.rs @@ -12,8 +12,8 @@ pub mod reqres; // http request/responses pub mod user; // misc. pub mod utils; // user rep/service layer -pub const NEVMES_JWP_SECRET_KEY: &str = "NEVMES_JWP_SECRET_KEY"; -pub const NEVMES_JWT_SECRET_KEY: &str = "NEVMES_JWT_SECRET_KEY"; +pub const NEVEKO_JWP_SECRET_KEY: &str = "NEVEKO_JWP_SECRET_KEY"; +pub const NEVEKO_JWT_SECRET_KEY: &str = "NEVEKO_JWT_SECRET_KEY"; // TODO(c2m): better handling of setting initial wallet password /// Environment variable for injecting wallet password diff --git a/nevmes-core/src/message.rs b/neveko-core/src/message.rs similarity index 99% rename from nevmes-core/src/message.rs rename to neveko-core/src/message.rs index 216fe96..5ca0f5b 100644 --- a/nevmes-core/src/message.rs +++ b/neveko-core/src/message.rs @@ -148,7 +148,7 @@ fn parse_multisig_message(mid: String) -> MultisigMessageData { /// /// ```rust /// // lookup prepare info for vendor -/// use nevmes_core::db; +/// use neveko_core::db; /// let s = db::Interface::open(); /// let key = "prepare-o123-test.b32.i2p"; /// db::Interface::read(&s.env, &s.handle, &key); diff --git a/nevmes-core/src/models.rs b/neveko-core/src/models.rs similarity index 100% rename from nevmes-core/src/models.rs rename to neveko-core/src/models.rs diff --git a/nevmes-core/src/monero.rs b/neveko-core/src/monero.rs similarity index 99% rename from nevmes-core/src/monero.rs rename to neveko-core/src/monero.rs index 92a4af1..671fdd8 100644 --- a/nevmes-core/src/monero.rs +++ b/neveko-core/src/monero.rs @@ -143,7 +143,7 @@ pub fn start_rpc() { let daemon_address = get_rpc_daemon(); let rpc_login = format!("{}:{}", &login.username, &login.credential); let mut wallet_dir = format!( - "/home/{}/.nevmes/stagenet/wallet/", + "/home/{}/.neveko/stagenet/wallet/", std::env::var("USER").unwrap_or(String::from("user")), ); let release_env = utils::get_release_env(); @@ -166,7 +166,7 @@ pub fn start_rpc() { debug!("{:?}", output.stdout); } else { wallet_dir = format!( - "/home/{}/.nevmes/wallet/", + "/home/{}/.neveko/wallet/", std::env::var("USER").unwrap_or(String::from("user")), ); let args = [ diff --git a/nevmes-core/src/proof.rs b/neveko-core/src/proof.rs similarity index 99% rename from nevmes-core/src/proof.rs rename to neveko-core/src/proof.rs index e635393..42656f4 100644 --- a/nevmes-core/src/proof.rs +++ b/neveko-core/src/proof.rs @@ -147,7 +147,7 @@ pub async fn prove_payment(contact: String, txp: &TxProof) -> ResultFuture use Potential offline payments. diff --git a/nevmes-core/src/reqres.rs b/neveko-core/src/reqres.rs similarity index 100% rename from nevmes-core/src/reqres.rs rename to neveko-core/src/reqres.rs diff --git a/nevmes-core/src/user.rs b/neveko-core/src/user.rs similarity index 100% rename from nevmes-core/src/user.rs rename to neveko-core/src/user.rs diff --git a/nevmes-core/src/utils.rs b/neveko-core/src/utils.rs similarity index 93% rename from nevmes-core/src/utils.rs rename to neveko-core/src/utils.rs index 91e1e97..65cedb5 100644 --- a/nevmes-core/src/utils.rs +++ b/neveko-core/src/utils.rs @@ -120,7 +120,7 @@ pub fn start_core(conn: &Connections) { "-r", env, ]; - let output = std::process::Command::new("./nevmes") + let output = std::process::Command::new("./neveko") .args(args) .spawn() .expect("core module failed to start"); @@ -248,7 +248,7 @@ pub const fn message_limit() -> usize { async fn gen_app_gpg() { let mut gpg_key = gpg::find_key().unwrap_or(utils::empty_string()); if gpg_key == utils::empty_string() { - info!("no gpg key found for nevmes, creating it..."); + info!("no gpg key found for neveko, creating it..."); // wait for key gen gpg::write_gen_batch().unwrap(); gpg::gen_key(); @@ -261,7 +261,7 @@ async fn gen_app_gpg() { /// Handles panic! for missing wallet directory fn create_wallet_dir() { let file_path = format!( - "/home/{}/.nevmes", + "/home/{}/.neveko", std::env::var("USER").unwrap_or(String::from("user")) ); let s_output = std::process::Command::new("mkdir") @@ -279,7 +279,7 @@ fn create_wallet_dir() { /// Generate application wallet at startup if none exist async fn gen_app_wallet(password: &String) { info!("fetching application wallet"); - let filename = "nevmes"; + let filename = "neveko"; let mut m_wallet = monero::open_wallet(String::from(filename), password).await; if !m_wallet { m_wallet = monero::create_wallet(String::from(filename), password).await; @@ -304,11 +304,11 @@ fn gen_signing_keys() { let s = db::Interface::open(); if jwp == utils::empty_string() { let rnd_jwp = generate_rnd(); - db::Interface::write(&s.env, &s.handle, crate::NEVMES_JWP_SECRET_KEY, &rnd_jwp); + db::Interface::write(&s.env, &s.handle, crate::NEVEKO_JWP_SECRET_KEY, &rnd_jwp); } if jwt == utils::empty_string() { let rnd_jwt = generate_rnd(); - db::Interface::write(&s.env, &s.handle, crate::NEVMES_JWT_SECRET_KEY, &rnd_jwt); + db::Interface::write(&s.env, &s.handle, crate::NEVEKO_JWT_SECRET_KEY, &rnd_jwt); } } @@ -317,13 +317,13 @@ fn gen_signing_keys() { /// dont' forget to generate new keys as well pub fn revoke_signing_keys() { let s = db::Interface::open(); - db::Interface::delete(&s.env, &s.handle, crate::NEVMES_JWT_SECRET_KEY); - db::Interface::delete(&s.env, &s.handle, crate::NEVMES_JWP_SECRET_KEY); + db::Interface::delete(&s.env, &s.handle, crate::NEVEKO_JWT_SECRET_KEY); + db::Interface::delete(&s.env, &s.handle, crate::NEVEKO_JWP_SECRET_KEY); } pub fn get_jwt_secret_key() -> String { let s = db::Interface::open(); - let r = db::Interface::read(&s.env, &s.handle, crate::NEVMES_JWT_SECRET_KEY); + let r = db::Interface::read(&s.env, &s.handle, crate::NEVEKO_JWT_SECRET_KEY); if r == utils::empty_string() { error!("JWT key not found"); return Default::default(); @@ -333,7 +333,7 @@ pub fn get_jwt_secret_key() -> String { pub fn get_jwp_secret_key() -> String { let s = db::Interface::open(); - let r = db::Interface::read(&s.env, &s.handle, crate::NEVMES_JWP_SECRET_KEY); + let r = db::Interface::read(&s.env, &s.handle, crate::NEVEKO_JWP_SECRET_KEY); if r == utils::empty_string() { error!("JWP key not found"); return Default::default(); @@ -344,37 +344,37 @@ pub fn get_jwp_secret_key() -> String { /// Start the remote access microservers `--remote-access` flag fn start_micro_servers() { info!("starting auth server"); - let mut auth_path = "nevmes-auth/target/debug/nevmes_auth"; + let mut auth_path = "neveko-auth/target/debug/neveko_auth"; let env = get_release_env(); if env == ReleaseEnvironment::Production { - auth_path = "nevmes_auth"; + auth_path = "neveko_auth"; } let a_output = std::process::Command::new(auth_path) .spawn() .expect("failed to start auth server"); debug!("{:?}", a_output.stdout); info!("starting contact server"); - let mut contact_path = "nevmes-contact/target/debug/nevmes_contact"; + let mut contact_path = "neveko-contact/target/debug/neveko_contact"; if env == ReleaseEnvironment::Production { - contact_path = "nevmes_contact"; + contact_path = "neveko_contact"; } let c_output = std::process::Command::new(contact_path) .spawn() .expect("failed to start contact server"); debug!("{:?}", c_output.stdout); info!("starting marketplace admin server"); - let mut market_path = "nevmes-contact/target/debug/nevmes_market"; + let mut market_path = "neveko-contact/target/debug/neveko_market"; if env == ReleaseEnvironment::Production { - market_path = "nevmes_market"; + market_path = "neveko_market"; } let market_output = std::process::Command::new(market_path) .spawn() .expect("failed to start marketplace server"); debug!("{:?}", market_output.stdout); info!("starting message server"); - let mut message_path = "nevmes-message/target/debug/nevmes_message"; + let mut message_path = "neveko-message/target/debug/neveko_message"; if env == ReleaseEnvironment::Production { - message_path = "nevmes_message"; + message_path = "neveko_message"; } let m_output = std::process::Command::new(message_path) .spawn() @@ -382,15 +382,15 @@ fn start_micro_servers() { debug!("{:?}", m_output.stdout); } -/// open gui from nevmes core launch +/// open gui from neveko core launch fn start_gui() { let args = args::Args::parse(); if args.gui { info!("starting gui"); - let mut gui_path = "nevmes-gui/target/debug/nevmes_gui"; + let mut gui_path = "neveko-gui/target/debug/neveko_gui"; let env = get_release_env(); if env == ReleaseEnvironment::Production { - gui_path = "nevmes-gui"; + gui_path = "neveko-gui"; } let g_output = std::process::Command::new(gui_path) .spawn() @@ -401,7 +401,7 @@ fn start_gui() { /// Put all app pre-checks here pub async fn start_up() { - info!("nevmes is starting up"); + info!("neveko is starting up"); let args = args::Args::parse(); if args.remote_access { start_micro_servers(); @@ -432,12 +432,12 @@ pub async fn start_up() { message::retry_fts().await; }); } - info!("{} - nevmes is online", env); + info!("{} - neveko is online", env); } /// Called by gui for cleaning up monerod, rpc, etc. /// -/// pass true from gui connection manager so not to kill nevmes +/// pass true from gui connection manager so not to kill neveko pub fn kill_child_processes(cm: bool) { info!("stopping child processes"); // TODO(c2m): prompt on gui letting user determine what background @@ -450,11 +450,11 @@ pub fn kill_child_processes(cm: bool) { debug!("{:?}", xmrd_output.stdout); } if !cm { - let nevmes_output = std::process::Command::new("pkill") - .arg("nevmes") + let neveko_output = std::process::Command::new("pkill") + .arg("neveko") .spawn() - .expect("nevmes failed to stop"); - debug!("{:?}", nevmes_output.stdout); + .expect("neveko failed to stop"); + debug!("{:?}", neveko_output.stdout); } let rpc_output = std::process::Command::new("killall") .arg("monero-wallet-rpc") @@ -507,7 +507,7 @@ pub async fn install_software(installations: Installations) -> bool { let i2p_version = crate::I2P_ZERO_RELEASE_VERSION; let i2p_zero_zip = format!("i2p-zero-linux.{}.zip", i2p_version); let link = format!( - "https://github.com/creating2morrow/i2p-zero/releases/download/{}-nevmes/{}", + "https://github.com/creating2morrow/i2p-zero/releases/download/{}-neveko/{}", i2p_version, i2p_zero_zip ); let curl = std::process::Command::new("curl") diff --git a/nevmes-gui/.gitignore b/neveko-gui/.gitignore similarity index 82% rename from nevmes-gui/.gitignore rename to neveko-gui/.gitignore index d7a2973..db94e86 100755 --- a/nevmes-gui/.gitignore +++ b/neveko-gui/.gitignore @@ -2,4 +2,4 @@ /core notes.txt .env -nevmes \ No newline at end of file +neveko \ No newline at end of file diff --git a/nevmes-gui/.rustfmt.toml b/neveko-gui/.rustfmt.toml similarity index 100% rename from nevmes-gui/.rustfmt.toml rename to neveko-gui/.rustfmt.toml diff --git a/nevmes-gui/Cargo.lock b/neveko-gui/Cargo.lock similarity index 99% rename from nevmes-gui/Cargo.lock rename to neveko-gui/Cargo.lock index 1dbc7c1..3d9077d 100644 --- a/nevmes-gui/Cargo.lock +++ b/neveko-gui/Cargo.lock @@ -2408,7 +2408,7 @@ dependencies = [ ] [[package]] -name = "nevmes_core" +name = "neveko_core" version = "0.5.0-alpha" dependencies = [ "chrono", @@ -2433,7 +2433,7 @@ dependencies = [ ] [[package]] -name = "nevmes_gui" +name = "neveko_gui" version = "0.5.0-alpha" dependencies = [ "bytemuck", @@ -2445,7 +2445,7 @@ dependencies = [ "hex", "image", "log 0.4.17", - "nevmes_core", + "neveko_core", "poll-promise", "qrcode", "reqwest", diff --git a/nevmes-gui/Cargo.toml b/neveko-gui/Cargo.toml similarity index 94% rename from nevmes-gui/Cargo.toml rename to neveko-gui/Cargo.toml index 4a1264f..7bd18a0 100644 --- a/nevmes-gui/Cargo.toml +++ b/neveko-gui/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "nevmes_gui" +name = "neveko_gui" version = "0.5.0-alpha" authors = ["emilk", "creating2morrow"] license = "MIT OR Apache-2.0" edition = "2021" rust-version = "1.65" publish = false -default-run = "nevmes_gui" +default-run = "neveko_gui" [package.metadata.docs.rs] all-features = true @@ -32,7 +32,7 @@ egui = { version = "0.21.0", path = "./crates/egui", features = [ "extra_debug_asserts", ] } hex = "0.4.3" -nevmes_core = { path = "../nevmes-core" } +neveko_core = { path = "../neveko-core" } log = "0.4" qrcode = "0.12" image = "0.23.14" diff --git a/nevmes-gui/LICENSE-APACHE b/neveko-gui/LICENSE-APACHE similarity index 100% rename from nevmes-gui/LICENSE-APACHE rename to neveko-gui/LICENSE-APACHE diff --git a/nevmes-gui/LICENSE-MIT b/neveko-gui/LICENSE-MIT similarity index 100% rename from nevmes-gui/LICENSE-MIT rename to neveko-gui/LICENSE-MIT diff --git a/neveko-gui/README.md b/neveko-gui/README.md new file mode 100644 index 0000000..41762d0 --- /dev/null +++ b/neveko-gui/README.md @@ -0,0 +1,7 @@ + +## Dev + +Note: gui depends on the binary if starting core from gui +otherwise run neveko core on your own + +`cd ../ && cargo build && cp target/debug/neveko neveko-gui/ && cd neveko-gui && RUST_LOG=debug cargo run` \ No newline at end of file diff --git a/nevmes-gui/assets/i2p.png b/neveko-gui/assets/i2p.png similarity index 100% rename from nevmes-gui/assets/i2p.png rename to neveko-gui/assets/i2p.png diff --git a/nevmes-gui/assets/qr.png b/neveko-gui/assets/qr.png similarity index 100% rename from nevmes-gui/assets/qr.png rename to neveko-gui/assets/qr.png diff --git a/nevmes-gui/assets/xmr.png b/neveko-gui/assets/xmr.png similarity index 100% rename from nevmes-gui/assets/xmr.png rename to neveko-gui/assets/xmr.png diff --git a/nevmes-gui/crates/ecolor/CHANGELOG.md b/neveko-gui/crates/ecolor/CHANGELOG.md similarity index 100% rename from nevmes-gui/crates/ecolor/CHANGELOG.md rename to neveko-gui/crates/ecolor/CHANGELOG.md diff --git a/nevmes-gui/crates/ecolor/Cargo.toml b/neveko-gui/crates/ecolor/Cargo.toml similarity index 100% rename from nevmes-gui/crates/ecolor/Cargo.toml rename to neveko-gui/crates/ecolor/Cargo.toml diff --git a/nevmes-gui/crates/ecolor/README.md b/neveko-gui/crates/ecolor/README.md similarity index 100% rename from nevmes-gui/crates/ecolor/README.md rename to neveko-gui/crates/ecolor/README.md diff --git a/nevmes-gui/crates/ecolor/src/cint_impl.rs b/neveko-gui/crates/ecolor/src/cint_impl.rs similarity index 100% rename from nevmes-gui/crates/ecolor/src/cint_impl.rs rename to neveko-gui/crates/ecolor/src/cint_impl.rs diff --git a/nevmes-gui/crates/ecolor/src/color32.rs b/neveko-gui/crates/ecolor/src/color32.rs similarity index 100% rename from nevmes-gui/crates/ecolor/src/color32.rs rename to neveko-gui/crates/ecolor/src/color32.rs diff --git a/nevmes-gui/crates/ecolor/src/hex_color_macro.rs b/neveko-gui/crates/ecolor/src/hex_color_macro.rs similarity index 100% rename from nevmes-gui/crates/ecolor/src/hex_color_macro.rs rename to neveko-gui/crates/ecolor/src/hex_color_macro.rs diff --git a/nevmes-gui/crates/ecolor/src/hsva.rs b/neveko-gui/crates/ecolor/src/hsva.rs similarity index 100% rename from nevmes-gui/crates/ecolor/src/hsva.rs rename to neveko-gui/crates/ecolor/src/hsva.rs diff --git a/nevmes-gui/crates/ecolor/src/hsva_gamma.rs b/neveko-gui/crates/ecolor/src/hsva_gamma.rs similarity index 100% rename from nevmes-gui/crates/ecolor/src/hsva_gamma.rs rename to neveko-gui/crates/ecolor/src/hsva_gamma.rs diff --git a/nevmes-gui/crates/ecolor/src/lib.rs b/neveko-gui/crates/ecolor/src/lib.rs similarity index 100% rename from nevmes-gui/crates/ecolor/src/lib.rs rename to neveko-gui/crates/ecolor/src/lib.rs diff --git a/nevmes-gui/crates/ecolor/src/rgba.rs b/neveko-gui/crates/ecolor/src/rgba.rs similarity index 100% rename from nevmes-gui/crates/ecolor/src/rgba.rs rename to neveko-gui/crates/ecolor/src/rgba.rs diff --git a/nevmes-gui/crates/eframe/CHANGELOG.md b/neveko-gui/crates/eframe/CHANGELOG.md similarity index 100% rename from nevmes-gui/crates/eframe/CHANGELOG.md rename to neveko-gui/crates/eframe/CHANGELOG.md diff --git a/nevmes-gui/crates/eframe/Cargo.toml b/neveko-gui/crates/eframe/Cargo.toml similarity index 100% rename from nevmes-gui/crates/eframe/Cargo.toml rename to neveko-gui/crates/eframe/Cargo.toml diff --git a/nevmes-gui/crates/eframe/README.md b/neveko-gui/crates/eframe/README.md similarity index 100% rename from nevmes-gui/crates/eframe/README.md rename to neveko-gui/crates/eframe/README.md diff --git a/nevmes-gui/crates/eframe/src/epi.rs b/neveko-gui/crates/eframe/src/epi.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/epi.rs rename to neveko-gui/crates/eframe/src/epi.rs diff --git a/nevmes-gui/crates/eframe/src/lib.rs b/neveko-gui/crates/eframe/src/lib.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/lib.rs rename to neveko-gui/crates/eframe/src/lib.rs diff --git a/nevmes-gui/crates/eframe/src/native/epi_integration.rs b/neveko-gui/crates/eframe/src/native/epi_integration.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/native/epi_integration.rs rename to neveko-gui/crates/eframe/src/native/epi_integration.rs diff --git a/nevmes-gui/crates/eframe/src/native/file_storage.rs b/neveko-gui/crates/eframe/src/native/file_storage.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/native/file_storage.rs rename to neveko-gui/crates/eframe/src/native/file_storage.rs diff --git a/nevmes-gui/crates/eframe/src/native/mod.rs b/neveko-gui/crates/eframe/src/native/mod.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/native/mod.rs rename to neveko-gui/crates/eframe/src/native/mod.rs diff --git a/nevmes-gui/crates/eframe/src/native/run.rs b/neveko-gui/crates/eframe/src/native/run.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/native/run.rs rename to neveko-gui/crates/eframe/src/native/run.rs diff --git a/nevmes-gui/crates/eframe/src/web/backend.rs b/neveko-gui/crates/eframe/src/web/backend.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/web/backend.rs rename to neveko-gui/crates/eframe/src/web/backend.rs diff --git a/nevmes-gui/crates/eframe/src/web/events.rs b/neveko-gui/crates/eframe/src/web/events.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/web/events.rs rename to neveko-gui/crates/eframe/src/web/events.rs diff --git a/nevmes-gui/crates/eframe/src/web/input.rs b/neveko-gui/crates/eframe/src/web/input.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/web/input.rs rename to neveko-gui/crates/eframe/src/web/input.rs diff --git a/nevmes-gui/crates/eframe/src/web/mod.rs b/neveko-gui/crates/eframe/src/web/mod.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/web/mod.rs rename to neveko-gui/crates/eframe/src/web/mod.rs diff --git a/nevmes-gui/crates/eframe/src/web/screen_reader.rs b/neveko-gui/crates/eframe/src/web/screen_reader.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/web/screen_reader.rs rename to neveko-gui/crates/eframe/src/web/screen_reader.rs diff --git a/nevmes-gui/crates/eframe/src/web/storage.rs b/neveko-gui/crates/eframe/src/web/storage.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/web/storage.rs rename to neveko-gui/crates/eframe/src/web/storage.rs diff --git a/nevmes-gui/crates/eframe/src/web/text_agent.rs b/neveko-gui/crates/eframe/src/web/text_agent.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/web/text_agent.rs rename to neveko-gui/crates/eframe/src/web/text_agent.rs diff --git a/nevmes-gui/crates/eframe/src/web/web_painter.rs b/neveko-gui/crates/eframe/src/web/web_painter.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/web/web_painter.rs rename to neveko-gui/crates/eframe/src/web/web_painter.rs diff --git a/nevmes-gui/crates/eframe/src/web/web_painter_glow.rs b/neveko-gui/crates/eframe/src/web/web_painter_glow.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/web/web_painter_glow.rs rename to neveko-gui/crates/eframe/src/web/web_painter_glow.rs diff --git a/nevmes-gui/crates/eframe/src/web/web_painter_wgpu.rs b/neveko-gui/crates/eframe/src/web/web_painter_wgpu.rs similarity index 100% rename from nevmes-gui/crates/eframe/src/web/web_painter_wgpu.rs rename to neveko-gui/crates/eframe/src/web/web_painter_wgpu.rs diff --git a/nevmes-gui/crates/egui-wgpu/CHANGELOG.md b/neveko-gui/crates/egui-wgpu/CHANGELOG.md similarity index 100% rename from nevmes-gui/crates/egui-wgpu/CHANGELOG.md rename to neveko-gui/crates/egui-wgpu/CHANGELOG.md diff --git a/nevmes-gui/crates/egui-wgpu/Cargo.toml b/neveko-gui/crates/egui-wgpu/Cargo.toml similarity index 100% rename from nevmes-gui/crates/egui-wgpu/Cargo.toml rename to neveko-gui/crates/egui-wgpu/Cargo.toml diff --git a/nevmes-gui/crates/egui-wgpu/README.md b/neveko-gui/crates/egui-wgpu/README.md similarity index 100% rename from nevmes-gui/crates/egui-wgpu/README.md rename to neveko-gui/crates/egui-wgpu/README.md diff --git a/nevmes-gui/crates/egui-wgpu/src/egui.wgsl b/neveko-gui/crates/egui-wgpu/src/egui.wgsl similarity index 100% rename from nevmes-gui/crates/egui-wgpu/src/egui.wgsl rename to neveko-gui/crates/egui-wgpu/src/egui.wgsl diff --git a/nevmes-gui/crates/egui-wgpu/src/lib.rs b/neveko-gui/crates/egui-wgpu/src/lib.rs similarity index 100% rename from nevmes-gui/crates/egui-wgpu/src/lib.rs rename to neveko-gui/crates/egui-wgpu/src/lib.rs diff --git a/nevmes-gui/crates/egui-wgpu/src/renderer.rs b/neveko-gui/crates/egui-wgpu/src/renderer.rs similarity index 100% rename from nevmes-gui/crates/egui-wgpu/src/renderer.rs rename to neveko-gui/crates/egui-wgpu/src/renderer.rs diff --git a/nevmes-gui/crates/egui-wgpu/src/winit.rs b/neveko-gui/crates/egui-wgpu/src/winit.rs similarity index 100% rename from nevmes-gui/crates/egui-wgpu/src/winit.rs rename to neveko-gui/crates/egui-wgpu/src/winit.rs diff --git a/nevmes-gui/crates/egui-winit/CHANGELOG.md b/neveko-gui/crates/egui-winit/CHANGELOG.md similarity index 100% rename from nevmes-gui/crates/egui-winit/CHANGELOG.md rename to neveko-gui/crates/egui-winit/CHANGELOG.md diff --git a/nevmes-gui/crates/egui-winit/Cargo.toml b/neveko-gui/crates/egui-winit/Cargo.toml similarity index 100% rename from nevmes-gui/crates/egui-winit/Cargo.toml rename to neveko-gui/crates/egui-winit/Cargo.toml diff --git a/nevmes-gui/crates/egui-winit/README.md b/neveko-gui/crates/egui-winit/README.md similarity index 100% rename from nevmes-gui/crates/egui-winit/README.md rename to neveko-gui/crates/egui-winit/README.md diff --git a/nevmes-gui/crates/egui-winit/src/clipboard.rs b/neveko-gui/crates/egui-winit/src/clipboard.rs similarity index 100% rename from nevmes-gui/crates/egui-winit/src/clipboard.rs rename to neveko-gui/crates/egui-winit/src/clipboard.rs diff --git a/nevmes-gui/crates/egui-winit/src/lib.rs b/neveko-gui/crates/egui-winit/src/lib.rs similarity index 100% rename from nevmes-gui/crates/egui-winit/src/lib.rs rename to neveko-gui/crates/egui-winit/src/lib.rs diff --git a/nevmes-gui/crates/egui-winit/src/window_settings.rs b/neveko-gui/crates/egui-winit/src/window_settings.rs similarity index 100% rename from nevmes-gui/crates/egui-winit/src/window_settings.rs rename to neveko-gui/crates/egui-winit/src/window_settings.rs diff --git a/nevmes-gui/crates/egui/Cargo.toml b/neveko-gui/crates/egui/Cargo.toml similarity index 100% rename from nevmes-gui/crates/egui/Cargo.toml rename to neveko-gui/crates/egui/Cargo.toml diff --git a/nevmes-gui/crates/egui/README.md b/neveko-gui/crates/egui/README.md similarity index 100% rename from nevmes-gui/crates/egui/README.md rename to neveko-gui/crates/egui/README.md diff --git a/nevmes-gui/crates/egui/examples/README.md b/neveko-gui/crates/egui/examples/README.md similarity index 87% rename from nevmes-gui/crates/egui/examples/README.md rename to neveko-gui/crates/egui/examples/README.md index 2df28f1..db4cd73 100644 --- a/nevmes-gui/crates/egui/examples/README.md +++ b/neveko-gui/crates/egui/examples/README.md @@ -2,6 +2,6 @@ There are no stand-alone egui examples, because egui is not stand-alone! See the top-level [examples](https://github.com/emilk/egui/tree/master/examples/) folder instead. -There are also plenty of examples in [the online demo](https://www.egui.rs/#demo). You can find the source code for it at . +There are also plenty of examples in [the online demo](https://www.egui.rs/#demo). You can find the source code for it at . To learn how to set up `eframe` for web and native, go to and follow the instructions there! diff --git a/nevmes-gui/crates/egui/src/animation_manager.rs b/neveko-gui/crates/egui/src/animation_manager.rs similarity index 100% rename from nevmes-gui/crates/egui/src/animation_manager.rs rename to neveko-gui/crates/egui/src/animation_manager.rs diff --git a/nevmes-gui/crates/egui/src/containers/area.rs b/neveko-gui/crates/egui/src/containers/area.rs similarity index 100% rename from nevmes-gui/crates/egui/src/containers/area.rs rename to neveko-gui/crates/egui/src/containers/area.rs diff --git a/nevmes-gui/crates/egui/src/containers/collapsing_header.rs b/neveko-gui/crates/egui/src/containers/collapsing_header.rs similarity index 100% rename from nevmes-gui/crates/egui/src/containers/collapsing_header.rs rename to neveko-gui/crates/egui/src/containers/collapsing_header.rs diff --git a/nevmes-gui/crates/egui/src/containers/combo_box.rs b/neveko-gui/crates/egui/src/containers/combo_box.rs similarity index 100% rename from nevmes-gui/crates/egui/src/containers/combo_box.rs rename to neveko-gui/crates/egui/src/containers/combo_box.rs diff --git a/nevmes-gui/crates/egui/src/containers/frame.rs b/neveko-gui/crates/egui/src/containers/frame.rs similarity index 100% rename from nevmes-gui/crates/egui/src/containers/frame.rs rename to neveko-gui/crates/egui/src/containers/frame.rs diff --git a/nevmes-gui/crates/egui/src/containers/mod.rs b/neveko-gui/crates/egui/src/containers/mod.rs similarity index 100% rename from nevmes-gui/crates/egui/src/containers/mod.rs rename to neveko-gui/crates/egui/src/containers/mod.rs diff --git a/nevmes-gui/crates/egui/src/containers/panel.rs b/neveko-gui/crates/egui/src/containers/panel.rs similarity index 100% rename from nevmes-gui/crates/egui/src/containers/panel.rs rename to neveko-gui/crates/egui/src/containers/panel.rs diff --git a/nevmes-gui/crates/egui/src/containers/popup.rs b/neveko-gui/crates/egui/src/containers/popup.rs similarity index 100% rename from nevmes-gui/crates/egui/src/containers/popup.rs rename to neveko-gui/crates/egui/src/containers/popup.rs diff --git a/nevmes-gui/crates/egui/src/containers/resize.rs b/neveko-gui/crates/egui/src/containers/resize.rs similarity index 100% rename from nevmes-gui/crates/egui/src/containers/resize.rs rename to neveko-gui/crates/egui/src/containers/resize.rs diff --git a/nevmes-gui/crates/egui/src/containers/scroll_area.rs b/neveko-gui/crates/egui/src/containers/scroll_area.rs similarity index 100% rename from nevmes-gui/crates/egui/src/containers/scroll_area.rs rename to neveko-gui/crates/egui/src/containers/scroll_area.rs diff --git a/nevmes-gui/crates/egui/src/containers/window.rs b/neveko-gui/crates/egui/src/containers/window.rs similarity index 100% rename from nevmes-gui/crates/egui/src/containers/window.rs rename to neveko-gui/crates/egui/src/containers/window.rs diff --git a/nevmes-gui/crates/egui/src/context.rs b/neveko-gui/crates/egui/src/context.rs similarity index 100% rename from nevmes-gui/crates/egui/src/context.rs rename to neveko-gui/crates/egui/src/context.rs diff --git a/nevmes-gui/crates/egui/src/data/input.rs b/neveko-gui/crates/egui/src/data/input.rs similarity index 100% rename from nevmes-gui/crates/egui/src/data/input.rs rename to neveko-gui/crates/egui/src/data/input.rs diff --git a/nevmes-gui/crates/egui/src/data/mod.rs b/neveko-gui/crates/egui/src/data/mod.rs similarity index 100% rename from nevmes-gui/crates/egui/src/data/mod.rs rename to neveko-gui/crates/egui/src/data/mod.rs diff --git a/nevmes-gui/crates/egui/src/data/output.rs b/neveko-gui/crates/egui/src/data/output.rs similarity index 100% rename from nevmes-gui/crates/egui/src/data/output.rs rename to neveko-gui/crates/egui/src/data/output.rs diff --git a/nevmes-gui/crates/egui/src/frame_state.rs b/neveko-gui/crates/egui/src/frame_state.rs similarity index 100% rename from nevmes-gui/crates/egui/src/frame_state.rs rename to neveko-gui/crates/egui/src/frame_state.rs diff --git a/nevmes-gui/crates/egui/src/grid.rs b/neveko-gui/crates/egui/src/grid.rs similarity index 100% rename from nevmes-gui/crates/egui/src/grid.rs rename to neveko-gui/crates/egui/src/grid.rs diff --git a/nevmes-gui/crates/egui/src/gui_zoom.rs b/neveko-gui/crates/egui/src/gui_zoom.rs similarity index 100% rename from nevmes-gui/crates/egui/src/gui_zoom.rs rename to neveko-gui/crates/egui/src/gui_zoom.rs diff --git a/nevmes-gui/crates/egui/src/id.rs b/neveko-gui/crates/egui/src/id.rs similarity index 100% rename from nevmes-gui/crates/egui/src/id.rs rename to neveko-gui/crates/egui/src/id.rs diff --git a/nevmes-gui/crates/egui/src/input_state.rs b/neveko-gui/crates/egui/src/input_state.rs similarity index 100% rename from nevmes-gui/crates/egui/src/input_state.rs rename to neveko-gui/crates/egui/src/input_state.rs diff --git a/nevmes-gui/crates/egui/src/input_state/touch_state.rs b/neveko-gui/crates/egui/src/input_state/touch_state.rs similarity index 100% rename from nevmes-gui/crates/egui/src/input_state/touch_state.rs rename to neveko-gui/crates/egui/src/input_state/touch_state.rs diff --git a/nevmes-gui/crates/egui/src/introspection.rs b/neveko-gui/crates/egui/src/introspection.rs similarity index 100% rename from nevmes-gui/crates/egui/src/introspection.rs rename to neveko-gui/crates/egui/src/introspection.rs diff --git a/nevmes-gui/crates/egui/src/layers.rs b/neveko-gui/crates/egui/src/layers.rs similarity index 100% rename from nevmes-gui/crates/egui/src/layers.rs rename to neveko-gui/crates/egui/src/layers.rs diff --git a/nevmes-gui/crates/egui/src/layout.rs b/neveko-gui/crates/egui/src/layout.rs similarity index 100% rename from nevmes-gui/crates/egui/src/layout.rs rename to neveko-gui/crates/egui/src/layout.rs diff --git a/nevmes-gui/crates/egui/src/lib.rs b/neveko-gui/crates/egui/src/lib.rs similarity index 99% rename from nevmes-gui/crates/egui/src/lib.rs rename to neveko-gui/crates/egui/src/lib.rs index 9bca853..4f13fec 100644 --- a/nevmes-gui/crates/egui/src/lib.rs +++ b/neveko-gui/crates/egui/src/lib.rs @@ -177,7 +177,7 @@ //! This means it is responsibility of the egui user to store the state (`value`) so that it persists between frames. //! //! It can be useful to read the code for the toggle switch example widget to get a better understanding -//! of how egui works: . +//! of how egui works: . //! //! Read more about the pros and cons of immediate mode at . //! @@ -384,7 +384,7 @@ pub fn warn_if_debug_build(ui: &mut crate::Ui) { .small() .color(ui.visuals().warn_fg_color), ) - .on_hover_text("nevmes-gui was compiled with debug assertions enabled."); + .on_hover_text("neveko-gui was compiled with debug assertions enabled."); } } diff --git a/nevmes-gui/crates/egui/src/memory.rs b/neveko-gui/crates/egui/src/memory.rs similarity index 100% rename from nevmes-gui/crates/egui/src/memory.rs rename to neveko-gui/crates/egui/src/memory.rs diff --git a/nevmes-gui/crates/egui/src/menu.rs b/neveko-gui/crates/egui/src/menu.rs similarity index 100% rename from nevmes-gui/crates/egui/src/menu.rs rename to neveko-gui/crates/egui/src/menu.rs diff --git a/nevmes-gui/crates/egui/src/os.rs b/neveko-gui/crates/egui/src/os.rs similarity index 100% rename from nevmes-gui/crates/egui/src/os.rs rename to neveko-gui/crates/egui/src/os.rs diff --git a/nevmes-gui/crates/egui/src/painter.rs b/neveko-gui/crates/egui/src/painter.rs similarity index 100% rename from nevmes-gui/crates/egui/src/painter.rs rename to neveko-gui/crates/egui/src/painter.rs diff --git a/nevmes-gui/crates/egui/src/placer.rs b/neveko-gui/crates/egui/src/placer.rs similarity index 100% rename from nevmes-gui/crates/egui/src/placer.rs rename to neveko-gui/crates/egui/src/placer.rs diff --git a/nevmes-gui/crates/egui/src/response.rs b/neveko-gui/crates/egui/src/response.rs similarity index 100% rename from nevmes-gui/crates/egui/src/response.rs rename to neveko-gui/crates/egui/src/response.rs diff --git a/nevmes-gui/crates/egui/src/sense.rs b/neveko-gui/crates/egui/src/sense.rs similarity index 100% rename from nevmes-gui/crates/egui/src/sense.rs rename to neveko-gui/crates/egui/src/sense.rs diff --git a/nevmes-gui/crates/egui/src/style.rs b/neveko-gui/crates/egui/src/style.rs similarity index 100% rename from nevmes-gui/crates/egui/src/style.rs rename to neveko-gui/crates/egui/src/style.rs diff --git a/nevmes-gui/crates/egui/src/ui.rs b/neveko-gui/crates/egui/src/ui.rs similarity index 100% rename from nevmes-gui/crates/egui/src/ui.rs rename to neveko-gui/crates/egui/src/ui.rs diff --git a/nevmes-gui/crates/egui/src/util/cache.rs b/neveko-gui/crates/egui/src/util/cache.rs similarity index 100% rename from nevmes-gui/crates/egui/src/util/cache.rs rename to neveko-gui/crates/egui/src/util/cache.rs diff --git a/nevmes-gui/crates/egui/src/util/fixed_cache.rs b/neveko-gui/crates/egui/src/util/fixed_cache.rs similarity index 100% rename from nevmes-gui/crates/egui/src/util/fixed_cache.rs rename to neveko-gui/crates/egui/src/util/fixed_cache.rs diff --git a/nevmes-gui/crates/egui/src/util/id_type_map.rs b/neveko-gui/crates/egui/src/util/id_type_map.rs similarity index 100% rename from nevmes-gui/crates/egui/src/util/id_type_map.rs rename to neveko-gui/crates/egui/src/util/id_type_map.rs diff --git a/nevmes-gui/crates/egui/src/util/mod.rs b/neveko-gui/crates/egui/src/util/mod.rs similarity index 100% rename from nevmes-gui/crates/egui/src/util/mod.rs rename to neveko-gui/crates/egui/src/util/mod.rs diff --git a/nevmes-gui/crates/egui/src/util/undoer.rs b/neveko-gui/crates/egui/src/util/undoer.rs similarity index 100% rename from nevmes-gui/crates/egui/src/util/undoer.rs rename to neveko-gui/crates/egui/src/util/undoer.rs diff --git a/nevmes-gui/crates/egui/src/widget_text.rs b/neveko-gui/crates/egui/src/widget_text.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widget_text.rs rename to neveko-gui/crates/egui/src/widget_text.rs diff --git a/nevmes-gui/crates/egui/src/widgets/button.rs b/neveko-gui/crates/egui/src/widgets/button.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/button.rs rename to neveko-gui/crates/egui/src/widgets/button.rs diff --git a/nevmes-gui/crates/egui/src/widgets/color_picker.rs b/neveko-gui/crates/egui/src/widgets/color_picker.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/color_picker.rs rename to neveko-gui/crates/egui/src/widgets/color_picker.rs diff --git a/nevmes-gui/crates/egui/src/widgets/drag_value.rs b/neveko-gui/crates/egui/src/widgets/drag_value.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/drag_value.rs rename to neveko-gui/crates/egui/src/widgets/drag_value.rs diff --git a/nevmes-gui/crates/egui/src/widgets/hyperlink.rs b/neveko-gui/crates/egui/src/widgets/hyperlink.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/hyperlink.rs rename to neveko-gui/crates/egui/src/widgets/hyperlink.rs diff --git a/nevmes-gui/crates/egui/src/widgets/image.rs b/neveko-gui/crates/egui/src/widgets/image.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/image.rs rename to neveko-gui/crates/egui/src/widgets/image.rs diff --git a/nevmes-gui/crates/egui/src/widgets/label.rs b/neveko-gui/crates/egui/src/widgets/label.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/label.rs rename to neveko-gui/crates/egui/src/widgets/label.rs diff --git a/nevmes-gui/crates/egui/src/widgets/mod.rs b/neveko-gui/crates/egui/src/widgets/mod.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/mod.rs rename to neveko-gui/crates/egui/src/widgets/mod.rs diff --git a/nevmes-gui/crates/egui/src/widgets/plot/items/bar.rs b/neveko-gui/crates/egui/src/widgets/plot/items/bar.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/plot/items/bar.rs rename to neveko-gui/crates/egui/src/widgets/plot/items/bar.rs diff --git a/nevmes-gui/crates/egui/src/widgets/plot/items/box_elem.rs b/neveko-gui/crates/egui/src/widgets/plot/items/box_elem.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/plot/items/box_elem.rs rename to neveko-gui/crates/egui/src/widgets/plot/items/box_elem.rs diff --git a/nevmes-gui/crates/egui/src/widgets/plot/items/mod.rs b/neveko-gui/crates/egui/src/widgets/plot/items/mod.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/plot/items/mod.rs rename to neveko-gui/crates/egui/src/widgets/plot/items/mod.rs diff --git a/nevmes-gui/crates/egui/src/widgets/plot/items/rect_elem.rs b/neveko-gui/crates/egui/src/widgets/plot/items/rect_elem.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/plot/items/rect_elem.rs rename to neveko-gui/crates/egui/src/widgets/plot/items/rect_elem.rs diff --git a/nevmes-gui/crates/egui/src/widgets/plot/items/values.rs b/neveko-gui/crates/egui/src/widgets/plot/items/values.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/plot/items/values.rs rename to neveko-gui/crates/egui/src/widgets/plot/items/values.rs diff --git a/nevmes-gui/crates/egui/src/widgets/plot/legend.rs b/neveko-gui/crates/egui/src/widgets/plot/legend.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/plot/legend.rs rename to neveko-gui/crates/egui/src/widgets/plot/legend.rs diff --git a/nevmes-gui/crates/egui/src/widgets/plot/mod.rs b/neveko-gui/crates/egui/src/widgets/plot/mod.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/plot/mod.rs rename to neveko-gui/crates/egui/src/widgets/plot/mod.rs diff --git a/nevmes-gui/crates/egui/src/widgets/plot/transform.rs b/neveko-gui/crates/egui/src/widgets/plot/transform.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/plot/transform.rs rename to neveko-gui/crates/egui/src/widgets/plot/transform.rs diff --git a/nevmes-gui/crates/egui/src/widgets/progress_bar.rs b/neveko-gui/crates/egui/src/widgets/progress_bar.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/progress_bar.rs rename to neveko-gui/crates/egui/src/widgets/progress_bar.rs diff --git a/nevmes-gui/crates/egui/src/widgets/selected_label.rs b/neveko-gui/crates/egui/src/widgets/selected_label.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/selected_label.rs rename to neveko-gui/crates/egui/src/widgets/selected_label.rs diff --git a/nevmes-gui/crates/egui/src/widgets/separator.rs b/neveko-gui/crates/egui/src/widgets/separator.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/separator.rs rename to neveko-gui/crates/egui/src/widgets/separator.rs diff --git a/nevmes-gui/crates/egui/src/widgets/slider.rs b/neveko-gui/crates/egui/src/widgets/slider.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/slider.rs rename to neveko-gui/crates/egui/src/widgets/slider.rs diff --git a/nevmes-gui/crates/egui/src/widgets/spinner.rs b/neveko-gui/crates/egui/src/widgets/spinner.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/spinner.rs rename to neveko-gui/crates/egui/src/widgets/spinner.rs diff --git a/nevmes-gui/crates/egui/src/widgets/text_edit/builder.rs b/neveko-gui/crates/egui/src/widgets/text_edit/builder.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/text_edit/builder.rs rename to neveko-gui/crates/egui/src/widgets/text_edit/builder.rs diff --git a/nevmes-gui/crates/egui/src/widgets/text_edit/cursor_range.rs b/neveko-gui/crates/egui/src/widgets/text_edit/cursor_range.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/text_edit/cursor_range.rs rename to neveko-gui/crates/egui/src/widgets/text_edit/cursor_range.rs diff --git a/nevmes-gui/crates/egui/src/widgets/text_edit/mod.rs b/neveko-gui/crates/egui/src/widgets/text_edit/mod.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/text_edit/mod.rs rename to neveko-gui/crates/egui/src/widgets/text_edit/mod.rs diff --git a/nevmes-gui/crates/egui/src/widgets/text_edit/output.rs b/neveko-gui/crates/egui/src/widgets/text_edit/output.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/text_edit/output.rs rename to neveko-gui/crates/egui/src/widgets/text_edit/output.rs diff --git a/nevmes-gui/crates/egui/src/widgets/text_edit/state.rs b/neveko-gui/crates/egui/src/widgets/text_edit/state.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/text_edit/state.rs rename to neveko-gui/crates/egui/src/widgets/text_edit/state.rs diff --git a/nevmes-gui/crates/egui/src/widgets/text_edit/text_buffer.rs b/neveko-gui/crates/egui/src/widgets/text_edit/text_buffer.rs similarity index 100% rename from nevmes-gui/crates/egui/src/widgets/text_edit/text_buffer.rs rename to neveko-gui/crates/egui/src/widgets/text_edit/text_buffer.rs diff --git a/nevmes-gui/crates/egui_extras/CHANGELOG.md b/neveko-gui/crates/egui_extras/CHANGELOG.md similarity index 100% rename from nevmes-gui/crates/egui_extras/CHANGELOG.md rename to neveko-gui/crates/egui_extras/CHANGELOG.md diff --git a/nevmes-gui/crates/egui_extras/Cargo.toml b/neveko-gui/crates/egui_extras/Cargo.toml similarity index 100% rename from nevmes-gui/crates/egui_extras/Cargo.toml rename to neveko-gui/crates/egui_extras/Cargo.toml diff --git a/nevmes-gui/crates/egui_extras/README.md b/neveko-gui/crates/egui_extras/README.md similarity index 100% rename from nevmes-gui/crates/egui_extras/README.md rename to neveko-gui/crates/egui_extras/README.md diff --git a/nevmes-gui/crates/egui_extras/src/datepicker/button.rs b/neveko-gui/crates/egui_extras/src/datepicker/button.rs similarity index 100% rename from nevmes-gui/crates/egui_extras/src/datepicker/button.rs rename to neveko-gui/crates/egui_extras/src/datepicker/button.rs diff --git a/nevmes-gui/crates/egui_extras/src/datepicker/mod.rs b/neveko-gui/crates/egui_extras/src/datepicker/mod.rs similarity index 100% rename from nevmes-gui/crates/egui_extras/src/datepicker/mod.rs rename to neveko-gui/crates/egui_extras/src/datepicker/mod.rs diff --git a/nevmes-gui/crates/egui_extras/src/datepicker/popup.rs b/neveko-gui/crates/egui_extras/src/datepicker/popup.rs similarity index 100% rename from nevmes-gui/crates/egui_extras/src/datepicker/popup.rs rename to neveko-gui/crates/egui_extras/src/datepicker/popup.rs diff --git a/nevmes-gui/crates/egui_extras/src/image.rs b/neveko-gui/crates/egui_extras/src/image.rs similarity index 100% rename from nevmes-gui/crates/egui_extras/src/image.rs rename to neveko-gui/crates/egui_extras/src/image.rs diff --git a/nevmes-gui/crates/egui_extras/src/layout.rs b/neveko-gui/crates/egui_extras/src/layout.rs similarity index 100% rename from nevmes-gui/crates/egui_extras/src/layout.rs rename to neveko-gui/crates/egui_extras/src/layout.rs diff --git a/nevmes-gui/crates/egui_extras/src/lib.rs b/neveko-gui/crates/egui_extras/src/lib.rs similarity index 100% rename from nevmes-gui/crates/egui_extras/src/lib.rs rename to neveko-gui/crates/egui_extras/src/lib.rs diff --git a/nevmes-gui/crates/egui_extras/src/sizing.rs b/neveko-gui/crates/egui_extras/src/sizing.rs similarity index 100% rename from nevmes-gui/crates/egui_extras/src/sizing.rs rename to neveko-gui/crates/egui_extras/src/sizing.rs diff --git a/nevmes-gui/crates/egui_extras/src/strip.rs b/neveko-gui/crates/egui_extras/src/strip.rs similarity index 100% rename from nevmes-gui/crates/egui_extras/src/strip.rs rename to neveko-gui/crates/egui_extras/src/strip.rs diff --git a/nevmes-gui/crates/egui_extras/src/table.rs b/neveko-gui/crates/egui_extras/src/table.rs similarity index 100% rename from nevmes-gui/crates/egui_extras/src/table.rs rename to neveko-gui/crates/egui_extras/src/table.rs diff --git a/nevmes-gui/crates/egui_glium/CHANGELOG.md b/neveko-gui/crates/egui_glium/CHANGELOG.md similarity index 100% rename from nevmes-gui/crates/egui_glium/CHANGELOG.md rename to neveko-gui/crates/egui_glium/CHANGELOG.md diff --git a/nevmes-gui/crates/egui_glium/Cargo.toml b/neveko-gui/crates/egui_glium/Cargo.toml similarity index 96% rename from nevmes-gui/crates/egui_glium/Cargo.toml rename to neveko-gui/crates/egui_glium/Cargo.toml index 5397ec4..735502d 100644 --- a/nevmes-gui/crates/egui_glium/Cargo.toml +++ b/neveko-gui/crates/egui_glium/Cargo.toml @@ -54,5 +54,5 @@ document-features = { version = "0.2", optional = true } [dev-dependencies] -nevmes_gui_lib = { version = "0.21.0", path = "../nevmes_gui_lib", default-features = false } +neveko_gui_lib = { version = "0.21.0", path = "../neveko_gui_lib", default-features = false } image = { version = "0.24", default-features = false, features = ["png"] } diff --git a/nevmes-gui/crates/egui_glium/README.md b/neveko-gui/crates/egui_glium/README.md similarity index 100% rename from nevmes-gui/crates/egui_glium/README.md rename to neveko-gui/crates/egui_glium/README.md diff --git a/nevmes-gui/crates/egui_glium/examples/native_texture.rs b/neveko-gui/crates/egui_glium/examples/native_texture.rs similarity index 100% rename from nevmes-gui/crates/egui_glium/examples/native_texture.rs rename to neveko-gui/crates/egui_glium/examples/native_texture.rs diff --git a/nevmes-gui/crates/egui_glium/examples/pure_glium.rs b/neveko-gui/crates/egui_glium/examples/pure_glium.rs similarity index 98% rename from nevmes-gui/crates/egui_glium/examples/pure_glium.rs rename to neveko-gui/crates/egui_glium/examples/pure_glium.rs index dec6906..5150750 100644 --- a/nevmes-gui/crates/egui_glium/examples/pure_glium.rs +++ b/neveko-gui/crates/egui_glium/examples/pure_glium.rs @@ -10,7 +10,7 @@ fn main() { let mut egui_glium = egui_glium::EguiGlium::new(&display, &event_loop); - let mut color_test = nevmes_gui_lib::ColorTest::default(); + let mut color_test = neveko_gui_lib::ColorTest::default(); event_loop.run(move |event, _, control_flow| { let mut redraw = || { diff --git a/nevmes-gui/crates/egui_glium/src/lib.rs b/neveko-gui/crates/egui_glium/src/lib.rs similarity index 100% rename from nevmes-gui/crates/egui_glium/src/lib.rs rename to neveko-gui/crates/egui_glium/src/lib.rs diff --git a/nevmes-gui/crates/egui_glium/src/painter.rs b/neveko-gui/crates/egui_glium/src/painter.rs similarity index 100% rename from nevmes-gui/crates/egui_glium/src/painter.rs rename to neveko-gui/crates/egui_glium/src/painter.rs diff --git a/nevmes-gui/crates/egui_glium/src/shader/fragment_100es.glsl b/neveko-gui/crates/egui_glium/src/shader/fragment_100es.glsl similarity index 100% rename from nevmes-gui/crates/egui_glium/src/shader/fragment_100es.glsl rename to neveko-gui/crates/egui_glium/src/shader/fragment_100es.glsl diff --git a/nevmes-gui/crates/egui_glium/src/shader/fragment_120.glsl b/neveko-gui/crates/egui_glium/src/shader/fragment_120.glsl similarity index 100% rename from nevmes-gui/crates/egui_glium/src/shader/fragment_120.glsl rename to neveko-gui/crates/egui_glium/src/shader/fragment_120.glsl diff --git a/nevmes-gui/crates/egui_glium/src/shader/fragment_140.glsl b/neveko-gui/crates/egui_glium/src/shader/fragment_140.glsl similarity index 100% rename from nevmes-gui/crates/egui_glium/src/shader/fragment_140.glsl rename to neveko-gui/crates/egui_glium/src/shader/fragment_140.glsl diff --git a/nevmes-gui/crates/egui_glium/src/shader/fragment_300es.glsl b/neveko-gui/crates/egui_glium/src/shader/fragment_300es.glsl similarity index 100% rename from nevmes-gui/crates/egui_glium/src/shader/fragment_300es.glsl rename to neveko-gui/crates/egui_glium/src/shader/fragment_300es.glsl diff --git a/nevmes-gui/crates/egui_glium/src/shader/vertex_100es.glsl b/neveko-gui/crates/egui_glium/src/shader/vertex_100es.glsl similarity index 100% rename from nevmes-gui/crates/egui_glium/src/shader/vertex_100es.glsl rename to neveko-gui/crates/egui_glium/src/shader/vertex_100es.glsl diff --git a/nevmes-gui/crates/egui_glium/src/shader/vertex_120.glsl b/neveko-gui/crates/egui_glium/src/shader/vertex_120.glsl similarity index 100% rename from nevmes-gui/crates/egui_glium/src/shader/vertex_120.glsl rename to neveko-gui/crates/egui_glium/src/shader/vertex_120.glsl diff --git a/nevmes-gui/crates/egui_glium/src/shader/vertex_140.glsl b/neveko-gui/crates/egui_glium/src/shader/vertex_140.glsl similarity index 100% rename from nevmes-gui/crates/egui_glium/src/shader/vertex_140.glsl rename to neveko-gui/crates/egui_glium/src/shader/vertex_140.glsl diff --git a/nevmes-gui/crates/egui_glium/src/shader/vertex_300es.glsl b/neveko-gui/crates/egui_glium/src/shader/vertex_300es.glsl similarity index 100% rename from nevmes-gui/crates/egui_glium/src/shader/vertex_300es.glsl rename to neveko-gui/crates/egui_glium/src/shader/vertex_300es.glsl diff --git a/nevmes-gui/crates/egui_glow/CHANGELOG.md b/neveko-gui/crates/egui_glow/CHANGELOG.md similarity index 100% rename from nevmes-gui/crates/egui_glow/CHANGELOG.md rename to neveko-gui/crates/egui_glow/CHANGELOG.md diff --git a/nevmes-gui/crates/egui_glow/Cargo.toml b/neveko-gui/crates/egui_glow/Cargo.toml similarity index 100% rename from nevmes-gui/crates/egui_glow/Cargo.toml rename to neveko-gui/crates/egui_glow/Cargo.toml diff --git a/nevmes-gui/crates/egui_glow/README.md b/neveko-gui/crates/egui_glow/README.md similarity index 100% rename from nevmes-gui/crates/egui_glow/README.md rename to neveko-gui/crates/egui_glow/README.md diff --git a/nevmes-gui/crates/egui_glow/examples/pure_glow.rs b/neveko-gui/crates/egui_glow/examples/pure_glow.rs similarity index 100% rename from nevmes-gui/crates/egui_glow/examples/pure_glow.rs rename to neveko-gui/crates/egui_glow/examples/pure_glow.rs diff --git a/nevmes-gui/crates/egui_glow/src/lib.rs b/neveko-gui/crates/egui_glow/src/lib.rs similarity index 100% rename from nevmes-gui/crates/egui_glow/src/lib.rs rename to neveko-gui/crates/egui_glow/src/lib.rs diff --git a/nevmes-gui/crates/egui_glow/src/misc_util.rs b/neveko-gui/crates/egui_glow/src/misc_util.rs similarity index 100% rename from nevmes-gui/crates/egui_glow/src/misc_util.rs rename to neveko-gui/crates/egui_glow/src/misc_util.rs diff --git a/nevmes-gui/crates/egui_glow/src/painter.rs b/neveko-gui/crates/egui_glow/src/painter.rs similarity index 100% rename from nevmes-gui/crates/egui_glow/src/painter.rs rename to neveko-gui/crates/egui_glow/src/painter.rs diff --git a/nevmes-gui/crates/egui_glow/src/shader/fragment.glsl b/neveko-gui/crates/egui_glow/src/shader/fragment.glsl similarity index 100% rename from nevmes-gui/crates/egui_glow/src/shader/fragment.glsl rename to neveko-gui/crates/egui_glow/src/shader/fragment.glsl diff --git a/nevmes-gui/crates/egui_glow/src/shader/vertex.glsl b/neveko-gui/crates/egui_glow/src/shader/vertex.glsl similarity index 100% rename from nevmes-gui/crates/egui_glow/src/shader/vertex.glsl rename to neveko-gui/crates/egui_glow/src/shader/vertex.glsl diff --git a/nevmes-gui/crates/egui_glow/src/shader_version.rs b/neveko-gui/crates/egui_glow/src/shader_version.rs similarity index 100% rename from nevmes-gui/crates/egui_glow/src/shader_version.rs rename to neveko-gui/crates/egui_glow/src/shader_version.rs diff --git a/nevmes-gui/crates/egui_glow/src/vao.rs b/neveko-gui/crates/egui_glow/src/vao.rs similarity index 100% rename from nevmes-gui/crates/egui_glow/src/vao.rs rename to neveko-gui/crates/egui_glow/src/vao.rs diff --git a/nevmes-gui/crates/egui_glow/src/winit.rs b/neveko-gui/crates/egui_glow/src/winit.rs similarity index 100% rename from nevmes-gui/crates/egui_glow/src/winit.rs rename to neveko-gui/crates/egui_glow/src/winit.rs diff --git a/nevmes-gui/crates/egui_web/CHANGELOG.md b/neveko-gui/crates/egui_web/CHANGELOG.md similarity index 100% rename from nevmes-gui/crates/egui_web/CHANGELOG.md rename to neveko-gui/crates/egui_web/CHANGELOG.md diff --git a/neveko-gui/crates/egui_web/README.md b/neveko-gui/crates/egui_web/README.md new file mode 100644 index 0000000..acef990 --- /dev/null +++ b/neveko-gui/crates/egui_web/README.md @@ -0,0 +1 @@ +# neveko gui \ No newline at end of file diff --git a/nevmes-gui/crates/emath/Cargo.toml b/neveko-gui/crates/emath/Cargo.toml similarity index 100% rename from nevmes-gui/crates/emath/Cargo.toml rename to neveko-gui/crates/emath/Cargo.toml diff --git a/nevmes-gui/crates/emath/README.md b/neveko-gui/crates/emath/README.md similarity index 100% rename from nevmes-gui/crates/emath/README.md rename to neveko-gui/crates/emath/README.md diff --git a/nevmes-gui/crates/emath/src/align.rs b/neveko-gui/crates/emath/src/align.rs similarity index 100% rename from nevmes-gui/crates/emath/src/align.rs rename to neveko-gui/crates/emath/src/align.rs diff --git a/nevmes-gui/crates/emath/src/history.rs b/neveko-gui/crates/emath/src/history.rs similarity index 100% rename from nevmes-gui/crates/emath/src/history.rs rename to neveko-gui/crates/emath/src/history.rs diff --git a/nevmes-gui/crates/emath/src/lib.rs b/neveko-gui/crates/emath/src/lib.rs similarity index 100% rename from nevmes-gui/crates/emath/src/lib.rs rename to neveko-gui/crates/emath/src/lib.rs diff --git a/nevmes-gui/crates/emath/src/numeric.rs b/neveko-gui/crates/emath/src/numeric.rs similarity index 100% rename from nevmes-gui/crates/emath/src/numeric.rs rename to neveko-gui/crates/emath/src/numeric.rs diff --git a/nevmes-gui/crates/emath/src/pos2.rs b/neveko-gui/crates/emath/src/pos2.rs similarity index 100% rename from nevmes-gui/crates/emath/src/pos2.rs rename to neveko-gui/crates/emath/src/pos2.rs diff --git a/nevmes-gui/crates/emath/src/rect.rs b/neveko-gui/crates/emath/src/rect.rs similarity index 100% rename from nevmes-gui/crates/emath/src/rect.rs rename to neveko-gui/crates/emath/src/rect.rs diff --git a/nevmes-gui/crates/emath/src/rect_transform.rs b/neveko-gui/crates/emath/src/rect_transform.rs similarity index 100% rename from nevmes-gui/crates/emath/src/rect_transform.rs rename to neveko-gui/crates/emath/src/rect_transform.rs diff --git a/nevmes-gui/crates/emath/src/rot2.rs b/neveko-gui/crates/emath/src/rot2.rs similarity index 100% rename from nevmes-gui/crates/emath/src/rot2.rs rename to neveko-gui/crates/emath/src/rot2.rs diff --git a/nevmes-gui/crates/emath/src/smart_aim.rs b/neveko-gui/crates/emath/src/smart_aim.rs similarity index 100% rename from nevmes-gui/crates/emath/src/smart_aim.rs rename to neveko-gui/crates/emath/src/smart_aim.rs diff --git a/nevmes-gui/crates/emath/src/vec2.rs b/neveko-gui/crates/emath/src/vec2.rs similarity index 100% rename from nevmes-gui/crates/emath/src/vec2.rs rename to neveko-gui/crates/emath/src/vec2.rs diff --git a/nevmes-gui/crates/epaint/CHANGELOG.md b/neveko-gui/crates/epaint/CHANGELOG.md similarity index 100% rename from nevmes-gui/crates/epaint/CHANGELOG.md rename to neveko-gui/crates/epaint/CHANGELOG.md diff --git a/nevmes-gui/crates/epaint/Cargo.toml b/neveko-gui/crates/epaint/Cargo.toml similarity index 100% rename from nevmes-gui/crates/epaint/Cargo.toml rename to neveko-gui/crates/epaint/Cargo.toml diff --git a/nevmes-gui/crates/epaint/README.md b/neveko-gui/crates/epaint/README.md similarity index 100% rename from nevmes-gui/crates/epaint/README.md rename to neveko-gui/crates/epaint/README.md diff --git a/nevmes-gui/crates/epaint/benches/benchmark.rs b/neveko-gui/crates/epaint/benches/benchmark.rs similarity index 100% rename from nevmes-gui/crates/epaint/benches/benchmark.rs rename to neveko-gui/crates/epaint/benches/benchmark.rs diff --git a/nevmes-gui/crates/epaint/fonts/Hack-Regular.ttf b/neveko-gui/crates/epaint/fonts/Hack-Regular.ttf similarity index 100% rename from nevmes-gui/crates/epaint/fonts/Hack-Regular.ttf rename to neveko-gui/crates/epaint/fonts/Hack-Regular.ttf diff --git a/nevmes-gui/crates/epaint/fonts/Hack-Regular.txt b/neveko-gui/crates/epaint/fonts/Hack-Regular.txt similarity index 100% rename from nevmes-gui/crates/epaint/fonts/Hack-Regular.txt rename to neveko-gui/crates/epaint/fonts/Hack-Regular.txt diff --git a/nevmes-gui/crates/epaint/fonts/NotoEmoji-Regular.ttf b/neveko-gui/crates/epaint/fonts/NotoEmoji-Regular.ttf similarity index 100% rename from nevmes-gui/crates/epaint/fonts/NotoEmoji-Regular.ttf rename to neveko-gui/crates/epaint/fonts/NotoEmoji-Regular.ttf diff --git a/nevmes-gui/crates/epaint/fonts/OFL.txt b/neveko-gui/crates/epaint/fonts/OFL.txt similarity index 100% rename from nevmes-gui/crates/epaint/fonts/OFL.txt rename to neveko-gui/crates/epaint/fonts/OFL.txt diff --git a/nevmes-gui/crates/epaint/fonts/UFL.txt b/neveko-gui/crates/epaint/fonts/UFL.txt similarity index 100% rename from nevmes-gui/crates/epaint/fonts/UFL.txt rename to neveko-gui/crates/epaint/fonts/UFL.txt diff --git a/nevmes-gui/crates/epaint/fonts/Ubuntu-Light.ttf b/neveko-gui/crates/epaint/fonts/Ubuntu-Light.ttf similarity index 100% rename from nevmes-gui/crates/epaint/fonts/Ubuntu-Light.ttf rename to neveko-gui/crates/epaint/fonts/Ubuntu-Light.ttf diff --git a/nevmes-gui/crates/epaint/fonts/emoji-icon-font-mit-license.txt b/neveko-gui/crates/epaint/fonts/emoji-icon-font-mit-license.txt similarity index 100% rename from nevmes-gui/crates/epaint/fonts/emoji-icon-font-mit-license.txt rename to neveko-gui/crates/epaint/fonts/emoji-icon-font-mit-license.txt diff --git a/nevmes-gui/crates/epaint/fonts/emoji-icon-font.ttf b/neveko-gui/crates/epaint/fonts/emoji-icon-font.ttf similarity index 100% rename from nevmes-gui/crates/epaint/fonts/emoji-icon-font.ttf rename to neveko-gui/crates/epaint/fonts/emoji-icon-font.ttf diff --git a/nevmes-gui/crates/epaint/fonts/list_fonts.py b/neveko-gui/crates/epaint/fonts/list_fonts.py similarity index 100% rename from nevmes-gui/crates/epaint/fonts/list_fonts.py rename to neveko-gui/crates/epaint/fonts/list_fonts.py diff --git a/nevmes-gui/crates/epaint/src/bezier.rs b/neveko-gui/crates/epaint/src/bezier.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/bezier.rs rename to neveko-gui/crates/epaint/src/bezier.rs diff --git a/nevmes-gui/crates/epaint/src/image.rs b/neveko-gui/crates/epaint/src/image.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/image.rs rename to neveko-gui/crates/epaint/src/image.rs diff --git a/nevmes-gui/crates/epaint/src/lib.rs b/neveko-gui/crates/epaint/src/lib.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/lib.rs rename to neveko-gui/crates/epaint/src/lib.rs diff --git a/nevmes-gui/crates/epaint/src/mesh.rs b/neveko-gui/crates/epaint/src/mesh.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/mesh.rs rename to neveko-gui/crates/epaint/src/mesh.rs diff --git a/nevmes-gui/crates/epaint/src/mutex.rs b/neveko-gui/crates/epaint/src/mutex.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/mutex.rs rename to neveko-gui/crates/epaint/src/mutex.rs diff --git a/nevmes-gui/crates/epaint/src/shadow.rs b/neveko-gui/crates/epaint/src/shadow.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/shadow.rs rename to neveko-gui/crates/epaint/src/shadow.rs diff --git a/nevmes-gui/crates/epaint/src/shape.rs b/neveko-gui/crates/epaint/src/shape.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/shape.rs rename to neveko-gui/crates/epaint/src/shape.rs diff --git a/nevmes-gui/crates/epaint/src/shape_transform.rs b/neveko-gui/crates/epaint/src/shape_transform.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/shape_transform.rs rename to neveko-gui/crates/epaint/src/shape_transform.rs diff --git a/nevmes-gui/crates/epaint/src/stats.rs b/neveko-gui/crates/epaint/src/stats.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/stats.rs rename to neveko-gui/crates/epaint/src/stats.rs diff --git a/nevmes-gui/crates/epaint/src/stroke.rs b/neveko-gui/crates/epaint/src/stroke.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/stroke.rs rename to neveko-gui/crates/epaint/src/stroke.rs diff --git a/nevmes-gui/crates/epaint/src/tessellator.rs b/neveko-gui/crates/epaint/src/tessellator.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/tessellator.rs rename to neveko-gui/crates/epaint/src/tessellator.rs diff --git a/nevmes-gui/crates/epaint/src/text/cursor.rs b/neveko-gui/crates/epaint/src/text/cursor.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/text/cursor.rs rename to neveko-gui/crates/epaint/src/text/cursor.rs diff --git a/nevmes-gui/crates/epaint/src/text/font.rs b/neveko-gui/crates/epaint/src/text/font.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/text/font.rs rename to neveko-gui/crates/epaint/src/text/font.rs diff --git a/nevmes-gui/crates/epaint/src/text/fonts.rs b/neveko-gui/crates/epaint/src/text/fonts.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/text/fonts.rs rename to neveko-gui/crates/epaint/src/text/fonts.rs diff --git a/nevmes-gui/crates/epaint/src/text/mod.rs b/neveko-gui/crates/epaint/src/text/mod.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/text/mod.rs rename to neveko-gui/crates/epaint/src/text/mod.rs diff --git a/nevmes-gui/crates/epaint/src/text/text_layout.rs b/neveko-gui/crates/epaint/src/text/text_layout.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/text/text_layout.rs rename to neveko-gui/crates/epaint/src/text/text_layout.rs diff --git a/nevmes-gui/crates/epaint/src/text/text_layout_types.rs b/neveko-gui/crates/epaint/src/text/text_layout_types.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/text/text_layout_types.rs rename to neveko-gui/crates/epaint/src/text/text_layout_types.rs diff --git a/nevmes-gui/crates/epaint/src/texture_atlas.rs b/neveko-gui/crates/epaint/src/texture_atlas.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/texture_atlas.rs rename to neveko-gui/crates/epaint/src/texture_atlas.rs diff --git a/nevmes-gui/crates/epaint/src/texture_handle.rs b/neveko-gui/crates/epaint/src/texture_handle.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/texture_handle.rs rename to neveko-gui/crates/epaint/src/texture_handle.rs diff --git a/nevmes-gui/crates/epaint/src/textures.rs b/neveko-gui/crates/epaint/src/textures.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/textures.rs rename to neveko-gui/crates/epaint/src/textures.rs diff --git a/nevmes-gui/crates/epaint/src/util/mod.rs b/neveko-gui/crates/epaint/src/util/mod.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/util/mod.rs rename to neveko-gui/crates/epaint/src/util/mod.rs diff --git a/nevmes-gui/crates/epaint/src/util/ordered_float.rs b/neveko-gui/crates/epaint/src/util/ordered_float.rs similarity index 100% rename from nevmes-gui/crates/epaint/src/util/ordered_float.rs rename to neveko-gui/crates/epaint/src/util/ordered_float.rs diff --git a/nevmes-gui/src/apps/address_book.rs b/neveko-gui/src/apps/address_book.rs similarity index 99% rename from nevmes-gui/src/apps/address_book.rs rename to neveko-gui/src/apps/address_book.rs index 33dd286..f8ec00e 100644 --- a/nevmes-gui/src/apps/address_book.rs +++ b/neveko-gui/src/apps/address_book.rs @@ -1,4 +1,4 @@ -use nevmes_core::*; +use neveko_core::*; use std::sync::mpsc::{ Receiver, Sender, @@ -242,7 +242,7 @@ impl eframe::App for AddressBookApp { .show(&ctx, |ui| { if self.is_loading { ui.add(egui::Spinner::new()); - ui.label("sending nevmes..."); + ui.label("sending neveko..."); } ui.horizontal(|ui| ui.label(format!("to: {}", self.status.i2p))); ui.horizontal(|ui| { @@ -287,7 +287,7 @@ impl eframe::App for AddressBookApp { } if self.is_estimating_fee { ui.add(egui::Spinner::new()); - ui.label("running nevmes jwp fee estimator..."); + ui.label("running neveko jwp fee estimator..."); } ui.heading(self.status.i2p.clone()); ui.label(format!("pay to: {}", address)); @@ -608,7 +608,7 @@ impl eframe::App for AddressBookApp { } } -// Send asyc requests to nevmes-core +// Send asyc requests to neveko-core //------------------------------------------------------------------------------ fn send_contact_info_req(tx: Sender, ctx: egui::Context, contact: String) { log::debug!("async send_contact_info_req"); diff --git a/nevmes-gui/src/apps/home.rs b/neveko-gui/src/apps/home.rs similarity index 99% rename from nevmes-gui/src/apps/home.rs rename to neveko-gui/src/apps/home.rs index c283de5..35e443f 100644 --- a/nevmes-gui/src/apps/home.rs +++ b/neveko-gui/src/apps/home.rs @@ -2,7 +2,7 @@ #![forbid(unsafe_code)] use eframe::egui; -use nevmes_core::*; +use neveko_core::*; use std::{ sync::mpsc::{ Receiver, @@ -321,7 +321,7 @@ impl eframe::App for HomeApp { ui.label("____________________________________________________________________\n"); ui.label("\n"); if self.is_loading { - let label = if self.is_installing { "installing software" } else { "starting nevmes-core..." }; + let label = if self.is_installing { "installing software" } else { "starting neveko-core..." }; ui.add(egui::Spinner::new()); ui.label(label); } @@ -344,7 +344,7 @@ impl eframe::App for HomeApp { } } -// Async requests to nevmes_core module +// Async requests to neveko_core module //------------------------------------------------------------------------------------------------- fn send_xmrd_get_info_req(tx: Sender, ctx: egui::Context) { tokio::spawn(async move { @@ -404,7 +404,7 @@ fn start_core_timeout(tx: Sender, ctx: egui::Context) { crate::START_CORE_TIMEOUT_SECS, )) .await; - log::error!("start nevmes-core timeout"); + log::error!("start neveko-core timeout"); let _ = tx.send(true); ctx.request_repaint(); }); diff --git a/nevmes-gui/src/apps/lock_screen.rs b/neveko-gui/src/apps/lock_screen.rs similarity index 99% rename from nevmes-gui/src/apps/lock_screen.rs rename to neveko-gui/src/apps/lock_screen.rs index 402eebe..1bbeead 100644 --- a/nevmes-gui/src/apps/lock_screen.rs +++ b/neveko-gui/src/apps/lock_screen.rs @@ -1,5 +1,5 @@ use crate::CREDENTIAL_KEY; -use nevmes_core::*; +use neveko_core::*; use sha2::{ Digest, Sha512, diff --git a/nevmes-gui/src/apps/mailbox.rs b/neveko-gui/src/apps/mailbox.rs similarity index 99% rename from nevmes-gui/src/apps/mailbox.rs rename to neveko-gui/src/apps/mailbox.rs index 09b5c73..7dcfeee 100644 --- a/nevmes-gui/src/apps/mailbox.rs +++ b/neveko-gui/src/apps/mailbox.rs @@ -1,4 +1,4 @@ -use nevmes_core::*; +use neveko_core::*; use std::sync::mpsc::{ Receiver, Sender, diff --git a/nevmes-gui/src/apps/mod.rs b/neveko-gui/src/apps/mod.rs similarity index 100% rename from nevmes-gui/src/apps/mod.rs rename to neveko-gui/src/apps/mod.rs diff --git a/nevmes-gui/src/apps/settings.rs b/neveko-gui/src/apps/settings.rs similarity index 98% rename from nevmes-gui/src/apps/settings.rs rename to neveko-gui/src/apps/settings.rs index edc20d1..655d3f6 100644 --- a/nevmes-gui/src/apps/settings.rs +++ b/neveko-gui/src/apps/settings.rs @@ -1,4 +1,4 @@ -use nevmes_core::*; +use neveko_core::*; use sha2::{ Digest, Sha512, diff --git a/nevmes-gui/src/apps/wallet.rs b/neveko-gui/src/apps/wallet.rs similarity index 98% rename from nevmes-gui/src/apps/wallet.rs rename to neveko-gui/src/apps/wallet.rs index acba0a6..0965b2e 100644 --- a/nevmes-gui/src/apps/wallet.rs +++ b/neveko-gui/src/apps/wallet.rs @@ -1,5 +1,5 @@ use image::Luma; -use nevmes_core::*; +use neveko_core::*; use qrcode::QrCode; use std::sync::mpsc::{ Receiver, @@ -86,7 +86,7 @@ impl eframe::App for WalletApp { let code = QrCode::new(&self.s_xmr_address.clone()).unwrap(); let image = code.render::>().build(); let file_path = format!( - "/home/{}/.nevmes/qr.png", + "/home/{}/.neveko/qr.png", std::env::var("USER").unwrap_or(String::from("user")) ); image.save(&file_path).unwrap(); diff --git a/nevmes-gui/src/lib.rs b/neveko-gui/src/lib.rs similarity index 87% rename from nevmes-gui/src/lib.rs rename to neveko-gui/src/lib.rs index 7c081d1..6852c45 100644 --- a/nevmes-gui/src/lib.rs +++ b/neveko-gui/src/lib.rs @@ -6,7 +6,7 @@ mod login; mod wrap_app; /// key for fetching the login credential hash -pub const CREDENTIAL_KEY: &str = "NEVMES_GUI_KEY"; +pub const CREDENTIAL_KEY: &str = "NEVEKO_GUI_KEY"; /// TODO(c2m): configurable lock screen timeout pub const LOCK_SCREEN_TIMEOUT_SECS: u64 = 60 * 5; /// interval to search for credential on initial gui load @@ -15,7 +15,7 @@ pub const CRED_CHECK_INTERVAL: u64 = 5; pub const BLOCK_TIME_IN_SECS_EST: u128 = 0x78; /// time to wait before giving up on adding a contact pub const ADD_CONTACT_TIMEOUT_SECS: u64 = 0x5A; -/// time to wait before giving up on nevmes core +/// time to wait before giving up on neveko core pub const START_CORE_TIMEOUT_SECS: u64 = 0x79; /// bytes in a a GB for calculating space on home page pub const BYTES_IN_GB: u64 = 1000000000; diff --git a/nevmes-gui/src/login.rs b/neveko-gui/src/login.rs similarity index 98% rename from nevmes-gui/src/login.rs rename to neveko-gui/src/login.rs index 8edfbc2..fec4c66 100644 --- a/nevmes-gui/src/login.rs +++ b/neveko-gui/src/login.rs @@ -1,5 +1,5 @@ use crate::CREDENTIAL_KEY; -use nevmes_core::*; +use neveko_core::*; use sha2::{ Digest, Sha512, diff --git a/nevmes-gui/src/main.rs b/neveko-gui/src/main.rs similarity index 93% rename from nevmes-gui/src/main.rs rename to neveko-gui/src/main.rs index 40c6d38..c9d6bf6 100644 --- a/nevmes-gui/src/main.rs +++ b/neveko-gui/src/main.rs @@ -1,4 +1,4 @@ -//! App for nevmes-gui +//! App for neveko-gui #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release use std::time::Duration; @@ -39,8 +39,8 @@ fn main() -> Result<(), eframe::Error> { }) }); eframe::run_native( - "nevmes-gui-v0.5.0-alpha", + "neveko-gui-v0.5.0-alpha", options, - Box::new(|cc| Box::new(nevmes_gui::WrapApp::new(cc))), + Box::new(|cc| Box::new(neveko_gui::WrapApp::new(cc))), ) } diff --git a/nevmes-gui/src/wrap_app.rs b/neveko-gui/src/wrap_app.rs similarity index 99% rename from nevmes-gui/src/wrap_app.rs rename to neveko-gui/src/wrap_app.rs index 1abafcd..9df6159 100644 --- a/nevmes-gui/src/wrap_app.rs +++ b/neveko-gui/src/wrap_app.rs @@ -1,6 +1,6 @@ #[cfg(feature = "glow")] use eframe::glow; -use nevmes_core::*; +use neveko_core::*; use std::sync::mpsc::{ Receiver, @@ -297,7 +297,7 @@ impl WrapApp { besides setting the wallet password on initial load, better change the key for storing the random 32 byte credential to be some strong user entry and then reset wallet password with that. But anyways if - someone has access to the machine it sucks because nevmes gpg key + someone has access to the machine it sucks because neveko gpg key doesn't have a passphrase. */ diff --git a/nevmes-market/.gitignore b/neveko-market/.gitignore similarity index 100% rename from nevmes-market/.gitignore rename to neveko-market/.gitignore diff --git a/nevmes-market/Cargo.lock b/neveko-market/Cargo.lock similarity index 99% rename from nevmes-market/Cargo.lock rename to neveko-market/Cargo.lock index 5bb090d..77b771f 100755 --- a/nevmes-market/Cargo.lock +++ b/neveko-market/Cargo.lock @@ -1237,7 +1237,7 @@ dependencies = [ ] [[package]] -name = "nevmes_core" +name = "neveko_core" version = "0.5.0-alpha" dependencies = [ "chrono", @@ -1262,13 +1262,13 @@ dependencies = [ ] [[package]] -name = "nevmes_market" +name = "neveko_market" version = "0.5.0-alpha" dependencies = [ "chrono", "env_logger", "log 0.4.17", - "nevmes_core", + "neveko_core", "rocket", ] diff --git a/nevmes-market/Cargo.toml b/neveko-market/Cargo.toml similarity index 74% rename from nevmes-market/Cargo.toml rename to neveko-market/Cargo.toml index 4a64b1f..8b550bf 100755 --- a/nevmes-market/Cargo.toml +++ b/neveko-market/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "nevmes_market" +name = "neveko_market" version = "0.5.0-alpha" edition = "2021" publish = false @@ -7,6 +7,6 @@ publish = false [dependencies] chrono = "0.4.23" env_logger = "0.10.0" -nevmes_core = { path = "../nevmes-core" } +neveko_core = { path = "../neveko-core" } log = "0.4" rocket = { version = "0.5.0-rc.2", features = ["json"] } diff --git a/nevmes-market/LICENSE b/neveko-market/LICENSE similarity index 100% rename from nevmes-market/LICENSE rename to neveko-market/LICENSE diff --git a/nevmes-market/README.md b/neveko-market/README.md similarity index 99% rename from nevmes-market/README.md rename to neveko-market/README.md index e90dd43..4bd6b93 100755 --- a/nevmes-market/README.md +++ b/neveko-market/README.md @@ -1,4 +1,4 @@ -# nevmes-market +# neveko-market ## High-Level Order Lifecycle diff --git a/nevmes-market/curl.md b/neveko-market/curl.md similarity index 100% rename from nevmes-market/curl.md rename to neveko-market/curl.md diff --git a/nevmes-market/src/controller.rs b/neveko-market/src/controller.rs similarity index 99% rename from nevmes-market/src/controller.rs rename to neveko-market/src/controller.rs index 917cc57..52b7650 100644 --- a/nevmes-market/src/controller.rs +++ b/neveko-market/src/controller.rs @@ -7,7 +7,7 @@ use rocket::{ serde::json::Json, }; -use nevmes_core::*; +use neveko_core::*; use crate::{ dispute, diff --git a/nevmes-market/src/dispute.rs b/neveko-market/src/dispute.rs similarity index 98% rename from nevmes-market/src/dispute.rs rename to neveko-market/src/dispute.rs index a055233..ba54421 100644 --- a/nevmes-market/src/dispute.rs +++ b/neveko-market/src/dispute.rs @@ -3,7 +3,7 @@ use log::{ error, info, }; -use nevmes_core::{ +use neveko_core::{ db, models::*, utils, diff --git a/nevmes-market/src/lib.rs b/neveko-market/src/lib.rs similarity index 100% rename from nevmes-market/src/lib.rs rename to neveko-market/src/lib.rs diff --git a/nevmes-market/src/main.rs b/neveko-market/src/main.rs similarity index 90% rename from nevmes-market/src/main.rs rename to neveko-market/src/main.rs index bdaaac8..7b7e0c7 100755 --- a/nevmes-market/src/main.rs +++ b/neveko-market/src/main.rs @@ -1,8 +1,8 @@ #[macro_use] extern crate rocket; -use nevmes_core::*; -use nevmes_market::*; +use neveko_core::*; +use neveko_market::*; // The only changes in here should be mounting new controller methods @@ -13,7 +13,7 @@ async fn rocket() -> _ { ..rocket::Config::debug_default() }; env_logger::init(); - log::info!("nevmes-market is online"); + log::info!("neveko-market is online"); rocket::custom(&config) .mount( "/dispute", diff --git a/nevmes-market/src/order.rs b/neveko-market/src/order.rs similarity index 99% rename from nevmes-market/src/order.rs rename to neveko-market/src/order.rs index 44b1759..c718871 100644 --- a/nevmes-market/src/order.rs +++ b/neveko-market/src/order.rs @@ -3,7 +3,7 @@ use log::{ error, info, }; -use nevmes_core::{ +use neveko_core::{ db, models::*, monero, diff --git a/nevmes-market/src/product.rs b/neveko-market/src/product.rs similarity index 99% rename from nevmes-market/src/product.rs rename to neveko-market/src/product.rs index b51f53b..a0a6159 100644 --- a/nevmes-market/src/product.rs +++ b/neveko-market/src/product.rs @@ -4,7 +4,7 @@ use log::{ error, info, }; -use nevmes_core::{ +use neveko_core::{ db, models::*, utils, diff --git a/nevmes-message/.rustfmt.toml b/neveko-message/.rustfmt.toml similarity index 100% rename from nevmes-message/.rustfmt.toml rename to neveko-message/.rustfmt.toml diff --git a/nevmes-message/Cargo.lock b/neveko-message/Cargo.lock similarity index 99% rename from nevmes-message/Cargo.lock rename to neveko-message/Cargo.lock index 07aa737..6e42524 100644 --- a/nevmes-message/Cargo.lock +++ b/neveko-message/Cargo.lock @@ -1188,7 +1188,7 @@ dependencies = [ ] [[package]] -name = "nevmes_core" +name = "neveko_core" version = "0.5.0-alpha" dependencies = [ "chrono", @@ -1213,12 +1213,12 @@ dependencies = [ ] [[package]] -name = "nevmes_message" +name = "neveko_message" version = "0.5.0-alpha" dependencies = [ "env_logger", "log 0.4.17", - "nevmes_core", + "neveko_core", "rocket", ] diff --git a/nevmes-message/Cargo.toml b/neveko-message/Cargo.toml similarity index 79% rename from nevmes-message/Cargo.toml rename to neveko-message/Cargo.toml index 23a331d..e2d9a60 100644 --- a/nevmes-message/Cargo.toml +++ b/neveko-message/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "nevmes_message" +name = "neveko_message" version = "0.5.0-alpha" edition = "2021" @@ -7,6 +7,6 @@ edition = "2021" [dependencies] env_logger = "0.10.0" -nevmes_core = { path = "../nevmes-core" } +neveko_core = { path = "../neveko-core" } log = "0.4" rocket = { version = "0.5.0-rc.2", features = ["json"] } diff --git a/nevmes-message/src/controller.rs b/neveko-message/src/controller.rs similarity index 98% rename from nevmes-message/src/controller.rs rename to neveko-message/src/controller.rs index 6fdd124..9c82e6c 100644 --- a/nevmes-message/src/controller.rs +++ b/neveko-message/src/controller.rs @@ -6,7 +6,7 @@ use rocket::{ serde::json::Json, }; -use nevmes_core::{ +use neveko_core::{ auth, message, models::*, diff --git a/nevmes-message/src/lib.rs b/neveko-message/src/lib.rs similarity index 100% rename from nevmes-message/src/lib.rs rename to neveko-message/src/lib.rs diff --git a/nevmes-message/src/main.rs b/neveko-message/src/main.rs similarity index 85% rename from nevmes-message/src/main.rs rename to neveko-message/src/main.rs index 1aa2a02..3f2b58f 100644 --- a/nevmes-message/src/main.rs +++ b/neveko-message/src/main.rs @@ -1,8 +1,8 @@ #[macro_use] extern crate rocket; -use nevmes_core::*; -use nevmes_message::*; +use neveko_core::*; +use neveko_message::*; // The only changes in here should be mounting new controller methods @@ -13,7 +13,7 @@ async fn rocket() -> _ { ..rocket::Config::debug_default() }; env_logger::init(); - log::info!("nevmes-message is online"); + log::info!("neveko-message is online"); rocket::custom(&config) .mount("/message/decrypt", routes![controller::decrypt]) .mount("/messages", routes![controller::get_messages]) diff --git a/nevmes-gui/README.md b/nevmes-gui/README.md deleted file mode 100644 index 40625e9..0000000 --- a/nevmes-gui/README.md +++ /dev/null @@ -1,7 +0,0 @@ - -## Dev - -Note: gui depends on the binary if starting core from gui -otherwise run nevmes core on your own - -`cd ../ && cargo build && cp target/debug/nevmes nevmes-gui/ && cd nevmes-gui && RUST_LOG=debug cargo run` \ No newline at end of file diff --git a/nevmes-gui/crates/egui_web/README.md b/nevmes-gui/crates/egui_web/README.md deleted file mode 100644 index 2aa1b20..0000000 --- a/nevmes-gui/crates/egui_web/README.md +++ /dev/null @@ -1 +0,0 @@ -# nevmes gui \ No newline at end of file diff --git a/scripts/build_all_and_run.sh b/scripts/build_all_and_run.sh index 4757646..726f896 100755 --- a/scripts/build_all_and_run.sh +++ b/scripts/build_all_and_run.sh @@ -1,8 +1,8 @@ #!/bin/bash -cd nevmes-auth && cargo build -cd ../nevmes-contact && cargo build -cd ../nevmes-core && cargo build -cd ../nevmes-gui && cargo build -cd ../nevmes-market && cargo build -cd ../nevmes-message && cargo build +cd neveko-auth && cargo build +cd ../neveko-contact && cargo build +cd ../neveko-core && cargo build +cd ../neveko-gui && cargo build +cd ../neveko-market && cargo build +cd ../neveko-message && cargo build cd ../ && RUST_LOG=debug cargo run $1 diff --git a/scripts/build_release.sh b/scripts/build_release.sh index 0f2ce71..7eaadb5 100755 --- a/scripts/build_release.sh +++ b/scripts/build_release.sh @@ -1,27 +1,27 @@ #!/bin/bash -# Build nevmes release -# Run from the nevmes root +# Build neveko release +# Run from the neveko root # usage: ./scripts/build_release vX.X.X-ver # Linux x86_64 output directory LINUX_X86_64="x86_64-linux-gnu" -RELEASE_NAME="nevmes-$LINUX_X86_64-$1" +RELEASE_NAME="neveko-$LINUX_X86_64-$1" LINUX_OUTPUT_DIR=".build/release/$RELEASE_NAME" mkdir -p $LINUX_OUTPUT_DIR cargo build --release -cp target/release/nevmes $LINUX_OUTPUT_DIR -cd nevmes-gui && cargo build --release && cp target/release/nevmes_gui ../$LINUX_OUTPUT_DIR +cp target/release/neveko $LINUX_OUTPUT_DIR +cd neveko-gui && cargo build --release && cp target/release/neveko_gui ../$LINUX_OUTPUT_DIR cp -r assets/ ../$LINUX_OUTPUT_DIR cd ../ -cd nevmes-auth && cargo build --release && cp target/release/nevmes_auth ../$LINUX_OUTPUT_DIR +cd neveko-auth && cargo build --release && cp target/release/neveko_auth ../$LINUX_OUTPUT_DIR cd ../ -cd nevmes-contact && cargo build --release && cp target/release/nevmes_contact ../$LINUX_OUTPUT_DIR +cd neveko-contact && cargo build --release && cp target/release/neveko_contact ../$LINUX_OUTPUT_DIR cd ../ -cd nevmes-market && cargo build --release && cp target/release/nevmes_market ../$LINUX_OUTPUT_DIR +cd neveko-market && cargo build --release && cp target/release/neveko_market ../$LINUX_OUTPUT_DIR cd ../ -cd nevmes-message && cargo build --release && cp target/release/nevmes_message ../$LINUX_OUTPUT_DIR +cd neveko-message && cargo build --release && cp target/release/neveko_message ../$LINUX_OUTPUT_DIR cd ../ # make the bzip for linux cd .build/release/ && tar -cjf $RELEASE_NAME.tar.bz2 $RELEASE_NAME/ && mv $RELEASE_NAME.tar.bz2 ../../ \ No newline at end of file diff --git a/scripts/cleanall.sh b/scripts/cleanall.sh index 5c1178e..2735efa 100755 --- a/scripts/cleanall.sh +++ b/scripts/cleanall.sh @@ -1,10 +1,10 @@ #!/bin/bash -# Run from the nevmes root -cd nevmes-auth && cargo clean -cd ../nevmes-contact && cargo clean -cd ../nevmes-core && cargo clean -cd ../nevmes-gui && cargo clean -cd ../nevmes-market && cargo clean -cd ../nevmes-message && cargo clean +# Run from the neveko root +cd neveko-auth && cargo clean +cd ../neveko-contact && cargo clean +cd ../neveko-core && cargo clean +cd ../neveko-gui && cargo clean +cd ../neveko-market && cargo clean +cd ../neveko-message && cargo clean cd ../ && cargo clean rm -rf .build/ diff --git a/scripts/fmtall.sh b/scripts/fmtall.sh index bee859c..183594f 100755 --- a/scripts/fmtall.sh +++ b/scripts/fmtall.sh @@ -1,9 +1,9 @@ #!/bin/bash -# Run from the nevmes root -cd nevmes-auth && cargo +nightly fmt -cd ../nevmes-contact && cargo +nightly fmt -cd ../nevmes-core && cargo +nightly fmt -cd ../nevmes-gui && cargo +nightly fmt -cd ../nevmes-market && cargo +nightly fmt -cd ../nevmes-message && cargo +nightly fmt +# Run from the neveko root +cd neveko-auth && cargo +nightly fmt +cd ../neveko-contact && cargo +nightly fmt +cd ../neveko-core && cargo +nightly fmt +cd ../neveko-gui && cargo +nightly fmt +cd ../neveko-market && cargo +nightly fmt +cd ../neveko-message && cargo +nightly fmt cd ../ && cargo +nightly fmt diff --git a/src/controller.rs b/src/controller.rs index c7d5a89..4a90754 100644 --- a/src/controller.rs +++ b/src/controller.rs @@ -6,8 +6,8 @@ use rocket::{ serde::json::Json, }; -use nevmes_core::*; -use nevmes_market::*; +use neveko_core::*; +use neveko_market::*; // JSON APIs exposed over i2p @@ -75,7 +75,7 @@ pub async fn gen_jwp(proof: Json) -> Custom> { Custom(Status::Ok, Json(reqres::Jwp { jwp })) } -// NEVMES Market APIs +// NEVEKO Market APIs //----------------------------------------------- /// Get all products diff --git a/src/main.rs b/src/main.rs index 731a92d..c2e39ff 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,8 +6,8 @@ use rocket::{ serde::json::Json, }; -use nevmes::*; -use nevmes_core::*; +use neveko::*; +use neveko_core::*; #[catch(402)] fn payment_required() -> Custom> {