Prepare for atcoreinstance
ClosedPublic

Authored by rizzitello on Feb 26 2018, 3:31 AM.

Details

Summary
  • ProfileDialog::detectFWPlugins() to find atcore plugins without atcore.
  • SERIAL::BAUDS QStringList containing our list of bauds.

Diff Detail

Repository
R231 Atelier
Branch
lessAtCore
Lint
No Linters Available
Unit
No Unit Test Coverage
rizzitello requested review of this revision.Feb 26 2018, 3:31 AM
rizzitello created this revision.
rizzitello planned changes to this revision.Feb 26 2018, 9:39 PM

I will be revising this to move these over to the profile dialog itself. Since these two functions exsist only for the use of the profiles dialog.

  • Move SERIAL:BAUDS and detectFW to profilesdialog
rizzitello edited the summary of this revision. (Show Details)Feb 27 2018, 1:04 AM
rizzitello updated this revision to Diff 28160.Feb 27 2018, 1:59 AM
  • Add ProfilesDialog::detectFWPlugins() to find atcore plugins without atcore.
  • Add SERIAL:BAUDS to ProfilesDialog
laysrodrigues accepted this revision.Feb 27 2018, 12:48 PM
This revision is now accepted and ready to land.Feb 27 2018, 12:48 PM
src/dialogs/profilesdialog.cpp
239

don't we have a logging category for this ?
this debug messages are important to solve deployment and installation problems !

src/dialogs/profilesdialog.cpp
200

This is atcore job not for the printer host.

laysrodrigues added inline comments.Feb 27 2018, 1:11 PM
src/dialogs/profilesdialog.cpp
200

The problem that @rizzitello and I found is that to get those data we need to create and AtCore variable to get them, only for that, and we thought that is a shit solution(At least I did). We need to discover a better way to get those firmwares without the need to create an AtCore instance.

This is a problem that need to be solved in atcore, and not doing workarounds in the printerhost.

Not in the profiles dialog. I've opted to remove the debug calls here as
well

rizzitello marked 2 inline comments as done.Feb 27 2018, 1:25 PM
rizzitello added inline comments.
src/dialogs/profilesdialog.cpp
200

I agree with @laysrodrigues . We had to change this for the above reasons. This does not remove atcore ability to send this data I just creates a local function so we dont need to link atcore for the data. This is also a slimer version of what is in AtCore itself. (does the same but in less lines)

rizzitello closed this revision.Feb 27 2018, 9:53 PM