Re: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-11-22 Thread Evgeny Kotkov
Evgeny Kotkov writes: > Daniel Shahaf writes: > >>> + * >>> + * Any temporary allocations may be performed in @a scratch_pool. >> >> Need to add an @since tag here. > > [...] > >>> + */ >>> + svn_error_t *(*apply_textdelta_stream)( >> >> Could you update the docstring of svn_delta_editor_

Re: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-09-05 Thread Daniel Shahaf
> > - * @note Don't try to allocate one of these yourself. Instead, always > > - * use svn_delta_default_editor() or some other constructor, to ensure > > - * that unused slots are filled in with no-op functions. > > + * @note Fields may be added to the end of this structure in future > > + * vers

Re: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-09-05 Thread Evgeny Kotkov
Daniel Shahaf writes: >> Also, I am not against the idea of tweaking the note by saying something >> like "...because we may add new fields in the future", but I don't think >> that it is required either. (In other words, I am +0 to that.) > > Done in r1807028. I think that although r1807028 pr

Re: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-09-02 Thread James McCoy
On Sat, Sep 02, 2017 at 08:18:00AM +, Daniel Shahaf wrote: > [replying to multiple] > > James McCoy wrote on Fri, Sep 01, 2017 at 08:15:05 -0400: > > On Fri, Sep 01, 2017 at 03:07:16AM +, Daniel Shahaf wrote: > > > I'm not sure I'm getting through here. > > > > > > The note does say "Don'

Re: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-09-02 Thread Daniel Shahaf
Daniel Shahaf wrote on Sat, Sep 02, 2017 at 08:18:00 +: > However, I find the docstring ambiguous and you do not. .oO ( Doesn't this _ipso facto_ mean the docstring is ambiguous? )

Re: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-09-02 Thread Daniel Shahaf
[replying to multiple] James McCoy wrote on Fri, Sep 01, 2017 at 08:15:05 -0400: > On Fri, Sep 01, 2017 at 03:07:16AM +, Daniel Shahaf wrote: > > I'm not sure I'm getting through here. > > > > The note does say "Don't allocate one of these yourself" but in the > > second sentence implies that

Re: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-09-01 Thread Evgeny Kotkov
Daniel Shahaf writes: > I'm not sure I'm getting through here. > > The note does say "Don't allocate one of these yourself" but in the > second sentence implies that the reason for this is that if you allocate > it yourself and don't initialize all pointer-to-function members, > Trouble will ensu

Re: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-09-01 Thread Stefan Hett
On 9/1/2017 5:07 AM, Daniel Shahaf wrote: Evgeny Kotkov wrote on Thu, 31 Aug 2017 19:05 +0300: Daniel Shahaf writes: Is adding this function an ABI-compatible change? The docstring of svn_delta_editor_t does say """ * @note Don't try to allocate one of these yourself. Instead, always *

Re: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-09-01 Thread James McCoy
On Fri, Sep 01, 2017 at 03:07:16AM +, Daniel Shahaf wrote: > Evgeny Kotkov wrote on Thu, 31 Aug 2017 19:05 +0300: > > Daniel Shahaf writes: > > > Is adding this function an ABI-compatible change? The docstring of > > > svn_delta_editor_t does say """ > > > > > > * @note Don't try to allocate

Re: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-08-31 Thread Daniel Shahaf
Evgeny Kotkov wrote on Thu, 31 Aug 2017 19:05 +0300: > Daniel Shahaf writes: > > Is adding this function an ABI-compatible change? The docstring of > > svn_delta_editor_t does say """ > > > > * @note Don't try to allocate one of these yourself. Instead, always > > * use svn_delta_default_edito

Re: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-08-31 Thread Evgeny Kotkov
Daniel Shahaf writes: >> + * >> + * Any temporary allocations may be performed in @a scratch_pool. > > Need to add an @since tag here. [...] >> + */ >> + svn_error_t *(*apply_textdelta_stream)( > > Could you update the docstring of svn_delta_editor_t itself to mention this > new callback

Re: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-08-30 Thread Daniel Shahaf
Bert Huijben wrote on Wed, 30 Aug 2017 12:24 +0200: > I think this just documents current behavior. Yes a 1.9+ client > against a 1.9+ server will always have a checksum, but this is not the > case when mixing older clients and servers. > > Original serf versions (form before we declared this stabl

RE: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-08-30 Thread Bert Huijben
> -Original Message- > From: Daniel Shahaf [mailto:d...@daniel.shahaf.name] > Sent: woensdag 30 augustus 2017 07:07 > To: kot...@apache.org > Cc: dev@subversion.apache.org; comm...@subversion.apache.org > Subject: Re: svn commit: r1803143 - in /subversion/trunk/sub

Re: svn commit: r1803143 - in /subversion/trunk/subversion: include/ libsvn_delta/ libsvn_ra_serf/ mod_dav_svn/

2017-08-29 Thread Daniel Shahaf
Good morning Evgeny, kot...@apache.org wrote on Thu, 27 Jul 2017 09:00 +: > +++ subversion/trunk/subversion/include/svn_delta.h Thu Jul 27 09:00:43 2017 > @@ -678,6 +690,9 @@ svn_txdelta_skip_svndiff_window(apr_file > * @{ > */ > > +/* Forward declarations. */ > +typedef struct svn_delta