Forum: Ruby-Gnome 2 Should I hold off a large patch until glib2 1.0.4 has been released?

Posted by Nikolai Weibull (Guest)
on 2011-09-19 14:59
(Received via mailing list)
Hi!

Should I hold off a large patch to atk, gio2, glib2, gtk2, and pango
until glib2 1.0.4 has been released?

The patch fixes a lot of array conversions that may leak memory.
Posted by Kouhei Sutou (Guest)
on 2011-09-19 15:19
(Received via mailing list)
Hi,

In <CADdV=MtnFeAR5DbE9VQfu-MTMKcSF-6dqnrjEkZU5XgTiynQ_w@mail.gmail.com>
  "[ruby-gnome2-devel-en] Should I hold off a large patch until glib2 
1.0.4 has been released?" on Mon, 19 Sep 2011 14:58:50 +0200,
  Nikolai Weibull <now@bitwi.se> wrote:

> Should I hold off a large patch to atk, gio2, glib2, gtk2, and pango
> until glib2 1.0.4 has been released?
>
> The patch fixes a lot of array conversions that may leak memory.

You can commit the patch if any more critical bug reports
for 1.0.3 in this week. But could you split your large patch
to small patches (because I can't review a large patch...)
and write user visible changes to NEWS file (because I
don't want to need many works for collecting changes at the
release time...)?

Thanks,
--
kou
Posted by Nikolai Weibull (Guest)
on 2011-09-19 15:44
Attachment: rarray_len.patch (126 KB)
(Received via mailing list)
On Mon, Sep 19, 2011 at 15:18, Kouhei Sutou <kou@cozmixng.org> wrote:

>  Nikolai Weibull <now@bitwi.se> wrote:

>> Should I hold off a large patch to atk, gio2, glib2, gtk2, and pango
>> until glib2 1.0.4 has been released?
>>
>> The patch fixes a lot of array conversions that may leak memory.

> You can commit the patch if any more critical bug reports
> for 1.0.3 in this week.

Sorry, but I don’t understand what you mean.

> But could you split your large patch
> to small patches (because I can't review a large patch...)

Well, it’s kind of hard to do so, especially with Subversion.
I could split it across the various sub-projects, I suppose (atk, glib2, 
…).

I’ll attach the patch and you can decide if/how I should apply it.

> and write user visible changes to NEWS file (because I
> don't want to need many works for collecting changes at the
> release time...)?

OK, I’ll mention the new macros (not yet included in the attached 
patch).

Please note that there are more of these problems in many of the
libraries.  I need to go through all g_new and ALLOC_N calls as well.
Posted by Kouhei Sutou (Guest)
on 2011-09-19 15:59
(Received via mailing list)
Hi,

In <CADdV=MuOVBHNO++3j+ckPMYgoNkogfu8aST5RDZpmEmgyxbgSw@mail.gmail.com>
  "Re: [ruby-gnome2-devel-en] Should I hold off a large patch until 
glib2 1.0.4 has been released?" on Mon, 19 Sep 2011 15:44:20 +0200,
  Nikolai Weibull <now@bitwi.se> wrote:

>> You can commit the patch if any more critical bug reports
>> for 1.0.3 in this week.
>
> Sorry, but I don$B!G(Bt understand what you mean.

Ah... Sorry for my too broken English...

Here is corrected version:
  You can commit the patch if anyone doesn't submit a critical
  bug report for 1.0.3 in this week.

>> But could you split your large patch
>> to small patches (because I can't review a large patch...)
>
> Well, it$B!G(Bs kind of hard to do so, especially with Subversion.
> I could split it across the various sub-projects, I suppose (atk, glib2, 
$B!D(B).
>
> I$B!G(Bll attach the patch and you can decide if/how I should apply it.

Oh... It's too large...
Please split it across the sub-projects.

>> and write user visible changes to NEWS file (because I
>> don't want to need many works for collecting changes at the
>> release time...)?
>
> OK, I$B!G(Bll mention the new macros (not yet included in the attached patch).

Thanks!

> Please note that there are more of these problems in many of the
> libraries.  I need to go through all g_new and ALLOC_N calls as well.

OK.

--
kou
Posted by Nikolai Weibull (Guest)
on 2011-09-19 16:44
(Received via mailing list)
2011/9/19 Kouhei Sutou <kou@cozmixng.org>:

>  Nikolai Weibull <now@bitwi.se> wrote:
>
>>> You can commit the patch if any more critical bug reports
>>> for 1.0.3 in this week.
>>
>> Sorry, but I don’t understand what you mean.

> Ah... Sorry for my too broken English...

No problem.  Your English is generally very good.

> Here is corrected version:
>  You can commit the patch if anyone doesn't submit a critical
>  bug report for 1.0.3 in this week.

So we’re basically at a code freeze now?

Can I thus begin moving the repository to GitHub?  That way I can
create a branch there and you can merge it when you see fit.

> Oh... It's too large...
> Please split it across the sub-projects.

Will do.  I’ll try splitting it into smaller chunks than that, but
I’ll do it against the GitHub repository instead, so I’ll put off
doing this until then.
Posted by Marc Heiler (shevegen)
on 2011-09-22 20:31
> Sorry for my too broken English.

Your english is good kou!

We understand it 98.5% all the time. And that's enough. :)
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.