Very small fixes
ClosedPublic

Authored by stelioss on Oct 25 2017, 1:16 PM.

Details

Summary

a backslash added to fix a warning
add explicit in two ctors
spelling corrections

Test Plan

build, compile : OK

Diff Detail

Repository
R232 AtCore
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
stelioss created this revision.Oct 25 2017, 1:16 PM
stelioss edited the summary of this revision. (Show Details)Oct 25 2017, 1:40 PM
stelioss added a project: Atelier: AtCore.
stelioss edited the test plan for this revision. (Show Details)Oct 25 2017, 1:50 PM
stelioss added a reviewer: laysrodrigues.
tcanabrava added inline comments.
src/atcore.cpp
301 ↗(On Diff #21307)

nope, this will break the parser. the original line removed a character, your code inserts a NULL.

src/seriallayer.cpp
65 ↗(On Diff #21307)

Why specify the parent class if this class inherits from it?

testclient/CMakeLists.txt
41 ↗(On Diff #21307)

Drop the dependencies to KMessageBox as it only adds a lot of libraries to be build in non - linux targets, we are using Qt only on the test client to make things simple.

testclient/mainwindow.cpp
389 ↗(On Diff #21307)

QMessageBox should stay - this is a small test client and should have minimal dependencies.

unittests/atcoretests.h
4 ↗(On Diff #21307)

<> means global "" is local, so this change should also be reverted.

stelioss updated this revision to Diff 21313.Oct 25 2017, 2:30 PM
stelioss edited the summary of this revision. (Show Details)
  • D8471 changes reverted in six files
rizzitello requested changes to this revision.Oct 25 2017, 2:48 PM
rizzitello added a subscriber: rizzitello.
rizzitello added inline comments.
doc/mainpage.md
27

Fixing the projects only warning !

src/atcore.cpp
28 ↗(On Diff #21313)

I put these after the globals for readablity. Be sure they are consistant thru out the files.

src/plugins/aprinter.json
1 ↗(On Diff #21313)

Put the Correct info into the json file or revert them back to empty .

src/plugins/grbl.json
1 ↗(On Diff #21313)

Put the Correct info into the json file or revert them back to empty .

src/plugins/marlin.json
1 ↗(On Diff #21313)

Put the Correct info into the json file or revert them back to empty .

src/plugins/repetier.json
1 ↗(On Diff #21313)

Put the Correct info into the json file or revert them back to empty .

src/plugins/smoothie.json
1 ↗(On Diff #21313)

Put the Correct info into the json file or revert them back to empty .

src/plugins/sprinter.json
1 ↗(On Diff #21313)

Put the Correct info into the json file or revert them back to empty .

src/plugins/teacup.json
1 ↗(On Diff #21313)

Put the Correct info into the json file or revert them back to empty .

unittests/temperaturetests.h
4 ↗(On Diff #21313)

<> is for global includes "" for local revert to local include.

This revision now requires changes to proceed.Oct 25 2017, 2:48 PM
stelioss updated this revision to Diff 21318.Oct 25 2017, 3:04 PM
  • json files are now empty, consistency in cpp files for own header is checked
rizzitello requested changes to this revision.Oct 25 2017, 3:20 PM
rizzitello added inline comments.
testclient/CMakeLists.txt
44 ↗(On Diff #21318)

Please remove this empty line and the few above it.

This revision now requires changes to proceed.Oct 25 2017, 3:20 PM
stelioss updated this revision to Diff 21322.Oct 25 2017, 3:27 PM
  • empty lines at the end removed

In krazy2 analysis, it seemw a lot of things that appear as issues are either not important or non-issues

rizzitello accepted this revision.Oct 25 2017, 3:29 PM
  • empty lines at the end removed In krazy2 analysis, it seemw a lot of things that appear as issues are either not important or non-issues

Yes I agree, And I thank you for your patch!

This revision is now accepted and ready to land.Oct 25 2017, 3:29 PM
laysrodrigues accepted this revision.Oct 25 2017, 5:48 PM

Please merge it =D

Please merge it =D

I am not sure I can. I cloned it from anongit URL and now running 'arc land' gives a fatal :
The requested URL returned error: 403

Please merge it =D

I am not sure I can. I cloned it from anongit URL and now running 'arc land' gives a fatal :
The requested URL returned error: 403

Alright i've got you this time.

It Seams I am not able to land your patch either but for different reasons. i get two errors for each of your commits

remote: Audit failure - Commit 921e0504b54b9ddbdf7ddb3fdd44745093fc684f - Non-full name: NAMEUSED
remote: Audit failure - Commit 921e0504b54b9ddbdf7ddb3fdd44745093fc684f - Email address has an invalid domain : YOUREMAIL

It Seams I am not able to land your patch either but for different reasons. i get two errors for each of your commits

remote: Audit failure - Commit 921e0504b54b9ddbdf7ddb3fdd44745093fc684f - Non-full name: NAMEUSED
remote: Audit failure - Commit 921e0504b54b9ddbdf7ddb3fdd44745093fc684f - Email address has an invalid domain : YOUREMAIL

is it because I haven't verify my email address?

It's possible. I'm not sure why

stelioss added a comment.EditedOct 25 2017, 11:04 PM

It's possible. I'm not sure why

OK, verified. You may retry, if you wish
Also my working copy is not associated with any repository

@stelioss I think that you didnt made the git setup on your machine:
git config -- global user.name and git config --global user.email
You need that configured so you can make the signature on your commits.
Check this link: https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup

After you correct your name to have both a first and last and your email to be a vaild one (with in git) you will neeed to update the commit
git commit -s --amend should now show the new info and -s will add a signature all commits need to be signed. when that is done update this diff. And I can do the rest.

stelioss updated this revision to Diff 21347.EditedOct 26 2017, 6:29 AM
  • empty lines at the end removed

diff updated

I'll try to solve the conflicts I've got invoking 'git pull'

  • empty lines at the end removed

    diff updated

    I'll try to solve the conflicts I've got invoking 'git pull'

Don't worry about that i will do it durring landing . just be sure your gitname and git email are valid to avoid landing errors.

  • empty lines at the end removed

    diff updated

    I'll try to solve the conflicts I've got invoking 'git pull'
Don't worry about that i will do it durring landing . just be sure your gitname and git email are valid to avoid landing errors.

yes, user.name and user.email are in .gitcomfig now

  • empty lines at the end removed

    diff updated

    I'll try to solve the conflicts I've got invoking 'git pull'
Don't worry about that i will do it durring landing . just be sure your gitname and git email are valid to avoid landing errors.

yes, user.name and user.email are in .gitcomfig now

I still get the same error . As described by lays above you need to add a real name (first and last). For your email please use the same as you use for your identity mail. If the current mail is your identity mail (and as you said its varified ) we may have a bug there due to the uncommon domain postfix, that might need a sysadmin ticket to fix.

Non-full name
Email address has an invalid domain

stelioss added a comment.EditedOct 26 2017, 10:37 PM
  • empty lines at the end removed

    diff updated

    I'll try to solve the conflicts I've got invoking 'git pull'
Don't worry about that i will do it durring landing . just be sure your gitname and git email are valid to avoid landing errors.

yes, user.name and user.email are in .gitconfig now

I still get the same error . As described by lays above you need to add a real name (first and last). For your email please use the same as you use for your identity mail. If the current mail is your identity mail (and as you said its varified ) we may have a bug there due to the uncommon domain postfix, that might need a sysadmin ticket to fix.

Non-full name
Email address has an invalid domain

although not so uncommon, possibly it needs a kde.org domain to make it valid?
Should the first last names in .gitconfig be identical to the first last names that are associated with the email address?
Because now they are not and I can fix that if necessary
Now I receive your phabricator comments in my email

They don't need to be kde.org email and the name doesn't have to match the
emails but you do need first and last name. You do need to sign the commit
with git commit -s --amend.

stelioss added a comment.EditedOct 27 2017, 8:32 AM

They don't need to be kde.org email and the name doesn't have to match the
emails but you do need first and last name. You do need to sign the commit
with git commit -s --amend.

I signed it.
Initially I've made three commits.
Now the last one is signed correctly (I'll check for the rest)
and there is a list of modified files in the local repo.
About the 'own header first', commit, I did it because ebn said so but I can discard it, if you prefer.

two local commits remain to be signed

stelioss added a comment.EditedOct 27 2017, 1:37 PM

two local commits remain to be signed

I reset to origin/master discarding all of my commits and committed only three changes:
the one that fixes the warning, the explicit constructors and the spelling corrections.
At least now it looks clean: one commit with correct credentials

stelioss added a comment.EditedOct 27 2017, 1:47 PM

two local commits remain to be signed

I reset to origin/master discarding all of my commits and committed only three changes:
the one that fixes the warning, the explicit constructors and the spelling corrections.
At least now it looks clean: one commit with correct credentials

I didn't merge as lays suggested, I made things complicated instead
because I was not sure about the correctness of the changes I discarded later.

stelioss retitled this revision from attempt to resolve atcore issues as shown in https://ebn.kde.org/krazy/reports/extragear/base/atcore/index.html (rev 812d54f) to Very small fixes.Oct 28 2017, 8:39 AM
stelioss edited the summary of this revision. (Show Details)
stelioss updated this revision to Diff 21493.Oct 28 2017, 1:58 PM

a clean update to match the revision summeary

This revision was automatically updated to reflect the committed changes.