-
Notifications
You must be signed in to change notification settings - Fork 239
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
Added support for windows paths #2276
Conversation
Thanks for breaking this into a separate PR! I have concerns about the We can leave the URL code un-changed (that is, revert the changes in this PR) and instead request that Windows application code follows two rules:
With these two changes on just the Windows application side, the URL code can remain simpler and stay the same for all platforms. What do you think? |
@matteblair I thought about it but in this case ifdefs will just move to another place. I was considering using msys convention like /c/user/name/Downloads/somefile.txt. I'll need for this to work to modify all places that use URLs to access local files. Curewntly I am aware about urlCLient.cpp, but there can be others. |
I think latest commit is minimal changes we need to support Windows platform.
|
I decided against including windows specific tests as they are very little reassurance, |
@matteblair Is new approach good? Can we proceed? |
This seems good enough for now! I will think on this more and propose any changes I come up with in a new PR. One last thing before I merge this - is there a reason for increasing the width of the |
Reason is multiple warning related to slicing size_t to uint16_t. There were too many of them and using size_t was simplest way to avoid them. |
* Added support for windows paths * Minimal changes for Windows path support
No description provided.