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

[READY] CompilationDatabase now accepts unicode strings #394

Merged
merged 5 commits into from
Feb 26, 2016
Merged

Conversation

Valloric
Copy link
Member

We now have tests to ensure all of py2 str/unicode and py3 bytes/str
work as params to CompilationDatabase (both the ctor and the commands
func).

Fixes #378

Review on Reviewable

We now have tests to ensure all of py2 str/unicode and py3 bytes/str
work as params to CompilationDatabase (both the ctor and the commands
func).

Fixes #378
@vheon
Copy link
Contributor

vheon commented Feb 25, 2016

:lgtm:


Reviewed 9 of 10 files at r1, 3 of 3 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from the review on Reviewable.io

micbou and others added 2 commits February 25, 2016 23:20
[READY] Fix Python support tests on Windows

Fix tests by using a specific `compile_commands.json` for Windows. Refactor them to reduce code duplication.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/396)
<!-- Reviewable:end -->
@micbou
Copy link
Collaborator

micbou commented Feb 26, 2016

Reviewed 10 of 11 files at r1, 3 of 3 files at r2, 4 of 5 files at r3.
Review status: all files reviewed at latest revision, 1 unresolved discussion.


cpp/ycm/tests/TestUtils.h, line 38 [r1] (raw file):
Doesn't seem to be used in this PR. Will it be needed later?


Comments from the review on Reviewable.io

@Valloric
Copy link
Member Author

Review status: 10 of 11 files reviewed at latest revision, 1 unresolved discussion.


cpp/ycm/tests/TestUtils.h, line 38 [r1] (raw file):
Ah, this is a leftover from a previous (and unpublished) version of this PR. Deleted. Good catch!


Comments from the review on Reviewable.io

@puremourning
Copy link
Member

:LGTM: feel free to pull the trigger if this ready.


Reviewed 6 of 11 files at r1, 1 of 3 files at r2, 4 of 5 files at r3, 1 of 2 files at r4.
Review status: all files reviewed at latest revision, 1 unresolved discussion.


cpp/ycm/PythonSupport.h, line 35 [r4] (raw file):
Minor pedantry: shouldnt doc comments start ///? Iirc from doing GetDoc, // comments aren't included in libclangs doxygen parser. Could be remembering wrong.


Comments from the review on Reviewable.io

@Valloric
Copy link
Member Author

Thanks for the reviews everyone!

@homu r=vheon

@homu
Copy link
Contributor

homu commented Feb 26, 2016

📌 Commit ef1dd55 has been approved by vheon

homu added a commit that referenced this pull request Feb 26, 2016
[READY] CompilationDatabase now accepts unicode strings

We now have tests to ensure all of py2 str/unicode and py3 bytes/str
work as params to CompilationDatabase (both the ctor and the commands
func).

Fixes #378

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/394)
<!-- Reviewable:end -->
@homu
Copy link
Contributor

homu commented Feb 26, 2016

⌛ Testing commit ef1dd55 with merge 1b5e83d...

@Valloric
Copy link
Member Author

Review status: 10 of 11 files reviewed at latest revision, 1 unresolved discussion.


cpp/ycm/PythonSupport.h, line 35 [r4] (raw file):
Doxygen comments do start with ///, but since when do we write those? Did I miss something? :D

Anyway, changed to use triple slash.


Comments from the review on Reviewable.io

@homu
Copy link
Contributor

homu commented Feb 26, 2016

☀️ Test successful - status

@homu homu merged commit ef1dd55 into master Feb 26, 2016
@Valloric Valloric deleted the db-unicode branch February 26, 2016 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants