Fixes for 3.0.2 without losing support for legacy platforms

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
palacs
Knows some wx things
Knows some wx things
Posts: 45
Joined: Mon May 30, 2016 11:11 am

Fixes for 3.0.2 without losing support for legacy platforms

Post by palacs » Thu Dec 15, 2016 1:53 pm

Hi there,

Assume I want to develop for Windows 98. My only choice is the 3.0.1 release which still supports MSVC 2005 (and thus Windows 98). However, there is a newer release 3.1.0 which supposedly contains all the bugfixes since 3.0.2 but breaks the backward compatibility for legacy systems like Windows 98.

My question is that how could I obtain only bugfixes for the release 3.0.2 and keep the compatibility? I don't need new features, only bugfixes.

Best

catalin
Moderator
Moderator
Posts: 1526
Joined: Wed Nov 12, 2008 7:23 am
Location: Romania

Re: Fixes for 3.0.2 without losing support for legacy platforms

Post by catalin » Thu Dec 15, 2016 2:25 pm

You follow the commits applied to 3.1.0 and backport them to 3.0.2.
But by all means, that is an unrealistic goal. There have been discussions among wxW developers about certain fixes that were too difficult to justify the effort of backporting. It will be even more difficult for a wxW user, don't you think?

User avatar
doublemax
Moderator
Moderator
Posts: 14198
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Fixes for 3.0.2 without losing support for legacy platforms

Post by doublemax » Thu Dec 15, 2016 3:09 pm

So few things are backported from 3.1.x to the 3.0.3 branch, that i don't think it's worth the hassle. But I guess there should be a separate branch for 3.0.3 anywhere on GIT.
Use the source, Luke!

catalin
Moderator
Moderator
Posts: 1526
Joined: Wed Nov 12, 2008 7:23 am
Location: Romania

Re: Fixes for 3.0.2 without losing support for legacy platforms

Post by catalin » Thu Dec 15, 2016 3:47 pm

doublemax wrote:I guess there should be a separate branch for 3.0.3 anywhere on GIT.
Indeed, it should be WX_3_0_BRANCH

palacs
Knows some wx things
Knows some wx things
Posts: 45
Joined: Mon May 30, 2016 11:11 am

Re: Fixes for 3.0.2 without losing support for legacy platforms

Post by palacs » Thu Dec 15, 2016 7:02 pm

Is it guaranteed that if I write my application with wxWidgets from the 3.0.3 branch, it will run on older systems having the 3.0.2 version (e.g. older stable distros of Linux with frozen versions)?

I mean, is it true that the 3.0.3 branch will only receive fixes that will not change the API, just some internal behavior which was buggy?

catalin
Moderator
Moderator
Posts: 1526
Joined: Wed Nov 12, 2008 7:23 am
Location: Romania

Re: Fixes for 3.0.2 without losing support for legacy platforms

Post by catalin » Fri Dec 16, 2016 3:09 am

Yes it is.
3.0.3 will be ABI compatible with both 3.0.1 and 3.0.2.

See also Application Binary Compatibility (replace 2.6.x with 3.0.x in those examples).

palacs
Knows some wx things
Knows some wx things
Posts: 45
Joined: Mon May 30, 2016 11:11 am

Re: Fixes for 3.0.2 without losing support for legacy platforms

Post by palacs » Fri Dec 16, 2016 1:20 pm

How long an "oldstable" branch is expected to be supported in years, months, etc. ? (so how long will the 3.0.X branch receive maintenance fixes?)

User avatar
doublemax
Moderator
Moderator
Posts: 14198
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Fixes for 3.0.2 without losing support for legacy platforms

Post by doublemax » Fri Dec 16, 2016 1:44 pm

How long an "oldstable" branch is expected to be supported in years, months, etc. ? (so how long will the 3.0.X branch receive maintenance fixes?)
Theoretically until the next major version (3.2) comes out. But, as mentioned before, very few things are actually backported from the current development branch to the 3.0.x branch. The wxWidgets developer team is already small enough and nobody really likes to spend time on this, so usually only fixes for critical or embarrassing bugs are backported.
Use the source, Luke!

palacs
Knows some wx things
Knows some wx things
Posts: 45
Joined: Mon May 30, 2016 11:11 am

Re: Fixes for 3.0.2 without losing support for legacy platforms

Post by palacs » Fri Dec 16, 2016 2:09 pm

What do we mean by "embarassing" bugs? Crashes and security holes? And by non-embarassing?

User avatar
doublemax
Moderator
Moderator
Posts: 14198
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Fixes for 3.0.2 without losing support for legacy platforms

Post by doublemax » Fri Dec 16, 2016 3:05 pm

"non-embarrassing" are the ones you'd be interested in. "Embarrassing" are the ones that are not critical from a user's point of view, just embarrassing for the programmer who made them.
Use the source, Luke!

catalin
Moderator
Moderator
Posts: 1526
Joined: Wed Nov 12, 2008 7:23 am
Location: Romania

Re: Fixes for 3.0.2 without losing support for legacy platforms

Post by catalin » Fri Dec 16, 2016 3:10 pm

There are no guarantees on the support period of a branch, but usually at least until a minor version bump.
As far as I've seen, most of the simple fixes are backported too, as long as they do not require a lot of work, and as long as they do not break [binary] compatibility. For complicated fixes there has to be a really good reason to be backported by the maintainers.
There is no exact definition of what "simple", "complicated" would mean at a certain time, they should just help you see the bigger picture.

Just out of curiosity, what is that you found missing in 3.0.2, that is present in 3.1.1, and you absolutely cannot live without ?

palacs
Knows some wx things
Knows some wx things
Posts: 45
Joined: Mon May 30, 2016 11:11 am

Re: Fixes for 3.0.2 without losing support for legacy platforms

Post by palacs » Fri Dec 16, 2016 7:11 pm

catalin wrote:Just out of curiosity, what is that you found missing in 3.0.2, that is present in 3.1.1, and you absolutely cannot live without ?
Nothing. It's the opposite. I miss the support of legacy operating systems (like Windows 95/98) from 3.1. This is why I would like to stick with 3.0.X. Just wanted to make sure that it will have maintenance fixes for a while.

catalin
Moderator
Moderator
Posts: 1526
Joined: Wed Nov 12, 2008 7:23 am
Location: Romania

Re: Fixes for 3.0.2 without losing support for legacy platforms

Post by catalin » Fri Dec 16, 2016 7:17 pm

Well then, I think it's safe to say that it will have maintenance fixes for a while.

Post Reply