Giter Site home page Giter Site logo

turbowafflz / imaginaryinfinity-calculator Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 7.77 MB

This project has moved to Gitlab

Home Page: https://gitlab.com/TurboWafflz/ImaginaryInfinity-Calculator

License: GNU General Public License v3.0

Python 81.85% Shell 14.43% Batchfile 0.48% PowerShell 3.24%

imaginaryinfinity-calculator's Issues

Move all core functions in main.py to core.py

Describe the bug
Move all main functions from main.py to core.py so that they are unified instead of having multiple of the same function since you can't import things from main in core, because of circular imports.

Portable version doesn't work

Describe the bug
The calculator is raising a FileNotFoundError if config.ini isn't found in ~/.iicalc/ (line 85)

Screenshots
image

pm.remove and pm.install Accepting lists

Describe the solution you'd like
Let pm.remove() and pm.install() accept lists as well as strings

Additional context
pm.remove("plugin")/pm.remove("plugin") and pm.remove(["plugin1", "plugin2", "plugin3"])/pm.install(["plugin1", "plugin2", "plugin3"]). Just putting this here because no new features until merge into master

Update installed components

Describe the bug
I don't believe I'm updating the launcher/icon/desktop file etc.

Expected behavior
Update all installed components

Hash verification fails when user has old version of index

Describe the bug
If the user doesn't run pm.update() after a plugin is updated, the user will have the incorrect hash

To Reproduce
Run pm.update(), update a plugin, and then install the plugin

Expected behavior
Possible auto detection of out of date index

Desktop (please complete the following information):
Any

Additional context
Possibly detect when user index is out of date via a HEAD request to the server or a JSON API endpoint or something. Possibly auto update index when certain comments, like pm.upgrade() are ran.

ensurereqs argument

Is your feature request related to a problem? Please describe.
It would be nice for the user to be able to run iicalc --ensurereqs or something similar in order to install the things in requirements.txt. This could be useful if the user installs the calculator but accidentally says "No" to installing the requirements on the first start.

Describe the solution you'd like
An argument for the command line version of the calculator, maybe something like --ensurereqs

List settings CLI

Describe the solution you'd like
Add a settings.list() command to list all available settings and their current values from the command line

Additional context
Putting this here because no new features until merge to master

Updater doesn't add new files

Describe the bug
The updater won't install any new files added if the calculator was installed via installer.sh. It also didn't seem to update version.txt

To Reproduce
Install the calculator with installer.sh, delete the installed copy of beta.py, update the calculator, and beta.py will not be replaced

Expected behavior
Updating should install the new files added

History doesn't save when calculator is restarted via settings editor

Describe the bug
The history does not save when the calculator is restarted via settings.editor()

To Reproduce
Type commands, go to the GUI settings editor with settings.editor(), save changes and restart, then navigate up through history with the up arrow. The command you typed before restarting are not there

Expected behavior
It should save the history when restarted, like it does when the restart() command is executed or when the calculator is exited

Desktop (please complete the following information):

  • OS: Any
  • OS Version: Any
  • Python 3 Version: Any

Additional context
Possibly fixable by using the same hacky method that I used to save history on restart(), but making a history class with a save function is probably smarter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.