You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2007/10/05 02:58:23 UTC
[vote] apr 1.2.x win32 compatibility
I see there are only two conclusions based on Joe's veto, therefore vote
for one;
[ ] Revert to inheriting INVALID_HANDLE_VALUE on win32 for all unspecified
stdio streams (1.2.8 behavior, retaining all other inheritance bugfixes)
and for the lifespan of 1.2.x remain incompatible with Unix. (In 1.3.0
we still follow unix behavior of inheriting the parent's stdio streams
for unspecified channels).
[ ] "Tweak" our versioning rules to permit Windows users to continue to use
the incompatible behavior via a new APR_NO_FILE macro flag in APR 1.2.12
(this remains ABI-compatible since it's a macro).
Please vote, I will be closing the debate shortly to roll out 1.2.12 in the
very near future. Essentially option #1 says we can fix platform-incompatible
in a subversion release, option #2 says we don't attempt to solve platform
inconsistencies until the next minor release. Choose your preference.
Bill
Re: [vote] apr 1.2.x win32 compatibility
Posted by Ian Holsman <li...@holsman.net>.
"tweak"
William A. Rowe, Jr. wrote:
> William A. Rowe, Jr. wrote:
>
>> I see there are only two conclusions based on Joe's veto, therefore vote
>> for one;
>>
>> [ ] Revert to inheriting INVALID_HANDLE_VALUE on win32 for all unspecified
>> stdio streams (1.2.8 behavior, retaining all other inheritance bugfixes)
>> and for the lifespan of 1.2.x remain incompatible with Unix. (In 1.3.0
>> we still follow unix behavior of inheriting the parent's stdio streams
>> for unspecified channels).
>>
>> [ ] "Tweak" our versioning rules to permit Windows users to continue to use
>> the incompatible behavior via a new APR_NO_FILE macro flag in APR 1.2.12
>> (this remains ABI-compatible since it's a macro).
>>
>> Please vote, I will be closing the debate shortly to roll out 1.2.12 in the
>> very near future. Essentially option #1 says we can fix platform-incompatible
>> in a subversion release, option #2 says we don't attempt to solve platform
>> inconsistencies until the next minor release. Choose your preference.
>>
>
> Sorry - flip #1/#2 in the explanation above - Revert means we can't really
> solve a platform inconsistency until the minor release, while "Tweak" means
> we can introduce a platform specific option to preserve inconsistent behavior
> when it's needed by a small minority of our users, while addressing the larger
> incompatibility for the vast majority of APR applications.
>
>
>
Re: [vote] apr 1.2.x win32 compatibility
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
William A. Rowe, Jr. wrote:
> I see there are only two conclusions based on Joe's veto, therefore vote
> for one;
>
> [ ] Revert to inheriting INVALID_HANDLE_VALUE on win32 for all unspecified
> stdio streams (1.2.8 behavior, retaining all other inheritance bugfixes)
> and for the lifespan of 1.2.x remain incompatible with Unix. (In 1.3.0
> we still follow unix behavior of inheriting the parent's stdio streams
> for unspecified channels).
>
> [ ] "Tweak" our versioning rules to permit Windows users to continue to use
> the incompatible behavior via a new APR_NO_FILE macro flag in APR 1.2.12
> (this remains ABI-compatible since it's a macro).
>
> Please vote, I will be closing the debate shortly to roll out 1.2.12 in the
> very near future. Essentially option #1 says we can fix platform-incompatible
> in a subversion release, option #2 says we don't attempt to solve platform
> inconsistencies until the next minor release. Choose your preference.
Sorry - flip #1/#2 in the explanation above - Revert means we can't really
solve a platform inconsistency until the minor release, while "Tweak" means
we can introduce a platform specific option to preserve inconsistent behavior
when it's needed by a small minority of our users, while addressing the larger
incompatibility for the vast majority of APR applications.
Re: [vote] apr 1.2.x win32 compatibility
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Erik Huelsmann wrote:
> On 10/5/07, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
>>
>> I've reverted, vote withdrawn.
>>
>> End of 1.2 behavioral corrections, as least from me.
>
>> Eric, w.r.t. to your patch to httpd, keep it, as behavioral changes
>> to apr 1.2 appear to be out of the question. PLEASE consider committing
>> or submitting your patch to 1.3 to make default timeout behavior the same
>> for Win32 as for Unix.
>
> Doesn't this suggest APR needs a 1.3 release soon? I mean, if you
> can't fix it in a stable release line, you can always resort to doing
> a minor release to fix the problems, right?
Trouble is we've fought for binary compatibility over at the httpd project,
too, which gives us pause if we are contemplating bumping to a later version
of APR. At the minor bump of httpd, this is not an issue, but at a subversion
bump there are deeper considerations. E.g. a build would load just find if
confronted with apr 1.4 libs, but a build against 1.4 won't load against 1.3
or 1.2 at all.
Bill
Re: [vote] apr 1.2.x win32 compatibility
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
> On 10/5/07, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
>
>> Eric, w.r.t. to your patch to httpd, keep it, as behavioral changes
>> to apr 1.2 appear to be out of the question. PLEASE consider committing
>> or submitting your patch to 1.3 to make default timeout behavior the same
>> for Win32 as for Unix.
And in fact this statement was primarily out of frustration with short-
sightedness. In fact, if you do patch to adjust the default timeout,
we have the API already that the user can (and probably already does)
explicitly override the default. So if you would bounce your suggested
patch off of us, I'll be happy to review it to be certain that the user
can recover the previous win32 behavior with the usual API.
I think that's possible with your desired timeout change.
Bill
Re: [vote] apr 1.2.x win32 compatibility
Posted by Lucian Adrian Grijincu <lu...@gmail.com>.
On 10/5/07, Erik Huelsmann <eh...@gmail.com> wrote:
> On 10/5/07, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
> > Paul Querna wrote:
> > > Revert. New Macros are new APIs, and must wait for 1.3.x.
> >
> > Ok, as people are totally missing the point, that I was calling a vote
> > for a modest versioning rules change that was in the spirit of both the
> > versioning rules and of the portability principal...
> >
> > I've reverted, vote withdrawn.
> >
> > End of 1.2 behavioral corrections, as least from me.
>
> > Eric, w.r.t. to your patch to httpd, keep it, as behavioral changes
> > to apr 1.2 appear to be out of the question. PLEASE consider committing
> > or submitting your patch to 1.3 to make default timeout behavior the same
> > for Win32 as for Unix.
>
> Doesn't this suggest APR needs a 1.3 release soon? I mean, if you
> can't fix it in a stable release line, you can always resort to doing
> a minor release to fix the problems, right?
>
> bye,
>
> Erik.
>
I don't think it should be released "soon":
a) it will have to be supported for some time on.
b) while it's not released new APIs can be added/changed freely. After
the release there is a lock on new API. Releasing an incomplete 1.3
would mean a 1.4 should be released to supply any needed API, and so
on. This will lead to more versions that need to be supported. Etc.
--
Lucian.
Re: [vote] apr 1.2.x win32 compatibility
Posted by Erik Huelsmann <eh...@gmail.com>.
On 10/5/07, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
> Paul Querna wrote:
> > Revert. New Macros are new APIs, and must wait for 1.3.x.
>
> Ok, as people are totally missing the point, that I was calling a vote
> for a modest versioning rules change that was in the spirit of both the
> versioning rules and of the portability principal...
>
> I've reverted, vote withdrawn.
>
> End of 1.2 behavioral corrections, as least from me.
> Eric, w.r.t. to your patch to httpd, keep it, as behavioral changes
> to apr 1.2 appear to be out of the question. PLEASE consider committing
> or submitting your patch to 1.3 to make default timeout behavior the same
> for Win32 as for Unix.
Doesn't this suggest APR needs a 1.3 release soon? I mean, if you
can't fix it in a stable release line, you can always resort to doing
a minor release to fix the problems, right?
bye,
Erik.
Re: [vote] apr 1.2.x win32 compatibility
Posted by Lucian Adrian Grijincu <lu...@gmail.com>.
On 10/5/07, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
> Paul Querna wrote:
> > Revert. New Macros are new APIs, and must wait for 1.3.x.
>
> Ok, as people are totally missing the point, that I was calling a vote
> for a modest versioning rules change that was in the spirit of both the
> versioning rules and of the portability principal...
>
> I've reverted, vote withdrawn.
>
> End of 1.2 behavioral corrections, as least from me.
There's something I don't think is well stated in
http://apr.apache.org/versioning.html
Describing PATCH version rules:
"To retain perfect source and binary compatibility, a patch release
can only change function implementations. Changes to the API, to the
signatures of public functions, or to the interpretation of function
parameters is not allowed. Effectively, these releases are pure bug
fix releases."
1. "Applications that write against a particular version will remain
source-compatible against *later versions* ".
This means that if we add a new #define identifier and keep it for the
rest of the patch releases we comply with the stated patch version
rule.
If we want to prohibit such cases this should be formulated as:
"Applications that write against a particular version will remain
source-compatible against *later minor versions, and later and older
patch versions*" or something like that but stated in clear English.
2. void apr_foo(apr_enum_x param)
If we keep the behavior of apr_foo intact with respect to the original
values of the apr_enum_x set, but also support a new value and give it
some specific behavior do we break the patch version rule, namely the
"[changing the] interpretation of function parameters is not allowed"
part?
This can be interpreted as:
a) only preserving behavior for the original set of values of apr_enum_x or
b) preserving behavior for the original set of values of apr_enum_x
and not adding support for any new value.
Which is the correct interpretation?
--
Lucian
Re: [vote] apr 1.2.x win32 compatibility
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Paul Querna wrote:
> Revert. New Macros are new APIs, and must wait for 1.3.x.
Ok, as people are totally missing the point, that I was calling a vote
for a modest versioning rules change that was in the spirit of both the
versioning rules and of the portability principal...
I've reverted, vote withdrawn.
End of 1.2 behavioral corrections, as least from me.
Eric, w.r.t. to your patch to httpd, keep it, as behavioral changes
to apr 1.2 appear to be out of the question. PLEASE consider committing
or submitting your patch to 1.3 to make default timeout behavior the same
for Win32 as for Unix.
Re: [vote] apr 1.2.x win32 compatibility
Posted by Paul Querna <ch...@force-elite.com>.
Revert. New Macros are new APIs, and must wait for 1.3.x.
-Paul
William A. Rowe, Jr. wrote:
> I see there are only two conclusions based on Joe's veto, therefore vote
> for one;
>
> [ ] Revert to inheriting INVALID_HANDLE_VALUE on win32 for all unspecified
> stdio streams (1.2.8 behavior, retaining all other inheritance bugfixes)
> and for the lifespan of 1.2.x remain incompatible with Unix. (In 1.3.0
> we still follow unix behavior of inheriting the parent's stdio streams
> for unspecified channels).
>
> [ ] "Tweak" our versioning rules to permit Windows users to continue to use
> the incompatible behavior via a new APR_NO_FILE macro flag in APR 1.2.12
> (this remains ABI-compatible since it's a macro).
>
> Please vote, I will be closing the debate shortly to roll out 1.2.12 in the
> very near future. Essentially option #1 says we can fix platform-incompatible
> in a subversion release, option #2 says we don't attempt to solve platform
> inconsistencies until the next minor release. Choose your preference.
>
> Bill