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

use latin-1 encoding when reading/writing .idl files, prepend BOM to generated C/C++ files when necessary #391

Merged
merged 3 commits into from
Jul 31, 2019

Conversation

dirk-thomas
Copy link
Member

Addresses the problem on Windows related to ros2/test_interface_files#8.

Build Status (only passed because these tests are disabled: ros2/system_tests#377).

@dirk-thomas dirk-thomas added bug Something isn't working in review Waiting for review (Kanban column) labels Jul 19, 2019
@dirk-thomas dirk-thomas self-assigned this Jul 19, 2019
@dirk-thomas dirk-thomas added in progress Actively being worked on (Kanban column) and removed in review Waiting for review (Kanban column) labels Jul 19, 2019
sloretz
sloretz previously approved these changes Jul 19, 2019
@dirk-thomas dirk-thomas force-pushed the dirk-thomas/bom-generated-code branch from fc12331 to c758b12 Compare July 19, 2019 16:25
@dirk-thomas dirk-thomas added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Jul 19, 2019
@dirk-thomas
Copy link
Member Author

After all the issues in the pipeline have been addressed the second commit in this PR fixes the actual problem from #388 and prepends a BOM to generated C/C++ if necessary: Build Status

@dirk-thomas dirk-thomas requested a review from sloretz July 19, 2019 21:48
@sloretz sloretz dismissed their stale review July 19, 2019 21:49

changes since review

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas dirk-thomas force-pushed the dirk-thomas/bom-generated-code branch from 2697181 to 18f022b Compare July 25, 2019 19:18
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas dirk-thomas changed the title use utf-8 encoding when reading/writing expanded templates use latin-1 encoding when reading/writing .idl files Jul 26, 2019
@dirk-thomas dirk-thomas changed the title use latin-1 encoding when reading/writing .idl files use latin-1 encoding when reading/writing .idl files, prepend BOM to generated C/C++ files when necessary Jul 26, 2019
@dirk-thomas dirk-thomas merged commit 4b31e72 into master Jul 31, 2019
@delete-merged-branch delete-merged-branch bot deleted the dirk-thomas/bom-generated-code branch July 31, 2019 14:39
skucheria pushed a commit that referenced this pull request Aug 2, 2019
…generated C/C++ files when necessary (#391)

* use utf-8 encoding when reading/writing expanded templates

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>

* inject BOM into generated C/C++ code when necessary

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>

* use latin-1 encoding for .idl files

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
skucheria pushed a commit that referenced this pull request Aug 2, 2019
…generated C/C++ files when necessary (#391)

* use utf-8 encoding when reading/writing expanded templates

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>

* inject BOM into generated C/C++ code when necessary

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>

* use latin-1 encoding for .idl files

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in review Waiting for review (Kanban column)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants