-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qucs#956 command line #974
Conversation
there are too many, apparently unrelated, changes and it's difficult to readily understand what are the actual functional changes. Whitespace/indentation changes in code that did not need to be touched otherwise should not be done, see the coding conventions in the Contributing guidelines. |
The problem lies in not updated tests module SchematicTests.cpp and I hope the next travis run will be OK. |
I'll let you fix the Travis error; I have already split your initial commit in a few parts, separating the whitespace changes (which will be removed). Once CI is passing I'll push these changes on top of your commits, so you can take a look. Later I'll squash the unneeded commits. |
Note that OSX has a new error, independent of the code from this PR:
|
ah, thanks - my google-fu was weak apparently 😁. |
I've split your changes, grouping them broadly according to their purpose. There are a few reverts just to avoid force-pushing, for the moment. Later this will be rebased on the latest develop and those reverts squashed/removed. I see that after all the changes, I now appear to be the author of all the commits, I'll fix that when rebasing. |
Please rebase and cleanup history. |
…qucs into qucs_956_commandLine
Hi, after checks are OK I am going to rebase: |
#956 command line tests #956 command line tests-2 travis_qt_test_01 Revert all previous changes back to `develop` This reverts commit 5c696ce. Allow opening a project from the command line by specifiying the project path and optionally the name of contained schematics that should be loaded: qucs [ projectPath_prj [ /schematicName.sch ] ] Specify explicitly categories to skip when creating the components list from -list-entries Use enums to refer to Project View tabs Whitespace changes only Revert "Whitespace changes only" This reverts commit ff1100b. travis_qt_test_04 Temporary fix for Travis OSX issue
If a Diagram contained a Graph which referenced a variable in a Dataset with a name containing spaces, the Graph loading failed as the simple parsing code was confused by the spaces in the Dataset name.
The linblocks tutorials teach how to use QUCS to simulate the frequency response of linear blocks, and how to define them using the subcircuit feature.
It is good practice to update develop and rebase on top of it. Something like:
|
I'd suggest to use |
Its already done: git rebase -i e93a709 By the way, I am creating a git-wiki-page with the workflow step-by-step: |
A new PR#981 Qucs 956 command line clean replaces this one |
in general there is no need to open a new PR if you are working on the same changes; just |
@oxmon-2500, I see you are struggling with rebase. I typically use the following:
|
The following statements in qucs.cpp do not work as supposed (no any action):
//-------------------------------------------------------------------------------------------------------
// select (highlight) project in QListView (projects)
QModelIndex idx = m_homeDirModel->index(openProjName, 0); //FIXME
Projects->selectionModel()->select(idx, QItemSelectionModel::Select); //FIXME
//-------------------------------------------------------------------------------------------------------
Possible someone with Qt-experience can solve it in the future