Skip to content

[v2]: drop support for old operating systems - #966

Merged
saghul merged 5 commits into
libuv:masterfrom
saghul:modernize
Aug 4, 2016
Merged

saghul merged 5 commits into
libuv:masterfrom
saghul:modernize

Conversation

@saghul

@saghul saghul commented Aug 3, 2016

Copy link
Copy Markdown
Member

Time has come. I've come here to delete code and chew bubblegum. And I'm all out of bubblegum.

🔥 🔥 🔥 Windows XP 🔥 🔥 🔥

/cc @libuv/collaborators

I haven't tried to compile this yet, it's possible some includes are missing now that we call many functions directly instead of the dynamically loaded ones.

More improvements might be possible on Windows now that we drop the XP baggage, for example using CancelIoEx, but that's a story for another patch.

I also dropped support for MSVC < 2015, everyone just get with the program already.

@saghul saghul added this to the v2.0.0 milestone Aug 3, 2016
@saghul saghul added the v2 label Aug 3, 2016
Comment thread src/win/thread.c Outdated

static void uv_cond_condvar_signal(uv_cond_t* cond) {
pWakeConditionVariable(&cond->cond_var);
/* nothing to do */

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you capitalize and punctuate the comment?

@bnoordhuis

Copy link
Copy Markdown
Member

LGTM with a comment. Also down with dropping support for pre-VS 2015.

One of the commits says "drop support for macOS < 10.9" but it looks like it's actually dropping support for < 10.7?

@saghul

saghul commented Aug 3, 2016

Copy link
Copy Markdown
Member Author

One of the commits says "drop support for macOS < 10.9" but it looks like it's actually dropping support for < 10.7?

See 2cfc286#diff-6a16903c26af4b4035eda9922a73ecc9L339

It will probably continue to compile, though with a warning. Same for 10.7, it would compile and run, but a test or 2 will fail. It's kinda more of a statement. I'll also update the README to reflect that.

@cjihrig

cjihrig commented Aug 3, 2016

Copy link
Copy Markdown
Contributor

Nice! LGTM

@indutny

indutny commented Aug 3, 2016

Copy link
Copy Markdown
Member

LGTM if it works :)

@saghul
saghul force-pushed the modernize branch 2 times, most recently from a1b0cc1 to 4ba76a5 Compare August 4, 2016 10:45
saghul added 5 commits August 4, 2016 12:01
PR-URL: libuv#966
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Fedor Indutny <[email protected]>
It's now present on all supported macOS and iOS versions.

PR-URL: libuv#966
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Fedor Indutny <[email protected]>
PR-URL: libuv#966
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Fedor Indutny <[email protected]>
PR-URL: libuv#966
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Fedor Indutny <[email protected]>
PR-URL: libuv#966
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Fedor Indutny <[email protected]>
@saghul

saghul commented Aug 4, 2016

Copy link
Copy Markdown
Member Author

@saghul
saghul merged commit 3f21dd6 into libuv:master Aug 4, 2016
@saghul
saghul deleted the modernize branch August 4, 2016 11:12
@saghul

saghul commented Aug 4, 2016

Copy link
Copy Markdown
Member Author

CI is 💚 for the relevant platforms. Game on!

@saghul

saghul commented Aug 4, 2016

Copy link
Copy Markdown
Member Author

Btw, @piscisaureus if you have suggestions on things we could do better now that XP/2k3 support is not a concern, please let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants