Code Monkey home page Code Monkey logo

fast_serial's People

Contributors

mj8w avatar

Stargazers

 avatar

Watchers

 avatar

fast_serial's Issues

Up/Down does not persist

Up/down buttons don't persist the list order, should be saving the list to settings when reordering...

Add progress bar

Add progress bar for the running script dialog.
Enable the scripts so they can update the progress.

Add script running dialog

When running a script through an action, pop up a dialog with an abort button.
If the script returns a failure, show the error in the dialog (show a hidden text edit), and change the abort button to "done".
If the script completes, automatically close the dialog.

Add ability to filter the output based on a regular expression

Add a new list section with a horizontal slider, below the actions list. The new list works just like the current actions list, with add/remove/edit/up/down buttons. The new list will provide filtering of the output.

Filters are applied to lines of text and cannot match multiple lines.

Add scripting to actions

Add a new file "scripts.py" to the base directory.
The new file will contain user scripts.
The user scripts can be accessed through the action dialog. Actions can run a script in the new file by putting the <RUN (xxxxx)> element. The <RUN (xxxx)> command will cause the script to run immediately.
For now, it must be the only contents of the action.

Add selection metrics

When selecting text in the terminal, provide some metrics on the GUI somewhere (top or bottom?) that show: Number of rows selected, and the number of characters selected

Add new "send" feature

Add a line entry widget to write to the active serial connection without adding a new action.
The line will send the text entry contents followed by cr/lf on pressing the enter key
The up arrow will access recent history.
Retain up to 100 entries in the history
Store the history in the permanent settings

duplicate actions messes up settings

Naming 2 items the same in the actions list messes up settings.py. After that, if you delete one of them, it doesn't get deleted in settings.py. Deleting both of the duplicates restores settings.py to have one of the entries.

Save Filter Selection

Save the selected filters when the selection changes, and restore them when the program starts

Add scripting thread

Run the action scripts by starting a thread that will actually execute the script.
When running the script thread, disable the appropriate dialog widgets, and restore them when the script finishes

Add expect to scripting

add "Expect" object to scripting so that scripts will have the ability to wait for incoming data.
Expect object will be connected to signal from the console that provides serial data
Expect object will have a function to write to the serial console
Expect object will be deleted when the thread ends

Clicking on console shouldn't be permitted

clicking on the console changes the insert point where incoming text is placed. When the user clicks, it should be ignored. Should be able to select text from the console though, at least when the console is inactive

setup.py

Does it work? What is needed to make it work?

Multi-select filters

Would be nice if filters stacked so that multiple can be selected and the filters add output when each is selected

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.