Skip to content
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

[SofaKernel] Minor code refactor in BaseData & new StringUtils functions. #860

Merged

Conversation

damienmarchal
Copy link
Contributor

@damienmarchal damienmarchal commented Dec 11, 2018

Two change needed by the SofaPython3 plugin.

  • In BaseData Some method have two version, one without arguments the other with an ExecParm. In pybind11 we need to differentiate explicitely the two version making the code more complex. As I see no good reason why to keep the two version in Sofa I merged these two into one by using a default param = nullptr.

  • I have added a join/split function in the StringUtils class.

  • In SimpleAPI I found allowing BaseObjectDescription useful to create object and node. So I added new functions.


This PR:

  • builds with SUCCESS for all platforms on the CI.
  • does not generate new warnings.
  • does not generate new unit test failures.
  • does not generate new scene test failures.
  • does not break API compatibility.
  • is more than 1 week old (or has fast-merge label).

Reviewers will merge only if all these checks are true.

@damienmarchal damienmarchal added pr: fast merge Minor change that can be merged without waiting for the 7 review days pr: status to review To notify reviewers to review this pull-request labels Dec 11, 2018
@guparan
Copy link
Contributor

guparan commented Dec 17, 2018

@damienmarchal Isn't this PR independent from #859? I can remove ca88a83 from it.

@damienmarchal damienmarchal added pr: status wip Development in the pull-request is still in progress and removed pr: status to review To notify reviewers to review this pull-request labels Dec 19, 2018
@damienmarchal damienmarchal force-pushed the sofa_mergeCodeWithDefaultParam branch 2 times, most recently from 3facf42 to 8a8a560 Compare January 8, 2019 13:55
@damienmarchal damienmarchal changed the title [SofaKernel] merge code with default param [SofaKernel] Minor code refactor in BaseData & new StringUtils functions. Jan 8, 2019
@damienmarchal damienmarchal added pr: status to review To notify reviewers to review this pull-request and removed pr: status wip Development in the pull-request is still in progress labels Jan 8, 2019
@guparan
Copy link
Contributor

guparan commented Jan 9, 2019

[ci-build][with-scene-tests]

@damienmarchal
Copy link
Contributor Author

Can someone review this ?

@guparan guparan added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Jan 16, 2019
@marques-bruno marques-bruno merged commit 215bedc into sofa-framework:master Jan 16, 2019
@damienmarchal damienmarchal deleted the sofa_mergeCodeWithDefaultParam branch February 25, 2019 09:08
@guparan guparan added this to the v19.06 milestone Jun 20, 2019
@guparan guparan added the pr: clean Cleaning the code label Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: clean Cleaning the code pr: fast merge Minor change that can be merged without waiting for the 7 review days pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants